Skip to main content
Glama

optimism_token_approvals_batch

Use when: which token approvals should I revoke across these Optimism wallets? Up to 20 Optimism 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": "optimism_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 present, the description carries the load and does disclose real behavior: a 20-wallet ceiling, unlimited flagged results, results preserved in request order, and per-item failure marking so one bad wallet does not sink the batch. It omits the read-only/safety profile and any rate-limit or latency note, which is a genuine gap but not a blocker for a scan tool.

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?

Front-loaded with the trigger question and tightly packed with constraints. The cost is stated twice ('in one call for $0.05' and the closing 'Costs $0.05'), which is redundant and the one clearly wasteful element.

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 read tool with no output schema and no annotations, the description covers cost, batch size, ordering, and partial failure — the behaviors an agent actually needs. Return shape is only partially implied ('marked on that item'), which keeps it out of the top band.

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%, and the description never says the single 'addresses' parameter is a comma-separated list. It does add the meaningful cap ('up to 20 ... wallets in one call'), which reinforces the schema's regex quantifier, but a caller still has to read the pattern to learn the delimiter and address format.

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?

Names a specific verb+resource (token approvals / revoke recommendations) on a specific chain and explicitly frames it as the multi-wallet form of the single route. The 'Use when:' question form makes the job unambiguous, and 'Same major-token allowance scan as the single route' separates it from optimism_token_approvals 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 Guidelines4/5

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

The leading 'Use when: which token approvals should I revoke across these Optimism wallets?' gives a concrete trigger, and the 'up to 20 wallets in one call' cap plus the reference to the single route implicitly define when to pick each. It never states the inverse boundary (use the single route for one wallet) as an explicit rule, so it falls short of a full when/when-not split.

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