Skip to main content
Glama

cancel_offer

Cancel an active ENS offer to release WETH. Provide the Seaport order hash and optional sibling hashes to invalidate the offer in one transaction.

Instructions

Cancel an active offer you made on an ENS name. Returns unsigned Seaport cancel() calldata.

Only the bidder (the order's offerer) can cancel. If the offer was cross-posted to OpenSea, you signed a second 'opensea' variant — pass BOTH order hashes as alsoCancel so one tx kills both.

Cancelling releases the WETH you'd committed to the offer — the buyer's wallet keeps its WETH balance free to bid elsewhere once the Seaport order is invalidated.

For cancelling your own listings, use cancel_listing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderHashYesSeaport order hash of the offer to cancel (from get_name_details or the orderbook)
alsoCancelNoSibling order hashes to cancel in the same tx (e.g. the OpenSea-variant of an NW offer). Cancelling N orders costs barely more than cancelling one.
walletAddressYesWallet address of the bidder. Must match the original offerer on the order.
Behavior5/5

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

With no annotations, the description carries full behavioral burden and delivers: it discloses the returned unsigned calldata, the invariance that only the bidder can cancel, the need to include sibling hashes for cross-posted offers, and the WETH-release effect. This is rich, non-obvious behavioral context.

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?

Four short, purposeful sentences; front-loaded with the core purpose, followed by constraints, effects, and alternative. Every sentence earns its place without 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?

Given no output schema, the description adequately explains the return value (unsigned calldata), prerequisites, and effects. It could slightly improve by explicitly noting how the calldata should be used (e.g., signed and submitted), but for a narrow, well-scoped tool this is nearly complete.

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% with detailed descriptions for all parameters (orderHash source, alsoCancel variant handling, walletAddress match constraint). The tool description adds a bit of narrative context (e.g., 'pass BOTH order hashes...') but largely restates what the schema already documents, so it stays at the baseline for fully covered schemas.

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 uses a specific verb and resource: 'Cancel an active offer you made on an ENS name' and immediately clarifies the output ('Returns unsigned Seaport cancel() calldata'). It also distinguishes this from the sibling cancel_listing tool by naming the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states when to use the tool (only by the bidder/offerer), handles the OpenSea cross-post edge case with alsoCancel, and explicitly directs to cancel_listing for listings. This is strong when-to-use and alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eggybug42069/namewhisper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server