Skip to main content
Glama

Physical Capability Cloud

get_token_balance

Read-only

Read an ERC-20 token balance for an account address from the blockchain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesAccount address to check balance for (0x...)
tokenAddressYesERC-20 token contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds only the 'from the blockchain' qualifier, which hints that this is a live on-chain read, but discloses nothing about rate limits, chain selection, or failure modes. With annotations doing the heavy lifting, a 3 is appropriate.

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?

A single front-loaded sentence with no filler; the verb and resource appear immediately. It is efficient but very sparse, leaving no room for the routing or return-format context the tool would benefit from.

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 simple read-only, two-parameter tool with full schema coverage and existing safety annotations, the description is adequate to invoke correctly. However, with no output schema, it should clarify the return value — ERC-20 balances are returned as integers in the token's smallest unit and chain-agnostic decimals matter — and that gap is left unexplained.

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 description coverage is 100%, with both tokenAddress and account documented as 0x-prefixed addresses, so the baseline is 3. The description adds no format or constraint details beyond what the schema already states.

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 states a specific verb ('Read'), resource ('ERC-20 token balance'), and scope ('for an account address from the blockchain'), so an agent immediately knows what it returns. It does not, however, name or contrast itself with the obvious sibling get_token_allowance, so sibling differentiation is left to inference.

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?

Usage is only implied by the phrase 'for an account address'; there is no statement of when to reach for this tool versus get_token_allowance or any other balance/allowance source. No prerequisites (e.g. chain selection, RPC availability) are mentioned.

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.