Skip to main content
Glama

x402-mcp

spot_micro_compute_auction

Spot Micro-Compute & Ephemeral Sandbox Auction Engine. Bids on dynamic spot compute and executes sandboxed JavaScript/WASM runtimes with cycle metering and USDC settlement. Requires $0.01 USD fee. [Price: $0.01 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": "spot_micro_compute_auction"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoCode string to execute in isolate
actionYesCompute operation to execute
maxBidUSDNoMaximum bid in USD
timeoutMsNoExecution timeout in ms (default: 2500, max: 10000)
runtimeTypeNoRequested compute isolate runtime
paymentProofNox402 payment proof object
environmentVarsNoEnvironment variables to pass into sandbox
reservationTokenNoAllocated compute reservation token

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?

No annotations, so the description carries the full burden. It helpfully discloses the $0.01 USD fee, cycle metering, and USDC settlement, but says nothing about whether bids lock funds, how paymentProof is validated, whether execution is irreversible, or what happens on timeout. Credit for the cost and settlement model, significant gaps on the mutation/payment lifecycle.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Short and front-loaded but wasteful: the price is stated twice (in prose and again as a bracketed '[Price: $0.01 USD]'), and the leading 'Spot Micro-Compute & Ephemeral Sandbox Auction Engine' is a title restatement rather than information. The saved space was not spent on the missing workflow guidance.

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

Completeness3/5

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

For an 8-parameter, multi-action tool with two nested objects, no annotations, and no output schema, the description should map which parameters belong to which action and what each action returns. It conveys the domain and cost but leaves the action workflow undocumented.

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 the baseline applies; every parameter including timeouts, runtimeType, and paymentProof is already documented in the schema. The description adds no action-to-parameter mapping, which is the one thing the schema cannot convey for a four-way action enum with 8 params.

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?

Names specific verbs and resources: bidding on spot compute plus executing sandboxed JavaScript/WASM with cycle metering and USDC settlement. That is far more than a restatement of the name, but it covers only two of the four enum actions (get_spot_pricing and release_worker go unmentioned) and offers no differentiation from the sibling isolated_code_sandbox.

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?

No when-to-use framing at all: nothing says whether to bid before executing, whether a reservationToken from bid_runtime is required for execute_isolated, or when to prefer the sibling isolated_code_sandbox. The only implicit guidance is the cost note, which is not usage guidance.

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