Skip to main content
Glama

ens_resolve

Use when: what address is behind this ENS name or Basename (or vice versa)? Resolve an ENS name or Basename to an address (plus url/twitter/github text records), or reverse-resolve an address to its primary name. Costs $0.005.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 and does reasonably well: it discloses the bidirectionality, the extra text records returned, and the per-call cost of $0.005. It omits what happens for unresolvable names or addresses without a primary name, and does not state which chain each naming system belongs to.

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?

Two sentences, front-loaded with a 'Use when:' trigger and then the concrete capability plus return fields and cost. No filler or repetition.

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 1-parameter tool with no output schema and no annotations, the description covers input forms, output shape (address plus text records, or primary name), and cost. The gap is failure/empty-result behavior and chain scope, which matter for a resolution tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema only supplies a regex, so the description must explain the single parameter. It does: the one 'name' argument is either an ENS name/Basename (forward resolution) or an address (reverse resolution to primary name), which the regex alone does not convey.

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+resource (resolve ENS name/Basename ↔ address) with both directions spelled out, and the returned fields (url/twitter/github text records) are named. No sibling tool does name resolution, so it is trivially distinguishable from the address_inspect and *_lookup tools.

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?

Opens with an explicit trigger question ('what address is behind this ENS name or Basename (or vice versa)?') that tells the agent exactly when to reach for it. It gives no when-not guidance or pointers to related tools (e.g. address_inspect for contract-level data), so it falls short of the 5 bar.

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