Skip to main content
Glama

Beggar Bot

basename_lookup

Basename resolve API (Base names, *.base.eth): resolve a Basename to its address, or an address to its verified primary Basename (reverse lookup / name resolve), with owner, resolver, avatar, url and twitter records. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
nameNojesse or jesse.base.eth
addressNoor 0x address (reverse)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the load and does useful work: it enumerates the returned records (owner, resolver, avatar, url, twitter), states the payment model ($0.02 USDC via x402) and the billing guarantee that only 2xx responses settle while input errors are free. Gaps remain around what happens when no reverse record exists and whether the 'verified primary' requirement can yield an empty result.

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?

Front-loaded with the identity of the tool, then the two call modes, then returned fields, then billing terms. No filler; the parenthetical aliases ('Base names', 'reverse lookup / name resolve') aid matching without bloating the text.

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 2-param tool with no annotations and no output schema, this covers the important unknowns: directionality, returned record set, and payment semantics. The one substantive omission is behavior for the degenerate case (no primary name set, or neither/both parameters supplied), which an agent would need before relying on the result.

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 100%, so the baseline is 3; the description adds real meaning beyond the schema by clarifying that reverse lookup returns the *verified primary* Basename rather than any associated name, which changes how an agent should interpret a null/empty answer. It does not explain what occurs if both or neither parameter is passed.

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?

Names the resource (Basename / *.base.eth) and both directions of the operation — forward name-to-address and reverse address-to-primary-name — plus the record types returned. That is specific and actionable. It stops short of distinguishing itself from the visible sibling basename_resolve, so an agent still has to compare the two.

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 schema fields ('jesse or jesse.base.eth' vs '0x address (reverse)'), making the two call modes inferable, but the description never states that exactly one of name/address should be supplied or when to prefer this over basename_resolve or ens_lookup. No exclusions or prerequisites are given.

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.