Skip to main content
Glama

AgentLogic MCP Server

ens_resolve

Resolve an ENS name on Ethereum mainnet to its address, or pass an address to reverse-resolve its primary ENS name. A bare label gets .eth appended. Unregistered names return resolved: false. Price: $0.003 USDC on 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": "ens_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesENS name to resolve, or an address for the reverse lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the network (Ethereum mainnet), the input normalization (bare labels get .eth appended), the failure shape (unregistered names return resolved: false), and a payment requirement of $0.003 USDC on Base via x402. It omits rate limits, caching, and what a successful payload looks like beyond the resolved flag, which keeps it short of a 5.

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, each carrying distinct information: forward resolution, reverse resolution, label normalization, failure shape, and cost. Nothing is redundant and the primary capability is front-loaded.

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?

For a single-parameter lookup with no output schema, the description supplies enough to call it correctly and to interpret a negative result, and it flags the paid x402 flow that an agent must account for. The only gap is the shape of a successful response, which matters somewhat given there is no output schema.

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, but the description adds real meaning beyond the schema: it explains that the same `name` field accepts either an ENS name or an address and that the direction of lookup flips accordingly, plus the .eth auto-append rule. That is genuine disambiguation the schema text does not spell out.

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 (resolve an ENS name on Ethereum mainnet to an address) and covers the inverse direction (address to primary ENS name) in the same sentence. The scope is unambiguous and distinguishable from every sibling, none of which perform name resolution.

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 clearly states the two modes of use — pass a name to forward-resolve, pass an address to reverse-resolve — and explains the bare-label normalization rule so the agent knows what input forms are accepted. It does not name an alternative tool or exclusion case, but no sibling performs ENS resolution, so little is lost.

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.