Skip to main content
Glama

Fable Drop

check balance

check_balance
Read-only

Remaining API credit for an api_key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "api_key": "<api_key>"
    },
    "name": "check_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. Beyond that the description adds nothing behavioral: no note on units or currency of the credit, no rate limit, no indication whether the key must be the caller's own or whether any key can be queried, and no error behavior for a revoked key.

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

Conciseness3/5

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

There is no wasted wording and the key concept is front-loaded, but the fragment has no verb and is terse to the point of under-specification. Brevity here costs clarity rather than buying it.

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

Completeness2/5

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

For a simple read tool with no output schema, the description should at least signal what the response contains (amount and unit) and how failure for an invalid key is surfaced. Neither is present, leaving the agent to call it blind about the return shape and error path.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for the single api_key parameter, but 'for an api_key' only echoes the parameter name. It does not say whether this is the caller's credential, whether it must be a valid active key, or whether unauthorized keys produce an error versus a zero balance.

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?

States the specific resource retrieved — remaining API credit — and ties it to an api_key, which is enough to distinguish it from the sibling tools that deal with claims, offers, quotes, payments, and refunds. It is a noun phrase rather than a verb+object, so the agent must infer the 'retrieve' action, but the meaning is unambiguous.

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?

No guidance on when to call this versus anything else, no prerequisites, and no mention of what a caller should do if the key is invalid or the balance is exhausted. The only implied usage is 'when you want to know the credit', which is a restatement of purpose rather than guidance.

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