Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

Quote a same game parlay

quote_sgp
Read-onlyIdempotent

Prices a 2–10 leg same-game parlay at each requested bookmaker and returns per-bookmaker statuses so you can adjust legs, retry, or choose another bookmaker.

Instructions

Prices one same game parlay (2-10 legs from one pre-match event) at each requested bookmaker, using the bookmaker's own parlay price. Call get_sgp_legs first and pass its legId values; do not invent legs. Each bookmaker returns a status: ok (price, legsMultiplied, priceAdjustmentPct, links), not_combinable, leg_unavailable, suspended, unsupported, timeout or temporarily_unavailable, plus retryable, nextAction and reason. Branch on status and nextAction: change_legs (the legs do not combine there, replace one), remove_leg (drop the legs in legIds, or the slip exceeds that bookmaker's maxLegs), refresh_legs (call get_sgp_legs again, the line may have moved), retry, retry_later (wait retryAfter seconds when set) or choose_other_bookmaker. reason is a readable sentence to show the user; its wording can change, so never branch on it (on ok the only reason is redundant_leg, with the ignored legs in legIds). Never retry a result whose retryable is false. One bookmaker failing does not fail the request. A quote can take up to 8 seconds; at most 2 run at once per account. Read-only: it does not place bets. Included in all paid plans.

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": {
      "eventId": "<eventId>",
      "bookmakers": "<bookmakers>",
      "legs": "<legs>"
    },
    "name": "quote_sgp"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsYes2-10 legs from the same event. Normally pass legId from get_sgp_legs. The explicit market/hdp/label/side form is for callers that already hold an /v3/odds row and must match it exactly
eventIdYesEvent ID from get_events or get_sgp_legs. Must be pre-match
bookmakersYesComma-separated names from list_sgp_bookmakers, max 8 per request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.1

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by enumerating the full status vocabulary, the retry/nextAction contract, the warning never to branch on reason text, the partial-failure rule ('One bookmaker failing does not fail the request'), latency ('up to 8 seconds') and the concurrency cap ('at most 2 run at once per account'). It also confirms read-only behavior and plan availability, so the agent knows the cost and safety profile.

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 what the tool does, then prerequisites, then the status/nextAction decision table, then constraints. Every sentence carries operational information, but the single dense paragraph packs many clauses together and would scan faster with the status/action pairs broken out.

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 documents the return shape in detail (status, legsMultiplied, priceAdjustmentPct, links, retryable, nextAction, reason, retryAfter). Combined with the concurrency and latency notes, an agent has everything needed to call this tool and act on its results without further sources.

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 genuine meaning by tying legId provenance to get_sgp_legs, forbidding invented legs, and clarifying that legs must come from a single pre-match event. It also explains the legIds field inside the ok/not_combinable payloads, which is return-value semantics rather than parameter semantics, so it stops short of a 5.

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 and resource: 'Prices one same game parlay (2-10 legs from one pre-match event) at each requested bookmaker, using the bookmaker's own parlay price.' The scope (leg count, single event, pre-match) and the per-bookmaker pricing model are stated up front, which distinguishes it from siblings like get_sgp_legs or get_multi_odds.

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?

Explicitly instructs 'Call get_sgp_legs first and pass its legId values; do not invent legs,' and names list_sgp_bookmakers indirectly via the schema. It also gives explicit branching rules for every failure mode (change_legs, remove_leg, refresh_legs, retry, retry_later, choose_other_bookmaker), including the negative rule 'Never retry a result whose retryable is false.'

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