Skip to main content
Glama

polygon_token_approvals

Use when: which token approvals on this Polygon wallet should I revoke? Check a Polygon wallet's ERC-20 approvals: allowances for 8 major tokens (USDC, USDC.e, USDT0, WETH...) to common spenders (Permit2, Uniswap Universal Router v4, Uniswap Universal Router, Uniswap SwapRouter02...); flags unlimited approvals. Costs $0.005.

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": {
      "address": "<address>"
    },
    "name": "polygon_token_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With zero annotations, the description carries the burden and does add real behavioral context: a fixed $0.005 cost, an explicit coverage limit of 8 major tokens and "common spenders", and the fact that unlimited approvals are flagged. It never states read-only safety explicitly, nor latency or what happens for tokens outside the tracked set beyond that coverage caveat.

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?

Two sentences, front-loaded with the usage trigger, then scope, then pricing. The parenthetical lists with trailing ellipses are slightly ragged but each item earns its place by bounding coverage.

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 query this is close to complete: chain, token set, spender set, unlimited-approval flagging, and price are all stated. What is missing is any hint of the response shape (per-approval rows vs summary) and whether untracked tokens are silently omitted.

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% — the single `address` parameter has only a regex pattern, no textual description. The description compensates partially by making clear the address is the Polygon wallet being inspected (not a token or spender), but it adds nothing about format, checksum, or non-Polygon input behavior.

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?

"Check a Polygon wallet's ERC-20 approvals" states a specific verb (check) and resource (ERC-20 approvals) scoped to a named chain, and it enumerates the concrete token and spender universe covered. It differentiates from the many sibling *_token_approvals tools by chain, though it never names approval_sweep_all_chains as the cross-chain alternative.

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 on this Polygon wallet should I revoke?" gives an explicit, verbatim trigger condition an agent can match against a user question. It gives no when-not guidance and does not route to the multi-chain sibling for non-Polygon wallets, so the exclusion side is left to inference.

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