Skip to main content
Glama

TradingCalc MCP: Options, Forex, Risk Stats, Prediction Markets, On-Chain & Crypto Futures

Cross Venue Arbitrage

workflow.run_cross_venue_arbitrage
Read-only

Checks 2-5 quotes for the SAME real-world binary bet across venues (or manually-supplied probabilities) for a guaranteed, direction-independent arbitrage: buy "Yes" at whichever venue quotes it cheapest, buy "No" at whichever venue quotes "Yes" most expensively (its own "No" price is assumed to be 1 minus its own "Yes" price, the standard complementary-binary convention). Reports isArbitrage, the cost to lock in $1 of guaranteed payout, guaranteed profit and ROI for a given stake, and which side to buy where. feePctPerLeg is an optional per-leg trading-fee rate that can and does erase a real-looking spread - reported honestly via isArbitrage rather than always showing a positive number. Use when user asks "can I arbitrage this bet across venues?" or "is there a risk-free profit here?". The caller asserts the venues quote the same bet; this tool does not verify that.

Input Schema

NameRequiredDescriptionDefault
quotesNoLive mode: one entry per venue, 2-5 total. Provide this OR manualProbabilitiesPct, not both.
stakeUsdYesTotal capital to deploy across both legs
feePctPerLegNoOptional per-leg trading-fee rate, e.g. 0.02 for 2% (default 0)
manualProbabilitiesPctNoManual mode: 2-5 probabilities (0.01-99.99) already known for the same bet across different venues, when you don't want a live fetch. Provide this OR quotes, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / quotes / items / properties / venue / description
      Added value: +"Prediction-market venue this quote comes from"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare this a safe read-only, open-world computation, and the description adds substantial context beyond them: the complementary-binary convention (No = 1 - Yes), that feePctPerLeg can erase an apparent spread and is reported honestly via isArbitrage, and the important caveat that the caller asserts the same bet and the tool does not verify it.

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?

Front-loads the core operation and scoping, but is a single very dense paragraph with some redundancy (the fee/spread point is stated twice) and could be broken into clearer units.

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?

No output schema exists, yet the description enumerates the returned fields (isArbitrage, locked-in cost, guaranteed profit, ROI, which side to buy where), covers assumptions and both input modes, and states the verification boundary—nothing needed to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds meaning beyond the schema by explaining that feePctPerLeg is optional and materially affects the result, and that quotes and manualProbabilitiesPct are alternatives rather than complements.

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?

States a specific verb and resource (checks quotes across venues for arbitrage) and frames the exact scope: 2-5 quotes for the SAME binary bet, with direction-independent logic. It is clearly distinguishable from siblings like run_funding_arbitrage or run_prediction_market_edge.

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?

Gives explicit trigger phrasing ("can I arbitrage this bet across venues?", "is there a risk-free profit here?") and clarifies the two input modes (live quotes vs manualProbabilitiesPct) as mutually exclusive, matching the schema's either/or design.

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.