Skip to main content
Glama

Token Approval Scanner

token.approval
Read-onlyIdempotent

Check a wallet's ERC20 token approvals for security risks. Flags unlimited approvals and risky spender contracts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoEVM chain only. Supported chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche, zksync, linea, scroll, blast, mantle, gnosis, polygon-zkevm, mode, sei, celo, manta, taiko, fantom, cronos, opbnb, zora, worldchain, metis, fraxtal, kava, zetachain, filecoin, core-dao, aurora, moonbeam, klaytn, bob, canto, monad, tempo, megaeth, arc, plasma, katana, robinhood, pharos, hyperevm.base
addressYesWallet address to check approvals for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
chainYesBlockchain queried
statusNo
walletYesAddress
approvalsYes
availableNo
riskLevelNo
timestampYesUnix timestamp ms
highRiskCountNo
totalApprovalsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds useful detection context ('unlimited approvals and risky spender contracts') but says nothing about rate limits, latency, or required permissions, so it adds only modest value beyond the annotations.

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?

Two tight sentences with zero filler; the core action is front-loaded and the detection behavior follows immediately. Every clause earns its place.

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?

An output schema exists, so return values need not be described, and the annotations cover safety semantics; the description supplies purpose plus what it detects. The only gap is routing guidance against the many sibling security/token tools, which keeps it from a 5.

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 both parameters (address, chain) are fully documented in the schema, so the schema does the heavy lifting. The description adds no syntax, format, or chain-selection guidance beyond what the schema already states, making the baseline 3 appropriate.

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 ('Check'), resource ('wallet's ERC20 token approvals'), and scope ('for security risks'), so the agent immediately knows what the tool does. It doesn't explicitly distinguish itself from nearby siblings such as token.risk or security.contract.scan, so it lands at 4 rather than 5.

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 phrase 'for security risks' but the description never states when to reach for this tool versus alternatives like wallet.report or monitor.watch.address, and gives no exclusions or prerequisites. This is the minimum viable implied-usage level.

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