Skip to main content
Glama

x402_check_balance

Check wallet balance for x402 payments, showing USDs (or USDC) and native token balance.

Instructions

Check wallet balance for x402 payments. Shows USDs (or USDC) and native token balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain to check balance on (defaults to configured chain)
addressNoAddress to check (defaults to configured wallet)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the read-only nature (implicit) and what balances are returned, but it does not mention default address/chain behavior (though schema covers this), error conditions, or any operational caveats. Adequate but minimal for a simple balance check.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description consists of two concise sentences that are front-loaded with the core purpose and then specify the output. Every word adds value; there is no redundancy or filler.

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?

For a tool with 2 optional parameters, fully described in the schema, and no output schema, the description sufficiently explains what the tool returns. It lacks an explicit distinction from the sibling x402_balance but is otherwise complete for its simplicity.

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%, so the baseline is 3. The description adds no additional information about parameters, relying entirely on the schema's chain enum and address pattern descriptions. No further detail is necessary.

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 clearly states the tool checks wallet balance for x402 payments and specifies what it shows (USDs or USDC and native token balance). It distinguishes from generic balance tools by scoping to x402, but does not differentiate from the sibling tool x402_balance, which may be similar.

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 use for x402 payment balance checks and gives context about the output, but it doesn't explicitly state when to use this tool over alternatives or when not to use it. No exclusions or alternative tool references are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/universal-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server