Skip to main content
Glama

polygon_token_approvals_batch

Use when: which token approvals should I revoke across these Polygon wallets? Up to 20 Polygon 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": "polygon_token_approvals_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the price ($0.05), the 20-wallet ceiling, result ordering (request order), and partial-failure semantics (a failed or timed-out wallet is marked on that item and the batch still returns). It does not cover permissions or rate limits, and 'unlimited flagged' is too terse to be informative, which keeps it from a 5.

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?

The trigger scenario is front-loaded in the 'Use when:' clause, followed by limits, cost, and failure behavior in short declarative sentences. The only wasted text is the duplicated price mention (mid-sentence and again at the end), which is minor against an otherwise tight five-sentence structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter batch scan with no annotations and no output schema, the description covers everything an agent needs to call it correctly: input limit, cost, ordering of results, and what happens on per-wallet failure. Nothing essential about invocation or interpretation is missing.

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 description coverage is 0%, so the description must compensate for the single 'addresses' parameter. It adds the meaningful constraint that up to 20 Polygon wallets are packed into one call, matching the schema's repetition bound. It never states the comma-separated encoding that the pattern enforces, leaving that to the schema.

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?

The description names the resource (token approvals), the chain (Polygon), the batch scope (up to 20 wallets), and the decision it supports ('which token approvals should I revoke'). It also distinguishes itself from the single-wallet route ('Same major-token allowance scan as the single route'), so an agent can choose between them. It never states a concrete verb for the operation itself (scan/flag), which keeps it short of a 5.

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:' clause gives an explicit trigger scenario tied to revoking approvals, and the reference to the single route clarifies the batch-vs-single split. There is no explicit when-not guidance (e.g. what to do above 20 wallets, or when to prefer polygon_address_inspect), but the 20-wallet cap implies the boundary.

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