Skip to main content
Glama

Base Allowance

base_allowance

ERC20 allowance on Base mainnet via RPC: how much a spender is approved to move from an owner balance, read with allowance(owner,spender) eth_call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 usefully discloses that this is a read via eth_call (read-only) and that it operates on Base mainnet through RPC. However, it omits return-format behavior (raw uint256 vs decimals-adjusted), rate limits, or caching, leaving meaningful behavioral gaps for an unannotated tool.

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?

A single compact sentence, front-loaded with the purpose and network, that packs in the resource, scope, and the underlying call. No wasted words.

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?

No annotations and no output schema, so the description bears the full disclosure burden. It conveys the conceptual return value but says nothing about the returned unit (raw base units) or structure, which matters for allowance reads. Adequate but with a clear gap for a read tool lacking an output schema.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate. It explains the owner and spender roles well ('how much a spender is approved to move from an owner balance') and implies the token via 'ERC20 allowance'. It does not specify address/format expectations for token, owner, or spender, so it is strong but not complete.

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 a specific verb+resource: reads the ERC20 allowance (approved amount) that a spender can move from an owner balance, on Base mainnet via RPC. This clearly distinguishes it from siblings like base_erc20-balance (owner's balance) and base_call (generic call) without needing the schema.

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 only implied by the described semantics of the call ('how much a spender is approved to move'). There is no explicit when-to-use, no when-not-to-use, and no routing to alternatives such as base_erc20-balance or base_call despite a large sibling set.

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.