Skip to main content
Glama

Nightshift Labs: link, token & signature pre-checks

ens_resolve

Read-only

Resolve ENS and Basenames (name.eth, name.base.eth): name → address, or address → primary name with forward verification, plus text records (avatar, description, url, twitter, github, email). Price: $0.003 USDC on Base per call (x402).

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": {
      "q": "<q>"
    },
    "name": "ens_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesENS/Basename (e.g. vitalik.eth, jesse.base.eth) or a 0x address for reverse lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, but the description adds important behavior beyond that: it discloses x402 payment of $0.003 USDC on Base per call, reverse lookup with forward verification, and returned text-record categories. It does not cover rate limits, failure modes, or payment-error behavior.

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?

The definition is a single front-loaded sentence with no filler. The parenthetical record list and payment note are useful, though the sentence is dense and could be slightly easier to scan.

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 one-parameter resolver with no output schema, the description adequately explains both lookup directions and the types of records returned. It also discloses the payment requirement, though it leaves some uncertainty around exact response shape and edge-case behavior.

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 100%, so the single q parameter is already documented as accepting an ENS/Basename or 0x address for reverse lookup. The description reinforces the accepted formats and lookup modes but adds little parameter-level meaning beyond the schema.

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 description uses a specific verb and resource: resolve ENS and Basenames, including both name-to-address and address-to-primary-name lookups plus text records. It is clear what the tool does, but it does not explicitly differentiate itself from sibling domain or wallet tools.

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 naming ENS/Basenames and both lookup directions, but there is no explicit guidance on when to use this instead of domain_dns, domain_whois, wallet_screen, or other siblings. The agent must infer the appropriate context from the description.

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.