Skip to main content
Glama

check_token_allowance

Check the ERC20 token allowance granted by an owner to a spender on any EVM network, ensuring you know the exact spending limit before authorizing transactions.

Instructions

Check ERC20 token allowance for a spender

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
ownerAddressYesToken owner address
tokenAddressYesERC20 token contract address
spenderAddressYesSpender address to check
Behavior2/5

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

There are no annotations, so the description carries the full transparency burden. The word 'Check' implies a read-only operation, but the description does not explicitly state that it makes no state changes, nor does it disclose any rate limits, authorization requirements, or return format. This is minimal disclosure for a read operation.

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 a single, front-loaded sentence that states exactly what the tool does without any superfluous information. Every word earns its place, making it an exemplary concise description.

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 simple read tool with a fully documented schema, the one-line description is adequate but has gaps. It does not clarify how this tool relates to similar siblings, nor does it mention the network parameter or default behavior (which is in the schema, but the description could add context). The lack of an output schema means the agent does not know what the response looks like, and the description does not compensate.

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?

The input schema provides 100% coverage of all four parameters, each with a clear description. The tool description adds no additional parameter semantics, but since the schema already documents them thoroughly, a baseline score of 3 is 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?

The description clearly states the action ('Check') and the resource ('ERC20 token allowance for a spender'), which is specific and unambiguous. However, it does not explicitly distinguish itself from closely related sibling tools like 'get_token_approvals' or 'batch_check_allowances', so it lacks explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. Siblings such as 'batch_check_allowances' or 'get_token_approvals' exist, but the description does not mention them or any criteria for choosing one over the other. There is no mention of prerequisites, network-specific context, or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/universal-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server