Skip to content

tool · start and account

Account tool reference

Shows credit balance, spending caps and what is left today, this connection's scope (organisation, project, role), projects, connected Google services, and links to top up or change settings. Costs 0 credits.

01 · overview

What it does

Shows credit balance, spending caps and what is left today, this connection's scope (organisation, project, role), projects, connected Google services, and links to top up or change settings. Costs 0 credits.

MCP tool name
`account`
Title
Account
Cost
0 credits
Behaviour
read-only, not destructive, safe to repeat, works on your own account data

02 · inputs

Inputs

FieldTypeRequiredWhat it is
section"balance" | "scope", default "balance"nobalance: credits and spending limits left. scope: organisation, project and role of this connection.

The full JSON schema is in the MCP tools/list response of https://mcp.serprankai.com/mcp and in the OpenAPI document.

03 · output

What it returns

Credit balance, spending limits and what is left today, or this connection's scope, plus links to top up or change settings in the dashboard. No top-up happens over MCP.

Every result comes in the same envelope: status, a short summary, the data, provenance (source, method, time observed), confidence, coverage, changes since the last run and suggested next calls. Calls slower than about 45 seconds return a job_id to check with the job tool.

04 · price

Price

Costs 0 credits.

05 · example

Example call

A typical call:

tools/call
{
  "name": "account",
  "arguments": {
    "section": "balance"
  }
}

06 · errors

Errors and what to do

CodeMeaningWhat to do next
invalid_argumentAn argument is missing, has the wrong type or is out of range. data.error.detail.field names it.Fix the named argument and call again. Nothing was charged.
forbidden_scopeThis connection is limited to another project, or the user has no access to this project.Use the project this connection belongs to, or ask the user to connect with an account that has access.
not_foundThe project, job, schedule or result does not exist or is not visible to this connection.Check the id. List projects or jobs with the account or job tool first.
rate_limitedToo many calls in a short time from this account or connection.Wait for the Retry-After seconds, then call again.
internal_errorSomething failed on our side. Any hold was released, so nothing was charged.Call again once. If it fails again, tell the user and include result_id.