Skip to main content
Glama

Check credit balance

convert_credits
Read-only

Show how many credits are left on a purchased key. Free.

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": "convert_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYesThe API key you received after paying.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context with 'Free' (no credit cost) and the requirement that the key be a purchased one. It does not mention behavior on invalid keys or rate limits, and with an output schema present it need not describe the return payload.

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

Conciseness5/5

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

Two short sentences, zero filler, with the purpose front-loaded ahead of the cost note. Nothing is redundant with the title or the schema.

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 one-parameter read-only balance check with annotations and an output schema, the definition covers what an agent needs to select and call it. The only omission is failure behavior for invalid or non-purchased keys, which is minor given the schema and annotations already in place.

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

Parameters3/5

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

Schema description coverage is 100% and the single api_key parameter is fully documented in the schema, so the baseline is 3. The description adds only the qualifier that the key is one 'received after paying', implying a prepaid/purchased key rather than an arbitrary token, which is marginal but useful refinement.

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 gives a specific verb and resource: 'Show how many credits are left on a purchased key.' This resolves the ambiguity of the name 'convert_credits', which alone could suggest a conversion operation. It implicitly separates the tool from convert_order (purchasing) and convert_collect_key (key retrieval), though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: 'on a purchased key' signals a prerequisite (the key must already be bought) and 'Free' signals that calling has no credit cost, which encourages frequent checks. There is no explicit statement of when to use this instead of convert_order or convert_collect_key, and no exclusion cases such as unpurchased or invalid keys.

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