Skip to main content
Glama

Usage Balance

get_usage_balance
Read-onlyIdempotent

Free. The connected account's plan (free or paid), credits left, when the daily free credits reset, billing status, what each tool costs, and the destinations covered.

Examples:

  • "How many Travel Intelligence credits do I have left?"

  • "Which cities does Travel Intelligence cover?"

  • "Am I on the paid plan?"

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so safety is covered. The description adds value beyond them by stating 'Free' (no credit or cost incurred by calling) and by disclosing the returned content set, including per-tool costs and destination coverage. It does not discuss caching, rate limits, or staleness of balance data, which keeps it below 5.

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 content list is dense and front-loaded, and the examples each demonstrate a distinct use case rather than restating one another. The lone 'Free.' lead is a slightly cryptic opener that could be folded into a proper sentence, but the overall length is appropriate for the information conveyed.

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?

With no parameters and no output schema, the description carries responsibility for describing the response, and it does so by enumerating the six pieces of information returned. That is sufficient for an agent to decide whether a call will answer a given question. Minor gap: no indication of response shape or units for credits and costs.

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, so there is nothing for the description to disambiguate against the empty schema. The baseline of 4 applies here, as the description reasonably covers what the no-argument call returns.

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 enumerates the specific resources returned: plan tier, remaining credits, daily reset timing, billing status, per-tool costs, and destination coverage. This is clearly distinguishable from siblings like compare_hotels and validate_itinerary. It loses a point because it opens with a fragment ('Free.') rather than a verb stating the retrieval action.

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

Usage Guidelines4/5

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

The three example questions ('How many credits do I have left?', 'Which cities does Travel Intelligence cover?', 'Am I on the paid plan?') effectively signal when to reach for this tool. There are no explicit exclusions or named alternatives, but with a zero-parameter account-info tool the trigger conditions are clear enough.

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