Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

arena_run

Start one paid-and-judged verification run: the arena funds, executes the fixed 3-call suite itself, judges it, and builds the Layer 0 write-back events. An unknown or ineligible target is answered free, before payment. Paid via x402 on Solana (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalents: POST /run (standard), POST /run/full-service, POST /run/retest. Prices (RULED): standard single-endpoint run $25; full-service run $50; re-test run $10. What the standard $25 includes: one arena-executed verification run of a single endpoint — the fixed 3-call suite (1 free pre-check call judged on challenge quality + 2 settled paid calls with per-run varied inputs, executed by the arena, never by the seller), judging on settled / delivered / payload_valid / challenge_ok with latency recorded, one verdict (pass / partial / fail) with per-dimension summaries, Layer 0 write-back events (verification evidence, delivery-proof delta, and a state recommendation on pass only), leaderboard eligibility from the same evidence, and the run record retained as digests + call records (payloads never stored). The run price is the full price of the run — constituent test-call costs are the arena's cost, not an additional charge. The $50 full-service run includes the same suite executed for EVERY paid endpoint of one service, a verdict per endpoint, a service-level dimension summary, and write-back per endpoint. The $10 re-test includes an identical suite, judging and write-back for an endpoint the same seller has already run; a re-test inside the 24h reputation window is delivered in full but flagged reputation_counted: false.

Input Schema

NameRequiredDescriptionDefault
tierNoOptional price tier: standard ($25, default), full_service ($50), retest ($10; same seller must have a prior run of the target).
run_idNoOptional: caller-chosen run id; one is generated when omitted.
seller_refNoOptional: the seller's reference for this run.
service_idYesThe Layer 0 service id to test (see arena_eligible).
endpoint_pathNoOptional: the specific paid endpoint path to test.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only mark it as a non-readOnly, open-world, non-idempotent write; the description adds the material facts an agent actually needs: payment is required via x402 on Solana with a challenge-then-retry flow, invalid targets cost nothing, payloads are never stored, and retests inside 24h are flagged reputation_counted: false. These are behaviors the annotations cannot express.

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?

Front-loaded correctly with the verb and payment mechanics, but the middle section is bloated: tier prices are stated twice (the 'Prices (RULED)' line, then again in the 'What the standard $25 includes' paragraph) and item lists are enumerated at length. The content is relevant, yet several sentences could be compressed without losing information.

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?

Despite having no output schema, the description explains what a run produces: a pass/partial/fail verdict with per-dimension summaries, latency, Layer 0 write-back events including a state recommendation on pass only, leaderboard eligibility, and retained digests/call records. Combined with the payment flow and per-tier differences, an agent has everything needed to invoke it correctly.

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 schema already documents all five parameters including tier enum and prices. The description elaborates on tier semantics (prices, retest prerequisite, full-service covering every paid endpoint of a service), but that largely repeats the schema's tier description and says nothing about run_id, seller_ref or endpoint_path. Baseline 3 fits.

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?

Opens with a specific verb+resource+scope: 'Start one paid-and-judged verification run' and immediately describes what the arena does (funds, executes, judges, writes back). This is clearly distinguishable from siblings like arena_quote, arena_eligible and arena_result, which read/price rather than execute a run.

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?

Gives concrete when-to-use conditions: an unknown or ineligible target is answered free before payment, retest requires the same seller to have a prior run of the target, and tier selection is explained. It does not explicitly route the agent to arena_quote or arena_result for pricing/lookup, so the alternatives are implied rather than named.

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