Skip to main content
Glama

Resolve an Aptos name (.apt)

aptos_name_resolve
Read-only

[FREE: 25 calls/day, then $0.001 USDC per call via x402] name -> address, or address -> primary name (give exactly one). A name resolves to its TARGET address, which can differ from its owner; a registered name with no target resolves to nothing (NOT_FOUND) and its owner is never substituted. An address's primary name is returned only if that name resolves forward to the same address, so a spoofed reverse record is never trusted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aptos_name_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
chainNoAptos CAIP-2 id: aptos:1 (mainnet, default) or aptos:2 (testnet)
addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses pricing and rate limits (25 free calls/day, then $0.001 USDC via x402) and the non-obvious resolution semantics: a name resolves to its target, not its owner, and an owner is never substituted on NOT_FOUND. It also explains the anti-spoofing rule for reverse lookups, which is exactly the kind of behavior an agent cannot infer from annotations.

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?

It is short and front-loads the cost/limit caveat before the semantics, with zero filler sentences. The density of the semantics clause makes it slightly hard to scan on first read, but nothing is 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 read-only, no-output-schema tool this covers the essential risk areas: cost, NOT_FOUND behavior, and trust of reverse records. It does not describe the return payload shape or how NOT_FOUND surfaces to the caller, which would round out invocation confidence.

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

Parameters4/5

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

With only 33% schema coverage (only chain is documented in-schema), the description must carry the load for name and address, and it does: it defines their directionality and the mutual-exclusivity constraint. The chain parameter's meaning is left entirely to the schema, which is the one remaining gap.

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 states a precise bidirectional operation ("name -> address, or address -> primary name") and names the resource via the .apt title, so the agent knows exactly what the tool does. The "give exactly one" clause further pins the call shape, distinguishing it from a generic resolver such as ens_resolve by chain.

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?

It gives an explicit input rule (exactly one of name or address), which tells the agent how to invoke it, and the forward/reverse framing clarifies which form to supply for which goal. It stops short of naming alternatives or stating when not to use it (e.g., vs. aptos_address_validate for format-only checks).

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