Skip to main content
Glama

prepare_finalize

Prepare the post-purchase FINALIZE transactions for a Basename you now own: reclaim management rights, set the resolver, and point the name at your address (optionally set it as your primary name). A sale transfers the NFT but NOT the ENS registry management — until reclaim runs, the PREVIOUS owner can still change the name's resolver and records. Run this straight after a fill. Returns ordered calldata; the agent's own wallet signs and submits, and every call is msg.sender-enforced on-chain so the package is only usable by the owner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesthe name you own, e.g. 'alice' or 'alice.base.eth'
ownerYesthe address that now owns the name — must match on-chain ownerOf
marketIdYesa name market id, e.g. 'basenames'
setPrimaryNoalso set this as the owner's primary name (ReverseRegistrar.setName)

TDQS

A4.1/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 it does meaningful work: it warns that the previous owner retains control until reclaim runs, states that the result is ordered calldata to be signed and submitted by the agent, and notes every call is msg.sender-enforced. It could go further by stating that resolver/records may be overwritten, so I don't give it a 5.

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 description is front-loaded with the purpose and uses clear structure. It is slightly redundant in places ('post-purchase' vs 'after a fill', and the ownership restriction stated several ways), but every sentence contributes useful information.

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 prepare-style tool with no output schema, it covers the essentials: what the returned package is (ordered calldata), who signs/submits it (agent's own wallet), and the ownership constraint. It doesn't spell out the exact response shape or the order/sequence of the calldata calls, but given the tool's moderate complexity this is sufficient.

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?

The schema already describes all four parameters with 100% coverage, so the description is not required to re-explain them. It adds contextual color—'point the name at your address' and 'optionally set it as your primary name'—but no parameter-specific semantics beyond the schema.

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 names the exact action (prepare FINALIZE transactions), the target resource (a Basename the agent now owns), and the concrete steps (reclaim management rights, set resolver, point name at address, optionally set primary). This clearly differentiates it from siblings like prepare_purchase and prepare_listing by marking it as the post-fill finalization step.

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?

It gives explicit when-to-use guidance: 'Run this straight after a fill' and explains the gap (sale does not transfer ENS registry management) that makes the tool necessary. It does not explicitly enumerate when not to use it or name alternatives, so it falls just short of a 5.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools map cleanly to distinct resources and actions, with the prepare_* group differentiated by their operation suffix. The main ambiguity is get_listing_details, whose description says 'one order' while the name implies a listing, so it could be confused with get_orders or get_listings.

Naming Consistency4/5

All tool names are lowercase snake_case and follow a verb-first shape using get/list/search/prepare/subscribe/unsubscribe, which is predictable. Minor inconsistencies exist: get_ and list_ are both used for read operations, and prepare_finalize/prepare_cancel pair the prepare_ prefix with a verb rather than a noun.

Tool Count5/5

15 tools is at the high end but each one earns its place: market discovery, order listing, transaction preparation, purchase/offer/cancel flows, Basename finalization, and notification management. There is no obvious padding or missing category that would make the count feel bloated.

Completeness4/5

The core marketplace lifecycle is well covered: create listings/offers, buy/accept, cancel, finalize, and query listings/orders/positions/trades/names/notifications. The most notable gap is a lack of a synchronous, first-class query for offers received on an owned listing or position; discovery of incoming offers relies on notifications or knowing the bidder's address.

Resources