Skip to main content
Glama

Resolve ENS names and addresses

ens_resolve

Resolve an ENS name to an address, or an address to its forward-verified primary name — direction is detected from the input. view='profile' returns the full identity card (multichain addresses, text records, contenthash, avatar); view='avatar' dereferences the avatar to an image URL. Paid: call without x_payment to receive this call's exact terms (amount, asset, network), sign them, then call again with x_payment. The free pricing tool lists every price at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysNoComma-separated ENS text-record keys (view='text').
viewNoresolve = name↔address; profile/avatar/text need a name.resolve
queryYesAn ENS name (ends in .eth) or a 0x address.
x_paymentNoOptional signed x402 payment payload (base64, what the X-PAYMENT header carries). Omit to receive the exact payment terms; sign them (e.g. @x402/fetch) and call again with this argument to settle and get the data.

TDQS

A4.2/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 of behavioral disclosure. It covers key behaviors: bidirectional resolution, direction detection, view-specific outputs (profile returns full identity card, avatar dereferences to image URL), and the payment requirement. It also reveals that the tool is paid and explains the two-call settlement mechanism. The only gaps are details like response format or error behavior, which are not critical for selection.

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?

The description is compact and front-loaded. The first sentence states the core purpose, the second covers view options, and the third explains the payment flow. Every sentence earns its place with no redundant or filler content. It is easy to scan and extract the key information quickly.

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?

Given the tool's complexity (multiple views, paid flow, bidirectional resolution), the description is remarkably complete. It explains the main behaviors, the payment process, and the view alternatives. It omits explicit mention of the 'text' view (only implying it via the keys parameter), but the schema fills that gap. The absence of an output schema is mitigated by the description's clarity about what each view returns.

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?

The input schema describes all four parameters with examples and clear descriptions, achieving 100% coverage. The description does not add new parameter-level meaning beyond what's already in the schema; it repeats the x_payment flow and view options but does not introduce new semantics. Since the schema already does the heavy lifting, a baseline of 3 is appropriate.

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 opens with a precise statement of what the tool does: resolving an ENS name to an address or an address to its forward-verified primary name. It clearly identifies the resource (ENS names/addresses) and the verb (resolve), and further distinguishes sub-modes via the view parameter. This goes beyond a simple restatement and leaves no ambiguity about the tool's purpose.

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?

The description provides clear usage context: direction is auto-detected, view options are described, and the paid two-step flow is explicitly explained (call without x_payment to get terms, then call with x_payment). It also names an alternative (the free `pricing` tool) for listing all prices. While it doesn't explicitly state when NOT to use this tool, the context is sufficiently clear for an agent to decide.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: address screening, chain info, ENS resolution, data discovery, gas routing, gas pricing, NFT scam checking, pricing metadata, data requests, spot prices, swap quotes, and token safety. Although gas_compare and gas_price both involve gas, one ranks chains while the other gives fees for a single chain; token_safety and nft_scam_check target different asset types. No two tools are likely to be confused.

Naming Consistency2/5

Names are all lowercase snake_case but follow no single convention. Some are verb-first (find_data, request_data, swap_quote), some noun-first with a verb (address_screen, ens_resolve, gas_compare), and several are noun-noun compounds (chain_info, gas_price, spot_price, token_safety). This mixed pattern makes the naming feel inconsistent, even though each name is readable.

Tool Count5/5

With 12 tools, the server sits comfortably in the well-scoped range for a blockchain data/utility provider. Each tool addresses a distinct need, and the count is not excessive for the breadth of on-chain operations covered. Every tool appears to earn its place without redundancy.

Completeness4/5

The tool surface covers a broad set of on-chain needs: screening (address, token, NFT), pricing (spot, swap, gas), identity (ENS), chain metadata, and meta-tools for discovery and requests. Minor gaps exist, such as no direct transaction/block inspection or portfolio-level functions, but these are not core to the server's apparent purpose and agents can work around them using find_data to locate additional endpoints.

Resources