Skip to main content
Glama

Get balance

get_balance
Read-only

This AstroProcessor account's plan (plan), its credit balance (credits) and, in connector, the price in credits of the next message through this app (messagePrice, 0 while messages are free), whether messages are unlimited (unlimited), the Free plan's free messages left (freeMessages) and how many messages the balance covers (messagesAffordable). Not metered and charges nothing; it counts only toward the account's per-minute and per-hour call limits. Free to call at any time, for example to check that the connection works.

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_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/destructive/openWorld annotations, the description discloses that the call is 'not metered and charges nothing' but still counts toward per-minute and per-hour call limits — the exact information an agent needs to decide whether polling is safe. It also flags context-dependent field behavior (`messagePrice` is 0 while messages are free). This is meaningful disclosure that annotations alone cannot convey.

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?

Two sentences, no filler, and the cost/rate-limit caveat comes early enough to guide decisions. The first sentence is dense — a long chain of parenthetical field glosses — which makes it slightly harder to scan than it could be, but every clause carries real information.

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

Completeness5/5

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

There is no output schema, so the description carries the full burden of explaining return values, and it does so field by field, including the nested `connector` object. Combined with the cost and rate-limit disclosure, an agent has everything needed to call this and interpret the result correctly.

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?

With zero input parameters the baseline is 4, and nothing here contradicts that. The description spends its words instead on return-value semantics, which is the right allocation for a no-argument tool.

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

Purpose5/5

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

The description names the specific resource and enumerates exactly what is returned: the plan, the credit balance, and a `connector` block carrying `messagePrice`, `unlimited`, `freeMessages`, and `messagesAffordable`. This is clearly distinct from every sibling (chart, transit, synastry and city tools), so an agent can select it without opening the schema.

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?

It gives an explicit usage condition — 'Free to call at any time, for example to check that the connection works' — which tells the agent this is a safe, zero-cost probe. It does not name any when-not conditions or point at alternatives, but none of the sibling tools appears to overlap with balance retrieval, so the gap is small.

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