Skip to main content
Glama

Taskmarket Onchain API

wallet_balance

Read a wallet's decoded balance (native, USDC, or any ERC-20) pinned to a block number, with explorer evidence. Paid: $0.01 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
chainNoWhich public chain to read from.base
tokenNo"USDC" (default), "native", or a 0x ERC-20 address.
addressYes0x-prefixed 20-byte address to read.
tokenDecimalsNoOptional fallback decimals when a custom token's decimals() is unreadable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With zero annotations the description carries the full burden, and it does disclose two real behavioral traits: the paid x402 model with a concrete price, and that results come with explorer evidence. However it omits failure behavior (unreadable decimals, unsupported token), any latency or rate-limit context, and the advertised block-pinning is not reflected in any parameter, leaving the actual snapshot semantics unclear.

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, front-loaded with the operation and followed by the payment constraint, with no filler. The only inefficiency is the "pinned to a block number" clause, which promises a capability the schema does not expose and thus spends words on a misleading detail.

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 four-parameter read tool with no output schema and no annotations, the description covers the essentials of what is read and what it costs, which is reasonable. It falls short on return shape (what "explorer evidence" comprises) and on the undocumented block-pinning behavior, which an agent would need in order to interpret determinism of results.

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 regardless. The description restates the token choices already documented in the `token` schema field and adds nothing about `chain` values or the `tokenDecimals` fallback path, so it does not materially extend parameter meaning.

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 pairs a specific verb ("Read") with a precise resource ("a wallet's decoded balance") and enumerates the token scope (native, USDC, any ERC-20). That is enough to distinguish it from siblings like address_activity and tx_status, though it never names them explicitly and adds a confusing "pinned to a block number" claim that has no corresponding parameter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to prefer this over address_activity or verify_receipt, no prerequisites, and no exclusions. The only usage-relevant information is the cost line ($0.01 USDC on Base via x402), which tells the agent a payment is involved but not when the tool is the right choice.

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.