Skip to main content
Glama

A-Pay Protocol

apay_get_balance

Inspect the agent's live on-chain balances on Base Layer 2, including native ETH (for gas), USDC, and $APAY tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoOptional target EVM address to inspect balances for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses chain (Base L2), token set, and that balances are 'live', which is useful context, but says nothing about permissions, rate limits, or what happens when the address is omitted (presumably the agent's own wallet).

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?

A single tight sentence with the resource and chain front-loaded and the covered assets enumerated. No filler, nothing redundant.

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 one-parameter read tool with no output schema this is mostly sufficient, and the token list hints at return contents. The gap is the interaction between 'the agent's balances' and the optional address override, which is left ambiguous.

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 parameter is documented there as an optional EVM address, so the baseline is 3. The description adds no syntax, format, or default-behavior detail 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?

States a specific verb (Inspect) and resource (agent's live on-chain balances on Base Layer 2) and enumerates the tokens covered (ETH, USDC, $APAY). However, it does not differentiate itself from the close sibling apay_get_wallet_status, leaving the agent to guess which one to call.

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: the parenthetical '(for gas)' hints at why one would check ETH, but there is no explicit when-to-use, no when-not-to-use, and no routing to or from apay_get_wallet_status. Adequate for an obvious read tool, but no real guidance.

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