Skip to main content
Glama

ZERO Payment Guard

Base token safety check ($0.003 USDC on Base via x402)

token_check
Read-onlyIdempotent

Paid $0.003 per call (x402, USDC on Base). Before accepting, swapping or approving a token on Base: is it a contract, ERC-20 metadata, canonical official deployment (USDC, EURC, WETH, cbBTC...), impersonation of a major symbol, upgradeable proxy and admin type, owner, paused. Verdict canonical/ok/caution/block.

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": "token_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken/contract address on Base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety behavior is covered structurally. The description adds genuinely new facts: the call costs $0.003 via x402 in USDC on Base, and the verdict space is canonical/ok/caution/block. It does not disclose what the response contains beyond the verdict, nor whether a wallet/settlement step is required before the check runs.

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?

Cost and payment rail are front-loaded, followed by the use trigger and then the checks — a sensible order. The telegraphic clipping ('owner, paused. Verdict canonical/ok/caution/block.') is dense and slightly awkward but every clause carries information; nothing is filler.

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-only tool with no output schema, the definition covers cost, use timing, the dimensions checked, and the possible verdict values. The main remaining gap is that a reader cannot tell what data accompanies the verdict (metadata echo, reasons per check), which matters for a paid call.

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?

With one parameter at 100% schema coverage, the schema already defines the address pattern and meaning. The description's 'token on Base' confirms the domain but adds no format, edge-case, or accepted-input detail beyond 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 enumerates concrete things the tool determines — contract status, ERC-20 metadata, canonical deployment, symbol impersonation, proxy/admin type, owner, paused state — which pins the purpose to 'token safety/legitimacy check on Base'. It stops short of a clean verb+resource statement, but the enumerated checks make the function unambiguous relative to siblings like usdc_payment_check or x402_preflight.

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?

It gives an explicit trigger: 'Before accepting, swapping or approving a token on Base'. That is a clear use context with implied exclusions (it's a pre-trade/pre-approval check, not a balance or payment tool). No named alternative is offered for cases where a different sibling would fit.

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.