Skip to main content
Glama

SuiNS name and address

suiResolveName
Read-only

Resolve a .sui name to its Sui address or reverse-check an address for its default .sui name, returning registration status so you know if the record is safe to use.

Instructions

Resolve a SuiNS name (something.sui) to the address it points at, or an address back to its name. Give exactly one of name or address. READ status BEFORE the record. It is one of: resolved, the registration is live and the record is good; expired, the registration lapsed and the record — target address included — is returned but must not be trusted as a destination; no_target_address, the name is registered and points nowhere; not_registered, the registry holds no record. All four are answers, not errors. Reverse is NOT the inverse: an address answers with its OWN default name, which need not be a name pointing at it. One record comes back, so nothing is capped, truncated or paged. Only .sui names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoForward: a .sui name
addressNoReverse: a Sui address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the semantics annotations cannot carry — the four `status` outcomes (resolved, expired, no_target_address, not_registered), the warning that an expired registration's target address must not be trusted as a destination, that all four are answers rather than errors, and that only .sui names are accepted.

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?

Front-loaded with the core action, then the constraint, then the status interpretation, then the reverse-name caveat. Dense but every sentence carries distinct information; nothing is repeated from the schema or annotations.

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?

No output schema exists, so the description takes on the burden of explaining the return shape by enumerating the `status` values and what each implies about the record. It also closes the pagination question ('nothing is capped, truncated or paged'). Complete for a two-parameter single-record lookup.

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?

Schema coverage is 100% and already documents both field formats, but the description adds a constraint the schema does not express: exactly one of the two mutually exclusive parameters must be given, plus which direction each parameter selects. That is real meaning 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?

States a specific bidirectional verb pair and resource: resolve a .sui name to an address, or an address back to its name. It is clearly distinguishable from siblings like resolveContract or rpcCall, which do different work on different entities.

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

Usage Guidelines5/5

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

Explicitly tells the agent to supply exactly one of `name` or `address`, and warns the agent to read `status` before trusting the record. It also carves out the key trap: reverse is NOT the inverse, an address returns its own default name. This is when-to-use guidance at the level an agent actually needs.

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