Skip to main content
Glama

erc20-allowance-delta

Compare current on-chain ERC-20 allowance with caller-supplied prior allowance; no transaction submitted. Costs $0.001 USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYes
networkNo
spenderYes
contractYes
previous_allowance_rawYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It usefully discloses 'no transaction submitted' (safe/read-only) and the payment cost ($0.001 USDC on Base via x402), which is valuable behavioral context. However, it omits return shape (no output schema exists), error behavior when previous_allowance_raw doesn't match, and network parameter effects on cost or availability.

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?

One dense sentence that front-loads the core comparison and then the cost/no-transaction facts. Efficient, though the payment/cost detail could arguably be separated for scanability.

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?

A 5-parameter, 0%-coverage tool with no annotations or output schema needs more: the description covers core purpose and cost but leaves return format, parameter meanings, and edge-case behavior unspecified. Minimum viable but with clear gaps.

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 there are 5 parameters, so the description must compensate. It only implicitly touches previous_allowance_raw (caller-supplied prior allowance) and the network indirectly via the payment chain. It says nothing about owner, spender, or contract, or about the raw integer units convention expected for previous_allowance_raw.

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 comparison action (current on-chain allowance vs caller-supplied prior) on a specific resource (ERC-20 allowance), which is clearly distinct from siblings like chain-erc20-allowance (which presumably just reads the allowance). It does not explicitly name that sibling as the alternative, so it falls short of 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?

The description implies usage by naming the mechanism (caller-supplied prior allowance) but never states when to prefer this over chain-erc20-allowance or what scenario motivates a delta check (e.g., detecting allowance changes after re-approval). No explicit when/when-not guidance.

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.