Skip to main content
Glama

dero_name_to_address

Read-only

Resolve a human-readable DERO name to its blockchain address. Provide the registered name and topoheight (-1 for latest) to get the corresponding address.

Instructions

Resolve a DERO on-chain registered name to its address via DERO.NameToAddress.

When to call: when a user supplies a human-readable name (e.g. "myname") instead of a dero1.../deto1... address.

Input Requirements (CRITICAL):

  • name MUST be a non-empty string. Resolution is case-sensitive on the daemon side.

  • topoheight MUST be an integer; use -1 for the latest registry state.

Output: { name, address }. On NOT_FOUND the daemon's RPC error is surfaced as a structured _meta.error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRegistered name
topoheightYesUse -1 for latest
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that on NOT_FOUND the daemon's RPC error is surfaced as a structured _meta.error, providing useful behavioral context beyond the annotations.

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?

The description is well-structured with distinct sections for purpose, usage context, input requirements, and output description. It is concise and front-loaded with essential information.

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

Completeness5/5

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

Given the tool's simplicity (2 parameters, no output schema), the description covers input constraints, output format, and error behavior completely. It is fully adequate for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 100% coverage, and the description adds crucial constraints: name must be non-empty and case-sensitive; topoheight must be an integer with -1 for latest. This adds significant value beyond 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?

The description clearly states 'Resolve a DERO on-chain registered name to its address via DERO.NameToAddress.' It specifies the resource (registered name) and contrasts with address formats, distinguishing it from sibling tools.

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?

The description explicitly says 'When to call: when a user supplies a human-readable name instead of an address.' It provides input requirements but does not mention when not to call or alternatives, though the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DHEBP/dero-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server