Skip to main content
Glama

get_arbitrage

Find live cross-venue arbitrage opportunities — markets where the same event trades at different prices on Polymarket vs Kalshi vs other venues. Can also estimate fee-normalized net spread for a position size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
venue_aNoOptional venue filter for one side of the arbitrage pair, e.g. polymarket
venue_bNoOptional venue filter for the other side of the arbitrage pair, e.g. kalshi
include_feesNoWhether to include estimated fee/friction normalization
position_sizeNoUSD position size used for fee/slippage estimation
min_spread_pctNoMinimum spread in percentage points (default 4 = 4¢)

TDQS

A3.7/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 mentions live opportunities and fee normalization, but lacks details on data freshness, rate limits, or behavior when no arbitrage exists.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the core purpose, and contains no extraneous information.

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?

No output schema exists, yet the description does not explain the return format or fields, leaving the agent uncertain about what data to expect from the opportunities.

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 parameters. The description adds general context but does not significantly enhance understanding beyond the schema.

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?

The description clearly states the tool finds live cross-venue arbitrage opportunities and specifies the venues (Polymarket, Kalshi), distinguishing it from sibling tools like get_quote or get_history.

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

Usage Guidelines3/5

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

The description implies usage for identifying arbitrage and optionally estimating fee-normalized spread, but does not explicitly state when to use this tool versus alternatives or when not to use it.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: deep link generation, arbitrage detection, historical data, live quotes, unmet demand discovery, and market routing. No two tools overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (execute_url, get_arbitrage, get_history, get_quote, get_unmet_demand, route_market), making them predictable and easy to differentiate.

Tool Count5/5

Six tools is well-scoped for a prediction market surveillance and trading facilitation server. Each tool covers a distinct aspect of the domain without unnecessary bloat or insufficiency.

Completeness5/5

The tool set covers the full lifecycle from market discovery (route_market, get_arbitrage, get_unmet_demand) to data analysis (get_history, get_quote) to action (execute_url), with no obvious gaps given the server's stated purpose.

Resources