Skip to main content
Glama

Agent Data API

eth_erc20_allowance

ERC-20 allowance on Ethereum: how much a spender may transfer from an owner, whether the approval is effectively unlimited, the owner's balance, and the amount the spender could move right now. Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
ownerYesAddress that granted the approval
tokenYesERC-20 contract on Ethereum
spenderYesAddress allowed to spend

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden, and it does add useful context: it lists the returned data points and discloses that the call costs $0.005 USDC on Base via x402. It does not describe side effects, error behavior, or rate limits beyond the per-call price, but the read-only nature is strongly implied by the query framing.

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 is two compact sentences with no wasted wording. The core purpose and return values are front-loaded, and the cost/payment detail is kept brief and separate.

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?

With no output schema, the description usefully enumerates the key return values and notes the payment mechanism. For a simple three-parameter read query, this is largely complete, though it could be stronger with explicit read-only confirmation or error/ failure conditions.

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 schema already defines owner, token, and spender with address patterns. The description names the concepts but adds no format, constraints, or interpretation beyond what the schema provides, so the baseline of 3 is appropriate.

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?

The description states a precise verb+resource combination: 'ERC-20 allowance on Ethereum.' It also enumerates exactly what the tool returns (allowance, unlimited-approval flag, owner balance, spendable amount), and the 'on Ethereum' qualifier distinguishes it from sibling chain-specific allowance tools such as arbitrum_erc20_allowance and base_erc20_allowance.

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 implied by the scope 'ERC-20 allowance on Ethereum,' and the Ethereum qualifier helps route between sibling chain tools. However, there is no explicit guidance on when to use this versus related tools like eth_token_snapshot or eth_wallet_balances, and no stated exclusions or prerequisites beyond the payment note.

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