Skip to main content
Glama

balance

Read-onlyIdempotent

Read the authenticated workspace available and reserved USD balance, workspace ID, and billing link/minimum top-up when hosted top-ups are enabled. Read-only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the closing 'Read-only' sentence repeats structured data and adds nothing. The description still adds useful context: the balance separates available from reserved funds, the scope is the authenticated workspace, and the billing link and minimum top-up appear only when hosted top-ups are enabled. The conditional presence of return fields is genuinely helpful because there is no output schema. However, it does not describe what appears when top-ups are disabled.

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 description is two sentences that front-load the return payload and end with the read-only confirmation. It is dense without being bloated, although 'Read-only' is redundant with the annotations and the 'billing link/minimum top-up' clause is slightly compressed. Overall it is still efficient.

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 zero parameters and no output schema, the description carries the full burden of explaining return values, and it does so by enumerating balance components, workspace ID, and conditional billing fields. Minor gaps remain: currency and unit details are only implied by 'USD', and the shape when hosted top-ups are disabled is unstated.

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?

This tool has no input parameters, so the 4 baseline applies. The description reinforces that the target workspace is implicit, because the tool acts on the authenticated workspace, which explains why no workspace parameter exists. It adds no parameter-level information beyond that.

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: read the authenticated workspace's available and reserved USD balance, workspace ID, and billing link/minimum top-up. That level of specificity distinguishes it from all sibling tools, such as analytics and estimate_cost. An agent can immediately tell that this tool reports the current account balance.

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?

The description implies usage by scoping the tool to the authenticated workspace and the hosted top-up condition, but it never states when to choose this tool over estimate_cost or other siblings. The distinction is implicit: this tool reads the actual balance, whereas the sibling estimates cost. No explicit exclusions appear.

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.