Skip to main content
Glama

chain_ens_resolve

Read-only

ENS name resolver (on-chain) — Resolve an ENS name on Ethereum mainnet directly from the ENS registry and resolver contracts: address, resolver, owner, namehash, contenthash, Base address (ENSIP-11) and text records (avatar, url, description, com.twitter, com.github, email, org.telegram, com.discord). name= required. 404 if the name has no resolver or records (offchain/CCIP-read wildcard names are not followed). Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesvitalik.eth

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description adds substantive behavior: the not-followed CCIP-read wildcard case, the 404 failure mode, and a concrete price of $0.003 USDC on Base via x402 — a payment prerequisite an agent must know before calling. It also lists the returned fields, which matters since there is no output schema.

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?

Front-loads the identity of the tool and the resolution source, then packs constraints and return fields into one dense sentence. The long enumeration of text-record keys is bulky but earns its place because no output schema exists to document them; minor verbosity, not waste.

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?

For a single-parameter read tool with no output schema, the description covers what is needed: the network scope, the returned fields including text records, the failure mode, the gap around CCIP-read names, and the x402 cost. Nothing an agent needs in order to call it correctly is left unstated.

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

Parameters3/5

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

Schema description coverage is 100% and there is only one parameter, so the schema already carries the parameter contract (with a `vitalik.eth` example). The description's 'name= required' restates the schema's required flag rather than adding format or semantic detail beyond it; baseline 3 applies.

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 an ENS name on Ethereum mainnet directly from the registry and resolver contracts — and enumerates exactly what comes back (address, resolver, owner, namehash, contenthash, ENSIP-11 Base address, text records). This makes it distinguishable at a glance from the sibling chain_ens_reverse, which is a different lookup direction.

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 applicability constraints: mainnet-only, `name` is required, and 404 is returned when the name has no resolver or records, with an explicit exclusion for offchain/CCIP-read wildcard names. It stops short of naming an alternative tool for the excluded cases, so the agent must infer the fallback rather than being routed to it.

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