Skip to main content
Glama

Validate a wallet address

validate_address
Read-only

Check that an address is valid for the network of an asset before creating a swap (checksums included). Returns the canonical form.

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": {
      "assetId": "<assetId>",
      "address": "<address>"
    },
    "name": "validate_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesAddress to check.
assetIdYesAsset the address will receive, e.g. "tron-usdt". Determines the network.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the important details that validation is network-specific and checksum-aware, and that the return value is the canonical address form. It does not say what happens on an invalid address (error vs. empty result), which is the one remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the check and its precondition come first, the return value second. No filler, nothing redundant.

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 two-parameter read-only tool with no output schema, the description covers what is checked, why, and roughly what comes back. Only the failure/invalid path is unaddressed.

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% and the schema itself already explains that assetId determines the network and that address is the value to check, so the description adds little beyond it. Baseline 3 applies when structured fields carry the parameter semantics.

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 (check/validate) and resource (an address for an asset's network), plus the downstream purpose (before creating a swap). An agent can tell this apart from create_swap, get_quote, and list_assets without opening any schema.

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?

"before creating a swap" anchors the tool in the workflow and implies the precondition for calling it. It doesn't name an alternative or state when not to use it, but for a small validation helper there is little ambiguity left.

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