Skip to main content
Glama

Agent Data Hub

ENS resolve (name to address and reverse)

chain_ens
Read-onlyIdempotent

Resolve an ENS name to its Ethereum address (plus avatar record), or an address to its primary ENS name (reverse lookup). Live from Ethereum mainnet via the ENS Universal Resolver, cached 5 minutes. Pass 'name' or 'address'. 404 (not charged) when the name has no address. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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

Input Schema

NameRequiredDescriptionDefault
nameNoENS name, e.g. vitalik.eth
addressNoOr an address 0x… for reverse lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description still adds real operational context: mainnet source via the Universal Resolver, a 5-minute cache (staleness), a non-charged 404 path, and per-call pricing with a free tier. Only the response shape for the avatar record is left implicit, so it sits just under top marks.

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?

Four short sentences, front-loaded with the operation, then source/caching, then error semantics, then price. No filler and no repetition of the title.

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?

With no output schema, the description still says what comes back (address plus avatar, or primary name), where the data comes from, how fresh it is, what happens on a miss, and what it costs. That covers everything an agent needs to call it correctly and interpret billing.

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 the baseline is 3, and the description adds the either/or constraint ('pass name or address') that the schema does not encode, since both properties are optional with no oneOf. It also ties 'address' explicitly to reverse lookup, reinforcing the inline hint.

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 (resolve) and resource (ENS name/address) with both directions spelled out, including the avatar record and reverse lookup. The result is unambiguous and clearly separable from the chain_* balance/tx/contract siblings.

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?

'Pass "name" or "address"' tells the agent how to pick the mode, and the 404-when-no-address note sets an expectation for the failure path. There is no explicit when-not or named alternative, but for a single-purpose resolver none is really needed.

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