Skip to main content
Glama

chain_verify_6492

Read-only

Universal smart-wallet signature verify (ERC-6492) — Verify signatures from smart wallets that are not deployed yet: ERC-6492 wrapped signatures (Coinbase Smart Wallet, Safe, other 4337 accounts) are checked by simulating the factory deploy and ERC-1271 isValidSignature in one eth_call via Multicall3; deployed wallets are unwrapped and checked with ERC-1271; plain signatures fall back to EOA ecrecover / ERC-1271. Used by x402, Sign-In with Ethereum and permit flows. Required: address, message (exact signed text, EIP-191) or hash (0x 32-byte digest), signature. Optional: chain (default base; smart-wallet signatures are chain-specific), encoding=hex. Base, ethereum, arbitrum, optimism, polygon. Price: $0.003 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": {
      "chain": "<chain>",
      "address": "<address>",
      "message": "<message>",
      "signature": "<signature>"
    },
    "name": "chain_verify_6492"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
addressYes0x3316a4cfa9f7e1be7b843c490234f3afa22425d2
messageYesHello from Polyform
signatureYes0x0000000000000000000000000ba5ed0c6aa8c49038f819e587e2633c4a9f428a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000c43ffba36f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000b0f7c9f7c5c6f4ead4544a3046256f0a9af05c930000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000041b0d1f315bfd0df3da096b5496e2f1b3e0da26cec6f088d4bbebc7e199bfb71ef36db1ddc1d53f363ab9b25ebb5243546631ef7f152056739f3491844009c05701b000000000000000000000000000000000000000000000000000000000000006492649264926492649264926492649264926492649264926492649264926492

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the supplied annotations: it discloses the verification mechanism (factory-deploy simulation plus ERC-1271 isValidSignature in a single eth_call via Multicall3), the fallback chain for deployed and plain signatures, and the important caveat that smart-wallet signatures are chain-specific. It also surfaces operational facts an agent needs, namely the supported chain list and the $0.003 USDC x402 cost.

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-loads the tool's identity and mechanism, then moves to use cases, parameters, chain coverage, and price in a logical order with no filler. It is a single dense paragraph, though, and the parameter and pricing clauses could be broken out for faster scanning.

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

Completeness3/5

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

Covers inputs, mechanism, chain caveats, and cost thoroughly, but there is no output schema and the description never says what the call returns (boolean validity, recovered signer, error reasons). For a verification tool an agent must interpret programmatically, that omission is the main remaining gap.

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 coverage is 100%, but the schema 'descriptions' are only literal examples, so the prose carries real semantic weight: message must be the exact signed text under EIP-191, the alternative is a 32-byte digest, and encoding=hex. Minor deduction because the description calls chain 'optional (default base)' while the schema marks it required, and it mentions a hash alternative that has no corresponding property in the schema.

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 and resource ('Universal smart-wallet signature verify (ERC-6492)') and precisely scopes it to undeployed smart wallets wrapped in ERC-6492, deployed wallets via ERC-1271, and plain EOA signatures. It explicitly names the wallet vendors (Coinbase Smart Wallet, Safe, 4337 accounts) and the mechanism (Multicall3 eth_call simulation), which lets an agent distinguish it from siblings like chain_verify_signature or chain_siwe_verify.

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?

States concrete usage contexts ('Used by x402, Sign-In with Ethereum and permit flows') and explains that all signature shapes are handled by one call, implying this is the general-purpose choice. It stops short of explicitly routing the agent away from chain_verify_signature, chain_siwe_verify, or chain_verify_typed_data, so the when-not guidance 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