Skip to main content
Glama

x402 Toolbox

ENS: resolve a name to an address, or an address to its primary name (verified)

ens_resolve
Read-onlyIdempotent

ENS: resolve a name to an address, or an address to its primary name (verified). Give "name" (vitalik.eth) to get its Ethereum address, resolver and namehash; give "address" to get its primary ENS name via reverse resolution, verified by resolving the name forward again. Reads the ENS registry on Ethereum mainnet. Price: $0.005 USDC per call via x402 (eip155:8453).

Input Schema

NameRequiredDescriptionDefault
nameNo
addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), it discloses that it reads the ENS registry on Ethereum mainnet, that reverse results are verified by re-resolving the name forward, and that each call costs $0.005 USDC via x402 on eip155:8453. That cost/auth and verification context is genuinely additive. It doesn't say what happens with zero parameters (both are optional per the schema) or what the response looks like for an unregistered name.

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?

Three dense sentences, front-loaded with purpose before inputs and payment details. The opening clause duplicates the tool title almost verbatim, which is a small redundancy, but no sentence is filler.

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?

With no output schema, the description does the work of sketching return values (address, resolver, namehash; primary name) plus chain and pricing. The remaining gap is failure/edge-case behavior for names that don't resolve or an address with no primary name, but an agent could reasonably invoke this correctly from what's given.

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?

Schema description coverage is 0%, so the description carries the burden and does so for both parameters: it explains what each input yields and gives a format example for "name" (vitalik.eth). It does not state mutual exclusivity or behavior when both/neither are supplied, which matters given required=[] with two optional fields.

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 names a specific verb and resource and covers both directions explicitly: name to address (plus resolver and namehash) and address to primary name via reverse resolution. An agent can distinguish this from dns_lookup and evm_address without opening the schema, since the ENS registry and verification semantics are stated up front.

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 concrete selection guidance: pass "name" (vitalik.eth) to get an address, pass "address" to get the primary ENS name. That is a clear conditional for the two modes. What's missing is a stated preference against the similar-looking siblings (dns_lookup, evm_address) and any note about precedence when both parameters are supplied.

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.