Skip to main content
Glama

BRAINIAC Base Chain Data

ENS and Basename resolve

chain-data_ens_resolve
Read-onlyIdempotent

Resolve an ENS or Basename to an address, or an address to a forward-confirmed primary name, via official ENS on Ethereum and Basenames on Base. Docs: https://www.brainiac.software/api/chain-data/ens-resolve Keywords: ENS resolve, vitalik.eth, Basename, jesse.base.eth, reverse ENS, primary name.

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": "chain-data_ens_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoname, string, length 3 to 255. Optional.
systemNosystem, string, one of ens, basename. Optional.
addressNoaddress, string. Optional.

Output Schema

NameRequiredDescriptionDefault
asOfNoasOf. String.
nameNoname. String.
sourceNosource. String.
statusNostatus. String.
systemNosystem. String.
addressNoaddress. String.
primaryNameNoprimaryName. String.
missing_itemsNomissing_items. Array.
forwardConfirmedNoforwardConfirmed. Boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety needs no restating. The description adds real value beyond that by specifying that reverse results are 'forward-confirmed primary names' and that resolution goes through official registries on two different chains, which affects trust in the output. It does not cover unregistered-name behavior or any rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well-formed and front-loaded with the core capability. The trailing keyword list ('ENS resolve, vitalik.eth, Basename, jesse.base.eth, reverse ENS, primary name') is largely redundant SEO-style filler that repeats terms already established, though it does reinforce 'reverse ENS' terminology.

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?

With an output schema present, return values need no explanation, and all three optional parameters are fully documented in the schema. What remains unaddressed is edge behavior an agent would want, such as what is returned when a name has no record or when both name and address are passed simultaneously.

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% and the ens/basename enum is documented there, so the schema does the heavy lifting. The description contributes only indirectly, via example values (vitalik.eth, jesse.base.eth) that hint at name formatting, and says nothing about how name, system and address interact when multiple are supplied.

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 and resource with both directions spelled out: name-to-address and address-to-forward-confirmed-primary-name. It also names the exact systems and chains (official ENS on Ethereum, Basenames on Base), which no sibling tool covers, so an agent can distinguish it immediately.

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 bidirectional phrasing plus the 'official ENS / Basenames on Base' scoping gives clear context for when this tool applies. It stops short of explicit exclusions or naming alternatives, but no sibling in the catalog performs name resolution, so the omission is low-cost.

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