Skip to main content
Glama

base_token_approvals_batch

Use when: which token approvals should I revoke across these Base wallets? Up to 20 Base wallets in one call for $0.05. Same major-token allowance scan as the single route, unlimited flagged. Results stay in request order. A failed or timed-out wallet is marked on that item; the batch still returns. Costs $0.05.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "addresses": "<addresses>"
    },
    "name": "base_token_approvals_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the whole burden and does so well: it discloses the cost ($0.05), the 20-wallet cap, that results preserve request order, and critically that a failed or timed-out wallet is marked on its item while the batch still returns. It stops short of saying whether the operation is read-only/non-destructive or what fields each result item contains.

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 trigger question is front-loaded and the sentences are short and information-dense. However, 'Costs $0.05' is stated twice and 'Base' is repeated in ways that could be tightened without losing meaning.

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?

For a one-parameter batch tool with no annotations and no output schema, the definition covers what an agent most needs: scope limit, cost, ordering, and partial-failure behavior. The remaining gap is the shape of the returned per-wallet/per-approval data, which an agent must guess before deciding whether to call it.

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 0%, so the description must compensate for the single 'addresses' parameter. It conveys the key semantic ('up to 20 Base wallets in one call') but never explains that the value is a comma-separated string of 0x addresses matching the schema pattern, leaving the encoding to be inferred from the regex.

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 states a specific verb and resource and ties it to the exact agent question: 'which token approvals should I revoke across these Base wallets?' It also distinguishes itself from the single-wallet route by noting it is 'the same major-token allowance scan as the single route,' so an agent can pick between batch and single without opening either schema.

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

Usage Guidelines4/5

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

The opening 'Use when:' clause gives an explicit trigger question, and the 'up to 20 wallets' ceiling defines the operating envelope. It implies the single route exists for smaller scopes but never states the exclusion (e.g., use the single tool for one wallet, or for more than 20 wallets split the batch), so guidance is clear but not fully complete.

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