Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

ens-resolve

ens-resolve
Idempotent

ENS resolution forward and reverse - .eth name to 0x address (and back) with avatar, url, resolver ($0.005 USDC per call)

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": "ens-resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

The description adds real value beyond the annotations: it names the returned fields (avatar, url, resolver) and discloses a per-call cost of $0.005 USDC, which is important for an agent that may loop over many lookups. Annotations already cover openWorldHint, idempotency, and non-destructiveness, so the remaining gap is only failure behavior for unregistered names. No contradiction: the description never claims mutation, and readOnlyHint=false is consistent with a paid, wallet-affecting call.

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?

One front-loaded sentence with the core operation first, outputs second, and price last; nothing is padding. The parenthetical '(and back)' is the one under-specified fragment, and it could have been spent on the parameter contract instead.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description helpfully lists the returned fields. But for a resolution tool with zero parameter documentation, it omits the things an agent most needs: how to trigger reverse lookup, whether the .eth suffix is required, and what an unresolved name 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?

Schema coverage is 0% and the single parameter 'name' is undocumented, so the description must carry the burden. '.eth name to 0x address (and back)' does add meaning by implying the field also accepts a raw 0x address for reverse lookup, but it never states this explicitly and the schema name actively suggests name-only input, leaving genuine ambiguity about how direction is selected.

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?

"ENS resolution forward and reverse - .eth name to 0x address (and back)" states a specific operation, resource, and both directions, and adds the returned fields (avatar, url, resolver). It is not confused with any sibling, none of which handle ENS. The only weakness is that 'and back' never says how reverse lookup is requested, which matters given the single schema property is literally named 'name'.

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?

Usage is implied by the operation itself (resolve a .eth name or address), and no sibling tool offers an alternative path, so there is nothing to route against. However, there is no explicit when-to-use statement, no exclusion, and no guidance on what to do for non-.eth names or unregistered domains.

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