Skip to main content
Glama

Eth resolve ens

eth_resolve_ens
Read-onlyIdempotent

ENS on Ethereum: resolve a name (vitalik.eth) to its address and profile records (avatar, description, url, Twitter, GitHub), or pass an address instead to get its primary ENS name. Uses ENS's universal resolver. Costs $0.005 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
nameNoENS name, e.g. vitalik.eth
addressNoAddress for a reverse lookup instead of name

Output Schema

NameRequiredDescriptionDefault
nameNostring, e.g. "vitalik.eth"
addressNostring, e.g. "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
recordsNoobject
registeredNoboolean, e.g. true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "address": {
      +      "description": "string, e.g. \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\""
      +    },
      +    "name": {
      +      "description": "string, e.g. \"vitalik.eth\""
      +    },
      +    "records": {
      +      "description": "object"
      +    },
      +    "registered": {
      +      "description": "boolean, e.g. true"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the bar is lower; the description still adds real context by naming the resolution backend (universal resolver) and disclosing the $0.005 USDC charge on Base via x402, which is a payment prerequisite an agent must know before calling. It omits fallback/error behavior for unregistered or unset reverse records.

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?

A single dense sentence, front-loaded with the chain and the primary action, then the reverse case, then mechanism and cost. Nothing is redundant, though it is packed tightly enough that the two usage modes run together.

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 an output schema present, the description need not detail return values, and it still summarizes the profile records returned. Combined with the payment disclosure, it is nearly complete; the only real hole is the unanswered name-vs-address selection rule for a zero-required-parameter schema.

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%, so both params (including the vitalik.eth example) are already documented; the description adds no format or semantic detail beyond confirming that address means reverse lookup. It leaves the mutual-exclusivity question open — what happens if both name and address are supplied, or neither, on a tool with zero required params.

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 a name ... to its address and profile records') and covers the reverse direction explicitly. The 'ENS on Ethereum' scoping plus the named record types (avatar, description, url, Twitter, GitHub) make it easy to distinguish from the Base-name sibling at a glance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives parameter-level routing ('pass an address instead to get its primary ENS name'), which is useful, but never states when to choose this tool versus alternatives such as base_resolve_basename or address_label, nor when-not to use it. Usage is implied by the chain scoping rather than declared.

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