Skip to main content
Glama

ENS name lookup

ens_lookup
Read-only

Resolve an ENS name to its Ethereum address or a 0x address to its primary ENS name, including the avatar URL when set.

Instructions

Resolve an ENS name (vitalik.eth) to its Ethereum address, or a 0x address to its primary ENS name, with the avatar URL when one is set. ENS on Ethereum mainnet, resolved via ensideas.com; a name or address with no ENS record answers not found. Costs $0.001 per call.

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": {
      "query": "<query>"
    },
    "name": "ens_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesAn ENS name like "vitalik.eth" or a 0x address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, so the description carries the rest: network scope (mainnet), data provider, the not-found outcome, the optional avatar URL in the response, and a $0.001 per-call cost. These are exactly the operational details an agent needs before spending money on a call.

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?

Three tight sentences: capability first, environment/provider second, edge case and cost last. No filler and no redundancy beyond the necessary restatement of the input forms.

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 must describe return values, and it does — address, primary ENS name, and avatar URL when set — plus the not-found case. For a one-parameter read tool this leaves nothing material unspecified.

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 coverage is 100% and the single `query` parameter already documents both accepted forms. The description restates the same dual-input semantics rather than adding format rules, so the baseline of 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 (resolve) and resource (ENS name / Ethereum address) and makes the bidirectional nature explicit with concrete examples (vitalik.eth, 0x address). An agent can distinguish this from dns_lookup or domain_whois purely from the text.

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 operating context — Ethereum mainnet only, resolved via ensideas.com — and specifies the failure case (no ENS record returns not found). It stops short of naming when to prefer a sibling such as dns_lookup for non-ENS resolution, so no explicit alternatives are offered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.