Skip to main content
Glama

payment-balance

Check an existing account's API-credit balance through the saved-Stripe-method top-up service. This is not x402.

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": "payment-balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
billingKeyNoSeparately scoped Agent Billing Key; optional when the MCP request uses a compatible credential

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, yet the description frames the operation purely as "Check ... balance" and never explains what the non-read-only side effect is (e.g., contacting Stripe or materializing a billing record). It also gives no auth or rate-limit context beyond the schema's mention of a billing key. The phrase "through the saved-Stripe-method top-up service" hints at the mechanism, so it is not a flat contradiction, but the gap between a passive-sounding "check" and a non-read-only annotation is left for the agent to guess.

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 short sentences with the core operation front-loaded and no filler; the exclusion is placed immediately after. "Through the saved-Stripe-method top-up service" is slightly presumptive jargon that assumes the reader already knows that service, but it is not wasted space.

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

Completeness3/5

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

For a single-optional-parameter tool with annotations present this is close to adequate, but there is no output schema and the description never says what a balance result looks like (units, currency of credits, or failure modes). Given that a caller must interpret the returned balance, the description should carry that information.

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 coverage is 100% and the single optional billingKey is fully documented in the schema, including when it can be omitted. The description adds no further meaning about the billing key or how it interacts with the request credential, so baseline 3 applies.

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?

States a specific verb and resource ("Check an existing account's API-credit balance") and explicitly distinguishes itself from the sibling it is not ("This is not x402"). An agent can route between payment-balance and x402-credit-balance without opening either 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?

Provides a clear positive context (existing account, saved-Stripe-method accounts) plus one explicit exclusion ("not x402"). It does not address the other nearby siblings such as payment-config or payment-purchase, so guidance is clear but not exhaustive.

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.