Skip to main content
Glama

billing.balance

Read-only

The caller's credit balance and plan state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNo
balanceYesCredits available right now.
user_idNo
currencyNo
spent_totalNoCredits ever spent on runs.
granted_totalNoCredits ever granted (welcome + top-ups).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds context by indicating what state is being exposed (credit balance and plan state), but it does not disclose additional behavior such as whether the balance is cached, requires authentication, or has rate limits. This is acceptable for a simple zero-parameter read-only tool, but no extra behavioral detail is provided.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, short noun phrase with no wasted words: 'The caller's credit balance and plan state.' It is appropriately concise for a stateless read-only query, though it is slightly fragment-like rather than a full actionable sentence. Still, it earns its place by specifying the resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only tool with an output schema and annotations covering safety, the description is largely complete. It tells the agent what data is available (credit balance and plan state). The only notable gap is the lack of usage guidance, but that is already reflected in the usage_guidelines score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and the schema is empty with 100% schema description coverage, so there are no parameter semantics to document. Per the rubric, a zero-parameter tool receives a baseline of 4. The description does not add parameter meaning, but none is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource: the caller's credit balance and plan state. It lacks an explicit verb like 'get' or 'retrieve', but combined with the readOnlyHint annotation, the purpose is clear enough. It does not explicitly differentiate itself from billing.topup_terms, though the resource naming is reasonably specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any preconditions, typical scenarios, or cases where another sibling tool like billing.topup_terms should be used instead. The usage context is only implied by the tool name and description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources