Skip to main content
Glama

sweep

Buy ENS names at floor prices from a collection or filter in a single Seaport transaction, with automatic selection and direct wallet delivery.

Instructions

Floor-sweep: buy the CHEAPEST N listed ENS names in a category/collection (or matching a filter) in ONE Seaport transaction.

Use this when the user wants "the cheapest N", "sweep the floor", or "buy up to X ETH of" a cohort — rather than naming specific names (that's batch_purchase).

Pick the cohort with 'category' (a collection slug like "999-club") and/or 'q'/'charType'/'minLength'/'maxLength'. Bound the sweep with 'count' (how many) and/or 'maxBudgetEth' (total spend), plus an optional 'maxPriceEth' per-name cap. It selects cheapest-first across NameWhisper, OpenSea, and Grails, then packs them into one transaction (capped at 20 names — run again to continue). NFTs are delivered directly to the buyer; Seaport skips any order that sold since discovery and refunds the excess. The response reports what was swept (with marketplace + price), the total, and how many matched but fell outside the bound.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoLabel text filter (substring), e.g. "punk" to sweep names containing punk.
countNoHow many names to sweep, cheapest-first (max 20 per tx). Defaults to 10 if no budget is given.
categoryNoCollection slug to sweep (e.g. "999-club", "10k-club", "three-letter"). Comma-separate for multiple. Optional if q/charType/length is given.
charTypeNoRestrict to a character class.
maxLengthNoMaximum label length.
minLengthNoMinimum label length.
maxPriceEthNoPer-name price cap — skip any listing above this so a pricey outlier just off the floor is not swept up.
maxBudgetEthNoTotal ETH budget — keeps buying up the floor until adding the next cheapest would exceed this.
walletAddressYesBuyer wallet address — receives all swept names.
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 reveals that the tool selects cheapest-first across NameWhisper, OpenSea, and Grails, packs into one transaction, caps at 20 names, skips orders that sold and refunds the excess, and reports the swept items and totals. This is rich, specific behavioral context beyond just 'sweep'.

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?

The description is front-loaded with a one-sentence definition, then moves to usage guidance, parameter explanation, and execution/response details. Every sentence is substantive with no fluff or repetition. The structure is logical and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 9 parameters, no annotations, and no output schema, the description is remarkably complete. It explains how to configure the sweep, the marketplaces used, the transaction packing, the cap and continuation, the refund behavior, and the exact contents of the response (marketplace + price, total, and out-of-bound count). This is enough for an agent to know when and how to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema descriptions cover each parameter individually, the description adds meaningful synthesis by grouping parameters into cohort filters (category, q, charType, minLength, maxLength) and bounds (count, maxBudgetEth, maxPriceEth). It explains how count and maxBudgetEth interact, the count default, and the 20-name cap. This cross-parameter guidance is valuable 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 clearly states what the tool does: buys the cheapest N listed ENS names in a category or matching a filter, in one Seaport transaction. It distinguishes itself from the batch_purchase tool by explicitly contrasting 'cheapest N' vs. naming specific names, and references the sibling tool by name.

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?

Provides explicit when-to-use guidance: 'Use this when the user wants "the cheapest N", "sweep the floor", or "buy up to X ETH of" a cohort' and explicitly names the alternative (batch_purchase) for specific-name purchases. It also walks through how to select a cohort and bound the sweep, giving clear context for when this tool is appropriate.

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