Skip to main content
Glama

Validate & Normalize Multichain Wallet Address

validate_multichain_address
Read-onlyIdempotent

Verifies and normalizes wallet or contract addresses across multiple blockchains, catching checksum and typo errors plus testnet mismatches before funds are sent.

Instructions

Cryptographically validates and normalizes wallet/contract addresses across 8 ecosystems: EVM (Keccak-256 EIP-55 checksum + typo/burn detection), Tron (T... SHA-256d Base58Check + 0x41/EVM conversion), Bitcoin (BIP-173 Bech32 bc1q SegWit v0, BIP-350 Bech32m bc1p Taproot v1+, Legacy/P2SH Base58Check), Solana (Base58 32-byte Ed25519 curve point check distinguishing user wallets from off-curve PDAs), TON (friendly EQ/UQ CRC16-XMODEM + bounceable uninitialized-wallet trap warning), XRP Ledger (classic r... + XLS-5d X-address destination-tag decoder), Cosmos Bech32, and Stacks c32check.

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

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain constraint: auto (default), evm, tron, bitcoin, solana, ton, xrpl, cosmos, or stacks.auto
addressYesAddress string to validate and normalize.
expectedNetworkNoExpected network environment (default: any; pass "mainnet" before sending real funds to block testnet addresses).any

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, yet the description still adds real behavioral value: typo/burn-address detection, off-curve PDA rejection to distinguish user wallets, the TON bounceable uninitialized-wallet trap warning, and X-address destination-tag decoding. It never describes the response shape (validity flag, normalized form, warning list), which is a notable omission given there is no output 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?

A single front-loaded sentence opening with the verb and resource, with zero filler or marketing language. The dense parenthetical technical stack is justified by the multi-format scope but makes it heavy to scan compared with a short lead plus per-chain breakdown.

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 read-only, closed-world validator with full schema coverage, the description covers who it supports and what each check enforces, which is nearly everything an agent needs to invoke it. It falls short of complete by omitting the return shape and by not explaining what happens when `chain` is "auto" and an address matches multiple ecosystems.

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 coverage is 100%, so the schema already documents all three parameters including the chain enum and expectedNetwork default. The description only implicitly maps its eight ecosystems onto the `chain` values (e.g. EVM, Tron, Bitcoin) and adds no auto-detection ambiguity or precedence behavior beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb+resource ("Cryptographically validates and normalizes wallet/contract addresses") and enumerates the exact scope: 8 named ecosystems with the concrete algorithm/format checked for each (EIP-55 Keccak-256, BIP-173/350 Bech32, Base58Check, c32check, etc.). No sibling overlap exists with the signature/calldata audit tools, so the agent can select it without opening the schema.

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 context is only implied: the heavy per-format validation detail signals "pre-flight address check before sending funds," but the description never states when to use it or when not to. The one explicit directive about mainnet use lives in the schema's expectedNetwork field, not the description, and the relationship to the sibling tools is left unstated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.