Skip to main content
Glama

ScorpTech x402 Tools

Ens Resolve

ens_resolve
Read-onlyIdempotent

Resolve an ENS name to its Ethereum address (plus optional text records like avatar, url, com.twitter), or reverse-resolve an address to its forward-verified primary ENS name. Read-only, public RPC. Returns JSON with: direction, chain, name, node, resolver, resolution, address, texts. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/ens-resolve

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
nameNoENS name, e.g. vitalik.eth (ASCII names)
textsNoText record keys to fetch on forward lookup, e.g. avatar,url,com.twitter (comma-separated)
addressNo0x address for reverse lookup (use instead of name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is structured data. The description adds what annotations cannot: a paid call at $0.005 USDC per successful call via x402 on Base or Solana, the fact that resolution rides a public RPC, that reverse results are forward-verified, an HTTPS endpoint equivalent, and the exact JSON shape returned. Pricing and payment-rail information is critical invocation context that appears nowhere else.

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?

Purpose is front-loaded in the first sentence, with behavior, return shape and commerce details following in a logical order. There is some redundancy, since the text-record examples appear in both the description and the schema, and the enumerated JSON field list is dense, but nothing is genuinely wasted.

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 three-parameter, zero-required, annotation-covered read tool, the description supplies everything an agent needs: both directions, the payment requirement and network, return field names, and an alternate transport. With no output schema present, the inline field list usefully stands in for it.

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%, so the baseline is 3. The description's mention of optional text records such as avatar, url and com.twitter largely repeats the schema's own texts description, and it does not add syntax detail (e.g. comma-separated handling) beyond what is already documented per parameter.

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 specific verb and resource and covers both directions: forward resolution of an ENS name to an address (with optional text records) and reverse resolution of an address to a forward-verified primary name. It also names the return envelope fields (direction, chain, name, node, resolver, resolution, address, texts), so an agent knows exactly what capability it is selecting.

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 two modes are stated with the selector implied by the inputs ('or reverse-resolve an address'), and the schema reinforces that address is used instead of name. There is however no explicit exclusion or prerequisite guidance beyond that, and no statement about which sibling tool to use if the name is unsupported or on another chain.

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