Skip to main content
Glama

Resolve Ens Name

resolve_ens_name
Read-onlyIdempotent

Resolve an ENS name (or onchain subdomain, e.g. etherscan.eth or gm.etherscan.eth) to its Ethereum address. Ethereum mainnet only. Offchain names that require CCIP Read / wildcard resolution (e.g. *.base.eth) are not supported. A name that does not resolve returns ok:true with a null result.

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

Input Schema

NameRequiredDescriptionDefault
nameYesENS name to resolve, e.g. 'etherscan.eth' or a subdomain like 'gm.etherscan.eth'.

Output Schema

NameRequiredDescriptionDefault
dataYesThe JSON result returned by the Etherscan data tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description needn't repeat safety. It instead adds operationally important context the annotations don't cover: mainnet-only scope, the CCIP Read limitation, and that failure returns ok:true with a null result rather than an error — a crucial detail for the agent's error handling.

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 earning its place: purpose first, then network scope, unsupported cases, and null-result semantics. No filler, no repetition of the title or annotations.

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 an output schema present, this covers everything an agent needs: what it does, which network, which names fail, and how failure is signaled (ok:true + null). Nothing relevant is left 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 description coverage is 100% for the single 'name' parameter, including a pattern and examples, so the schema already carries full parameter semantics. The description's examples are illustrative rather than adding new format or constraint information, so 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 ... to its Ethereum address') and covers both plain names and subdomains with concrete examples (etherscan.eth, gm.etherscan.eth). No sibling in the list performs ENS resolution, so the tool's role is unambiguous from the first sentence.

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?

Explicitly scopes usage: Ethereum mainnet only, and offchain names requiring CCIP Read / wildcard resolution (e.g. *.base.eth) are not supported. This gives a clear 'do not use for' condition, but it does not point to any alternative for those unsupported cases.

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