Skip to main content
Glama

chain_poisoning_check

Read-only

Address poisoning check — Before sending funds, compare the address you intend to pay (intended=) with the one you are about to use (candidate=, comma-separate up to 20): flags lookalike vanity addresses whose first and last characters match but the middle differs (address poisoning), near-miss typos and wrong EIP-55 checksums. Verdict SAFE_MATCH, DIFFERENT_ADDRESS, CHECKSUM_TYPO or DANGER_LOOKALIKE. Optional chain= (base, ethereum, optimism, arbitrum, polygon) adds each address's nonce and EOA/contract type. Price: $0.002 USDC (Base, via x402).

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": {
      "intended": "<intended>",
      "candidate": "<candidate>"
    },
    "name": "chain_poisoning_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
intendedYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
candidateYes0x8335e2b1a2c3d4e5f60718293a4b5c6d7e602913

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only mark it read-only, open-world, non-destructive), the description discloses the cost and payment mechanism ($0.002 USDC on Base via x402), the batch limit of 20 comma-separated candidates, and the full verdict taxonomy the agent will receive. These are material operating facts an agent cannot get from annotations or schema.

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?

It is front-loaded with the action and the when-to-use condition, then parameters, then verdicts, then price — a sensible order with little waste. The single dense paragraph packs several clauses (cost, batch limit, chain effects) that would scan faster as a short list, but nothing is redundant.

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?

There is no output schema, yet the description enumerates all four verdict values and explains what the optional chain parameter adds to the result. Combined with the batch limit and pricing disclosure, an agent has everything needed to decide, invoke, and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, but the schema 'descriptions' are only example hex strings. The description supplies real meaning: intended is the payee, candidate accepts up to 20 comma-separated addresses, and chain accepts a specific enum-like set (base, ethereum, optimism, arbitrum, polygon) while adding nonce and EOA/contract type to output.

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 gives a specific verb and resource ('Address poisoning check'), names the exact inputs compared, and enumerates the failure classes detected (lookalike vanity addresses, near-miss typos, wrong EIP-55 checksums). It is clearly distinct from the sibling chain_sanctions_check, which screens against sanctions lists rather than comparing two addresses.

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 states the triggering situation explicitly: 'Before sending funds, compare the address you intend to pay with the one you are about to use.' That is clear when-to-use guidance. It does not name or exclude any alternative tool, so it falls short of the 5 bar.

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