Skip to main content
Glama

evm_reverse_ens_lookup

Resolve an EVM address to its primary ENS name using reverse records, returning null if no reverse record is set.

Instructions

Reverse ENS lookup - resolve address to ENS name.

Queries ENS reverse records to find the primary ENS name for an address. Primarily works on Ethereum mainnet/Sepolia.

PARAMETERS:

  • chain: Target EVM chain (ethereum recommended)

  • address: Ethereum address to lookup

ENS REVERSE: • Finds primary ENS name for address • Returns null if no reverse record set • Address owner must set reverse record • Works best on Ethereum mainnet/testnet

USAGE: • Display human-readable names for addresses • Verify address ownership • Wallet identity resolution • DApp user experience

Returns ENS name if set, null otherwise.

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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "evm_reverse_ens_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
addressYesEthereum address for reverse lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a fair job: it discloses the failure mode ('Returns null if no reverse record set') and the precondition ('Address owner must set reverse record'), which an agent cannot get from the schema. It stops short of stating that this is a read-only, cost-free query and says nothing about non-ENS chains in the enum.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The label-plus-body format is scannable and front-loaded, but the content is padded: the null-return behavior is stated three times ('Returns null if no reverse record set', 'Returns ENS name if set, null otherwise') and the ENS REVERSE bullets restate the opening sentence.

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 two-parameter read tool with no output schema and no annotations, the description covers purpose, return value, null case, and the precondition for a record to exist. The main gap is the mismatch between the Sepolia recommendation and the chain enum, plus no statement of what happens on polygon/bsc/base.

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 50% (only 'address' is documented), so the description must compensate. It adds real value for 'chain' by recommending ethereum, since reverse records are mainnet-centric, but it also mentions Sepolia, which is not in the enum, leaving the agent unsure which chains actually return data.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first line states a specific verb and resource ('resolve address to ENS name') and the 'reverse' framing distinguishes it from forward resolution. It never names the sibling evm_resolve_ens, so the agent must infer the counterpart from the naming alone.

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?

The USAGE block lists four application scenarios (display names, verify ownership, identity resolution, DApp UX), which is context rather than routing guidance. The chain caveat ('Works best on Ethereum mainnet/testnet', 'ethereum recommended') is genuinely useful, but there is no explicit when-not or alternative-tool guidance.

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

Deploy Server

Other Tools