Skip to main content
Glama

prepare_offer

Prepare a BID/offer on a position: returns the Seaport order to sign (EIP-712), the currency approval needed, and how to submit it. Name markets (basenames) take name instead of tokenId — any REGISTERED name is biddable, listed or not. The agent reads its Seaport counter, signs, and POSTs the signed order — settlement stays on Seaport.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoname markets only, e.g. 'alice' or 'alice.base.eth' — tokenId is derived
buyerYes0x address that will sign and fund the offer
tokenIdNorequired for token markets (e.g. vehydx)
marketIdYes
offerAmountYeshuman amount the seller nets, e.g. '750' — must be positive
durationDaysNo
currencySymbolYesone of the market's settlementCurrencies (see list_micro_markets)

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains that the tool returns the EIP-712 order, the currency approval needed, and submission instructions; it also clarifies the agent's role (reads Seaport counter, signs, POSTs) and that settlement stays on Seaport. This gives an agent a strong picture of what happens and what does not happen on-chain.

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?

Three sentences, each earning its place: the first states the core output, the second handles the name-market edge case, and the third describes the agent's execution path and settlement. It is front-loaded, scannable, and free of fluff.

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?

The description is quite complete for a no-output-schema tool: it covers the return artifacts, the special name-market behavior, and the submission flow. Minor gaps include not mentioning where marketId comes from or what durationDays defaults to, but these are not critical enough to prevent correct invocation.

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?

The description adds real meaning beyond the schema: the name vs. tokenId distinction, the fact that any REGISTERED name is biddable, and the note that offerAmount is the human amount the seller nets. Given 71% schema coverage, the description compensates for some gaps, though marketId and durationDays are still left mostly unexplained.

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 clearly states a specific verb+resource: it prepares a BID/offer on a position and returns the Seaport order to sign. It distinguishes itself from sibling tools like prepare_purchase, prepare_listing, and prepare_cancel by focusing on the offer/bid workflow, and it even notes that name markets take `name` instead of `tokenId`.

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 description gives clear context on when to use this tool: for bids/offers on positions, including any registered name market whether listed or not. It does not explicitly name alternatives or state 'use X instead', but the bid vs. purchase/listing/cancel contrast with sibling names makes the intended usage reasonably clear.

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