Skip to main content
Glama

x402-mcp

swarm_task_auction

Autonomous Swarm Task Reverse-Auction: leader posts tasks with max budget, worker agents submit competitive bids (price, latency, SLA), automated utility scoring and x402 escrow matching. Requires $0.20 USD fee. [Price: $0.20 USD]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "swarm_task_auction"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAuction action to execute
swarmIdNoSwarm mesh identifier
auctionIdNoAuction identifier
taskTitleNoTitle of the subtask being auctioned
bidPriceUSDNoProposed execution price in USD
capabilitiesNoBidder capability tags
maxBudgetUSDNoMaximum budget allocated for the task in USD
paymentProofNox402 payment proof object
bidderAgentIdNoWorker agent submitting a bid
leaderAgentIdNoAuction creator / task leader agent ID
taskDescriptionNoDetailed specification of work required
estimatedLatencyMsNoEstimated execution latency in milliseconds
agentReputationScoreNoSelf-reported or oracle reputation score (0-100)
requiredCapabilitiesNoRequired capability tags for bidders
biddingDurationSecondsNoBidding countdown duration in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose real behavioral facts absent from structured data: a required $0.20 USD fee and x402 escrow-based matching. However, it omits critical traits for a stateful, paid mutation tool — whether the fee is per call or per action, what happens on auction expiry or failed escrow, and what a caller gets back.

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?

Two compact sentences with the core mechanism front-loaded and the fee disclosed at the end and repeated as a bracketed price marker. It is dense with useful specifics rather than filler, though the duplicated fee mention and heavy jargon (utility scoring, x402 escrow matching) cost a little clarity.

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

Completeness2/5

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

This is a 15-parameter, four-action, paid stateful tool with no annotations and no output schema, so the description should define the action lifecycle and per-action requirements. It describes the general concept and the fee but leaves the relationship between actions, required fields per action, and expected results entirely unexplained.

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 description coverage is 100%, so every parameter is already documented in the schema; baseline 3 applies. The description echoes concepts like price, latency and budget but adds no action-specific mapping (e.g. which fields CREATE_AUCTION requires versus SUBMIT_BID) that would help an agent populate the 15 fields correctly.

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?

The description names a specific mechanism (reverse auction) and both roles (leader posts tasks with a max budget, worker agents submit bids of price/latency/SLA), which is far more specific than the tool name alone. It falls short of 5 because it never distinguishes itself from the sibling spot_micro_compute_auction, which plausibly covers similar auction territory.

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

Usage Guidelines2/5

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

There is no explicit statement of when to choose this over swarm_coordinator, swarm_dag_planner, or spot_micro_compute_auction, and no guidance on when an auction is the right coordination pattern versus those alternatives. The action enum hints at a lifecycle but nothing tells the agent which context calls for CREATE_AUCTION versus SUBMIT_BID.

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.

Resources