Skip to main content
Glama

PredictionMarketsPicks

Find Sports Arbitrage Gaps

find_arbitrage
Read-only

Use for "where is the arbitrage" and "Kalshi vs Polymarket price gaps". Cross-venue gaps on the same NFL, NBA, NHL or MLB game: Kalshi against Polymarket US (the exchange US traders use, fees included), Polymarket international as a reference. Gap in pp, WATCH/ARB signal, cheaper venue, settlement_match; near misses when nothing clears. Free: the top 3 gaps in full; Pro returns the whole board.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
minGapNoMinimum gap in percentage points to include (default 3 = WATCH threshold).

Output Schema

NameRequiredDescriptionDefault
gapsNoCross-venue gaps on the same game: venues, prices, gap in pp.
as_ofNoWhen the scan ran.
countNoGaps returned.
sourcesNo
tell_userNoShow this sentence to the user first.
timestampNo
near_missesNoGaps just under the threshold, when none cleared.
needs_inputNo
example_callNo
data_freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "as_of": {
      +      "description": "When the scan ran."
      +    },
      +    "count": {
      +      "description": "Gaps returned."
      +    },
      +    "data_freshness": {},
      +    "example_call": {},
      +    "gaps": {
      +      "description": "Cross-venue gaps on the same game: venues, prices, gap in pp."
      +    },
      +    "near_misses": {
      +      "description": "Gaps just under the threshold, when none cleared."
      +    },
      +    "needs_input": {},
      +    "sources": {},
      +    "tell_user": {
      +      "description": "Show this sentence to the user first.",
      +      "type": "string"
      +    },
      +    "timestamp": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / minGap / description
      Previous value: -"Minimum gap in percentage points to include (default 3 = WATCH threshold). Accepts a number or a numeric string (\"3\", \"3pp\", \"3%\")."New value: +"Minimum gap in percentage points to include (default 3 = WATCH threshold)."
  3. Changed2 schema fields changed
    • removedInput schema / properties / minGap / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / minGap / type
      Added value: +[
      +  "number",
      +  "string"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the readOnly/openWorld annotations: fees are included for Polymarket US, Polymarket international is reference-only, and the free tier caps output at the top 3 gaps while Pro returns the full board. It does not specify data freshness or latency, which matters for arbitrage signals.

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-loaded with the trigger use case and tightly packed with no filler. Some density costs clarity, e.g. 'settlement_match' and 'WATCH/ARB signal' are introduced without definition, though the output schema may cover them.

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?

For a one-parameter, read-only tool with an output schema, this is complete: it names venues, what fields appear in results, tier-based output limits, and fallback behavior. 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.

Parameters3/5

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

Schema coverage is 100% and minGap is already documented as 'percentage points, default 3 = WATCH threshold.' The description reinforces the pp unit and threshold semantics but adds no new meaning beyond the schema, so baseline 3 applies.

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+resource (cross-venue arbitrage gap detection) and scopes it to Kalshi vs Polymarket on NFL/NBA/NHL/MLB games, which clearly separates it from sibling tools like calculate_ev or convert_probability.

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?

Provides concrete trigger phrasings ('where is the arbitrage', 'Kalshi vs Polymarket price gaps') and scope limits (four leagues only), plus the behavior when nothing clears (near misses). It stops short of explicitly naming a sibling to use instead for EV or single-venue pricing.

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.