Skip to main content
Glama

Credit balance (deprecated)

credits_balance
Read-onlyIdempotent

Deprecated: use billing_status (also shows plan and free allowance). Removal planned for 0.9.x.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "credits_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the safety profile is covered. The description adds lifecycle context (deprecation, planned removal) that annotations do not carry, but says nothing about the response contents or what 'credits' means, so it clears the lowered bar without adding rich detail.

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?

A single sentence, front-loaded with the deprecation flag and followed by the actionable redirect and timeline. No filler, and the most consequential information comes first.

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 no-parameter, read-only tool with full annotations, the definition covers what an agent must decide (whether to call it at all) and steers to the successor. The only mild gap is not stating what the balance response contains, which matters little given the tool is being removed.

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 takes zero parameters and the schema is closed (additionalProperties false), so there is no parameter meaning to explain. Baseline applies; the deprecation note is the only relevant invocation context and it is present.

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 identifies the tool as the credit-balance endpoint and immediately frames it as deprecated, with the replacement named. The purpose is inferable and the sibling relationship is stated explicitly, though the description never says in its own words what value the call returns (it leans on the title and replacement's capabilities).

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

Usage Guidelines5/5

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

Explicit when-not guidance: do not use this, use billing_status instead, with the concrete reason (also shows plan and free allowance) plus a removal horizon (0.9.x). An agent has everything it needs to route away from this tool without opening a schema.

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.