Skip to main content
Glama

Validate Address

util_validate
Read-onlyIdempotent

Validates Nano addresses offline by checking prefix, alphabet, and Blake2b-40 checksum to catch invalid addresses before transactions.

Instructions

Validate a Nano address offline. Checks prefix, alphabet, and Blake2b-40 checksum.

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

Input Schema

NameRequiredDescriptionDefault
addressYesNano address to validate (nano_... or xrb_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real substance beyond that by stating validation is offline and enumerating exactly what is checked (prefix, alphabet, Blake2b-40 checksum), which tells the agent this proves format validity only, not that the account exists or holds funds.

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 with no filler: the operation and its offline nature come first, followed by the concrete checks. Nothing is repeated from the name or title.

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 one-parameter, read-only validator whose annotations fully cover the safety profile, the description supplies the essentials including the checksum algorithm. The only notable omission is the shape of the result (a boolean versus a validity result with a failure reason), which matters because there is no output schema.

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 single 'address' parameter is already documented with both accepted prefixes. The description's mention of a prefix check adds only marginal confirmation that nano_/xrb_ forms are in scope, so the baseline of 3 applies.

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?

The description opens with a specific verb and resource ('Validate a Nano address') and narrows scope with 'offline', so the operation is unambiguous. It does not name or contrast with a sibling such as wallet_address, so differentiation is left to inference.

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?

'Offline' implies this is a local syntactic/checksum check rather than something requiring network or wallet state, which is a useful usage signal. However, there is no explicit when-to-use or when-not-to-use statement, and no pointer to an alternative if the caller wants on-chain or account-existence verification.

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