Skip to main content
Glama

base_allowance

Check an ERC-20 spending allowance on Base; flags unlimited approvals. Costs $0.001.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYes
tokenNo
spenderYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description fully discloses the read-only nature, the flagging of unlimited approvals, and the cost ($0.001). It does not specify the return format or behavior when optional parameters are omitted, but it is otherwise transparent.

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 description is concise with two sentences, front-loading the core purpose. It could be improved by including parameter explanations without adding much length.

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?

Given the simplicity of the tool (3 parameters, no output schema), the description is adequate but incomplete. It lacks explanation of the output format and the significance of the optional token parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain the meaning of owner, token, or spender. It adds no value beyond the parameter names. The optionality of token is not mentioned.

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 clearly states the tool checks an ERC-20 spending allowance on Base and flags unlimited approvals. It uses a specific verb and resource, distinguishing it from sibling tools like base_contract or base_token_info.

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?

The description implies usage for checking allowances and detecting unlimited approvals, but it does not provide when-not-to-use guidance or mention alternatives among sibling tools. The cost mention adds context but no exclusions.

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