Skip to main content
Glama

chain_ens_resolve

Read-only

$0.005 via x402: resolve ENS in either direction on Ethereum — pass an ENS name (vitalik.eth) to get its 0x address, or pass a 0x address to get its primary ENS name (and avatar when set). The identity read every wallet, payment and UX agent makes to verify who it's sending to, or to display a human-readable name instead of a raw hex address. Live ENS registry; one paid call instead of running your own resolver.

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

Input Schema

NameRequiredDescriptionDefault
nameNoENS name to resolve to an address, e.g. vitalik.eth
addressNo0x address to reverse-resolve to its primary ENS name
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description is not the sole safety carrier, yet it adds substantive behavior: a $0.005 x402 charge, the two-step flow implied by returning terms on an unpaid call, and the fact that it reads the live ENS registry. It could go further on failure modes (unresolvable name, missing reverse record), but the paid-call mechanics are disclosed.

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?

Price and the core capability are front-loaded, and the two-direction mechanics are explained in one compact clause. The marketing-flavored sentence about "every wallet, payment and UX agent" adds persuasive framing rather than new information, a minor cost.

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 carries the return-value burden and does so reasonably: address, primary ENS name, and optional avatar. Payment flow and registry provenance are covered, leaving only edge-case behavior (unresolved names, absent reverse records) unstated.

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 coverage is 100%, so baseline is 3, but the description adds real meaning the schema does not: name and address are alternatives for opposite directions rather than both-required inputs, which matters given zero required parameters. It also notes avatar is returned when set, hinting at extra output beyond the two documented 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?

States a specific verb and resource — resolve ENS in either direction on Ethereum — and concretely illustrates both directions with examples (vitalik.eth → 0x address, 0x address → primary ENS name). No sibling in the chain_* family offers ENS resolution, and the description makes that distinct scope self-evident.

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?

Gives clear usage context: verifying a recipient before sending, or displaying a human-readable name instead of hex. It also implicitly contrasts with the alternative of "running your own resolver." It stops short of explicit when-not-to-use guidance or naming a sibling alternative, but the use case coverage is strong for a single-purpose lookup tool.

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.