Account usage
account_usageShows the credit balance and in-flight spend for the API key's account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
account_usageShows the credit balance and in-flight spend for the API key's account.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint=true annotation already establishes the safety profile, so the description needn't restate that it is a read. It adds useful scope detail by naming the two data points returned (credit balance, in-flight spend), but says nothing about freshness of the balance, whether it reflects committed vs. pending usage, or any rate limiting on the endpoint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence that names the actor (API key's account) and the returned values without any filler. Nothing could be trimmed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple zero-parameter read tool with annotations covering the safety profile and no output schema, the description supplies what an agent needs: what it returns and whose account it applies to. It is only marginally incomplete in not clarifying units/currency or whether the balance is free-tier vs. paid.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so per the rubric the baseline is 4. The description correctly implies no inputs are needed (account is derived from the API key), and there is nothing further for it to document.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Shows') and a precise set of resources ('credit balance and in-flight spend') scoped to 'the API key's account'. The sibling tools (generate_thumbnails, get_generation, list_models) are functionally unrelated, so distinguishing from them is trivial, but the description itself is unambiguous about what is returned.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to call this tool, how often, or under what conditions (e.g., before planning a batch of generations, or when a request fails due to exhausted credits). Usage is only implicitly inferable from the tool name and purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.