Skip to main content
Glama

chain_siwe_verify

Read-only

Sign-In with Ethereum (EIP-4361) verifier — Parse and verify a full Sign-In with Ethereum message: EIP-4361 grammar, EIP-55 address, version, nonce format, issued-at / expiration / not-before timing, optional expected domain and nonce, then the signature (ecrecover, or ERC-1271 for smart wallets on the message chain). Returns VALID/INVALID with every error and warning plus the parsed fields. Required: message (full text, newlines URL-encoded as %0A), signature. Optional: domain, nonce (expected values), time (ISO-8601 to check against instead of now). Price: $0.004 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": {
      "message": "<message>",
      "signature": "<signature>"
    },
    "name": "chain_siwe_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesapi.polyform.org wants you to sign in with your Ethereum account: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 Sign in to Polyform URI: https://api.polyform.org/login Version: 1 Chain ID: 8453 Nonce: 9fK2mQ7xLp4R Issued At: 2026-11-30T00:00:00.000Z Expiration Time: 2030-01-01T00:00:00.000Z
signatureYes0xdd86ce2bc53b168bf968fd902dd4513174f2a8c6a74e5ac169c38ecede76beb25ef1c98962b381691ab1d9dbee23643bdca3bfa6959dffa7bb4900c5c2cd4bc51b

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds real context beyond them: the two signature paths (ecrecover vs ERC-1271 for smart wallets on the message chain), the VALID/INVALID return shape with all errors and warnings plus parsed fields, and a $0.004 USDC x402 price. Cost and return-shape disclosure are exactly the kind of detail annotations cannot carry.

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?

A single dense paragraph, front-loaded with the verification scope and ending with the required/optional parameter list and price. Every clause carries information, though the verification checklist is packed tightly enough that a bulleted structure would scan faster.

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?

With no output schema, the description steps in to describe the VALID/INVALID response and parsed fields, and it covers encoding, timing overrides, and payment. Minor gaps remain: no mention of chain support beyond 'the message chain' or behavior when the on-chain lookup fails.

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%, so baseline is 3, but the description adds semantics the schema lacks: message must be the full text with newlines URL-encoded as %0A, domain/nonce are 'expected values' to match against, and time is an ISO-8601 override for 'now'. The %0A encoding requirement is a concrete invocation detail not present in 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?

States a specific verb+resource ('Parse and verify a full Sign-In with Ethereum message') and enumerates exactly what is checked (EIP-4361 grammar, EIP-55 address, version, nonce format, timing, signature via ecrecover or ERC-1271). It implicitly separates itself from generic signature verification by emphasizing 'full' SIWE messages, though it never names the sibling chain_verify_signature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the required/optional breakdown: supply domain/nonce as expected values, or 'time' to check against a fixed instant instead of now. There is no explicit when-not guidance and no routing to chain_verify_signature for raw signature checks, so the agent must infer 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