Skip to main content
Glama

Agent Data Tools: Chain data

polygon_balance

Native POL balance of any address on Polygon PoS, in wei and in POL, read live from the chain at the latest block. Use to check whether a wallet is funded before sending, paying gas or settling. Costs $0.001 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes0x wallet or contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds substantial behavior the annotations do not convey: the value is read live at the latest block (freshness), is returned in both wei and POL (units), and carries a $0.001 USDC-on-Base x402 charge per successful call. It also implicitly reconciles the surprising readOnlyHint=false by disclosing that the call spends money, though it never states that explicitly or covers payment/auth failure behavior.

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?

Three tight sentences: what it returns and from where first, then the use case, then the cost. Every clause earns its place and nothing is repeated from the schema or annotations.

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

Completeness5/5

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

For a single-parameter read tool with no output schema, the description covers return format (wei and POL), data freshness (latest block), the reason to call it, and the non-obvious cost/payment mechanism. Nothing an agent needs in order to decide and invoke correctly is missing.

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% and the single 'address' parameter already documents '0x wallet or contract address', so the schema carries the parameter burden. The description adds only the 'any address' framing and implied chain scoping, which is the baseline 3 when structured data is complete.

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 (read) and resource (native POL balance) scoped precisely to one address on Polygon PoS, and the qualifier 'Native POL' implicitly separates it from polygon_token-balance and from the eth_/base_/arb_/op_balance siblings on other chains. An agent can identify the exact tool without opening any 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?

It names concrete triggering situations ('check whether a wallet is funded before sending, paying gas or settling'), which is clear context for when to reach for it. It stops short of any when-not statement or explicit pointer to a sibling (e.g. for ERC-20 balances use polygon_token-balance), so it lands at 4 rather than 5.

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.

Resources