Skip to main content
Glama

Agent Data API

arbitrum_erc20_allowance

ERC-20 allowance on Arbitrum One: 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 Arbitrum One
spenderYesAddress allowed to spend

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add genuinely useful context beyond the schema: a concrete price ($0.005 USDC on Base via x402) and the shape of the returned facts, which implies a cheap read-only operation. But it omits whether payment is required before the call, what happens on unapproved pairs, or what the response format looks like.

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?

The core capability is front-loaded in one dense sentence, followed by a short pricing note. Both sentences earn their place, though the function list inside the first sentence is slightly packed and could be split for readability.

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?

No output schema exists, and the description compensates by enumerating the four facts returned (allowance, unlimited flag, owner balance, spendable amount). For a three-address read tool this is nearly complete, missing only failure semantics for invalid or non-ERC-20 tokens.

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 all three addresses are already documented with their roles. The description adds only conceptual framing (owner granted the approval, spender may transfer) and no format or edge-case detail beyond the schema. Baseline 3 applies.

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 the exact resource (ERC-20 allowance), the chain (Arbitrum One), and what the result conveys: spender allowance, unlimited-approval flag, owner balance, and currently spendable amount. The chain qualifier cleanly separates it from the eth_/base_/optimism_/polygon_ siblings of the same name.

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 described output fields (checking approvals, spotting infinite approvals, residual balance), but there is no explicit when-to-use or when-not-to-use guidance. It never routes the agent to a sibling such as arbitrum_token_snapshot or token_risk_check for related questions.

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