Skip to main content
Glama

arena_flash_arbitrage

Executes zero-pre-margin, intra-tick atomic flash arbitrage by minting and selling or buying and redeeming on Bonding-Curve Spot or BoundedClaim markets via POST /flash_arb or 64B TCP wire.

Instructions

Execute zero-pre-margin intra-tick atomic Flash Arbitrage (mint+sell or buy+burn/redeem) on a Bonding-Curve Spot or BoundedClaim market via POST /flash_arb or 64B TCP wire.

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": {
      "side": "<side>"
    },
    "name": "arena_flash_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
stpNocancel_resting
sideYes
symbolNo
qty_lotsNo
is_marketNo
market_idNo
account_idNo
amount_baseNo
min_profit_usdNo
limit_price_usdNo
use_binary_wireNo
min_profit_microNo
limit_price_ticksNo
express_surplus_bid_bpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.9.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses zero-pre-margin, intra-tick atomicity, and the POST /flash_arb or 64B TCP wire path. However, it omits important behavioral details for a complex mutation tool: auth requirements, failure/revert behavior, profitability enforcement, and what happens when conditions are not met.

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?

The definition is a single dense sentence with no filler, and the core operation is front-loaded. The jargon is heavy but the structure is efficient. It could be made more readable without losing conciseness.

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 complex 14-parameter atomic arbitrage tool with no annotations and no output schema. One sentence cannot cover the parameter meanings, execution constraints, risk behavior, and expected results. The description is therefore materially incomplete for correct invocation.

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

Parameters2/5

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

There are 14 parameters with 0% schema description coverage, so the description must compensate. It only indirectly hints at the side semantics through 'mint+sell or buy+burn/redeem' and says nothing about stp, qty_lots, min_profit_usd, limit_price_usd, express_surplus_bid_bps, or the other fields. This leaves most parameters undocumented.

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 states a specific verb and resource: execute atomic Flash Arbitrage on Bonding-Curve Spot or BoundedClaim markets. It distinguishes the operation from ordinary order placement by naming the atomic mint+sell or buy+burn/redeem paths. It does not explicitly contrast with siblings, but the purpose is still clear.

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?

The description implies use for atomic flash arbitrage on two market types but gives no explicit when-to-use or when-not-to-use guidance. It does not say how this differs from previewing or placing orders, nor does it mention prerequisites or conditions that make this tool appropriate.

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