Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

fanduel_sgp_price

Read-onlyIdempotent

Price a FanDuel same game parlay: submit two or more selections from one event and receive the correlation-adjusted combined odds. Read the isSGM entry to identify the parlay price.

Instructions

PRICE A SAME GAME PARLAY you choose — give it two or more selections from one FanDuel event and get the correlation-adjusted combined price. Read the entry with isSGM: true; the SINGLEs alongside it are the individual leg prices, not the parlay.

Returns: {respCode: 'SUCCESS', betCombinations:[{betType, isSGM, features, winAvgOdds:{trueOdds:{decimalOdds:{decimalOdds}}, americanDisplayOdds}, legCombinations:[…]}], betFailures:[…]} — VERIFIED live 2026-08-27 against NBA Boston Celtics @ Detroit Pistons (event 35928218).

READ THE isSGM: true ENTRY — IT IS THE ONLY ONE THAT IS A SAME GAME PARLAY. The response prices EVERY combination it can make from your legs, so a two-leg request comes back with two SINGLEs and one DOUBLE. The SINGLEs are the individual leg prices, not the parlay; taking the first betCombination gives you a single bet.

THE PRICE IS NOT THE PRODUCT OF THE LEGS. Verified: 2.02 and 1.87 as singles, and the SGP DOUBLE prices 3.4128 against a naive 3.7765 — a 9.6% correlation charge.

USE winAvgOdds.trueOdds.decimalOdds.decimalOdds, NOT averageOdds. The latter is a DISPLAY rounding: the same bet reads 3.41 there and 3.41275716 in trueOdds. Rounded odds compared against another book's exact ones manufacture edge that is not there.

betFailures: INVALID_COMBINATION IS USUALLY NOT ABOUT YOUR PARLAY. It says the legs cannot form an ORDINARY multi because they are from the same game — which is the whole point of an SGP. It appears alongside a perfectly good isSGM entry, so never treat its presence as failure; check for the isSGM entry instead.

NO isSGM ENTRY MEANS FANDUEL WILL NOT COMBINE THOSE LEGS. Seen live on legs whose markets were sgmMarket: true in fanduel_sb_call(event_page), so that flag is necessary and not sufficient. A leg whose runner is suspended reports RUNNER_SUSPENDED instead.

THE UPSTREAM RETURNS A betReference PLACEMENT TOKEN ON EVERY COMBINATION. It is PROJECTED AWAY here and never reaches you — this tool prices and cannot place. The stake ceilings, bonus-wallet and promotion fields are dropped with it.

Example: Price a two-leg same game parlay {"betLegs": [{"legType": "SIMPLE_SELECTION", "betRunners": [{"runner": {"marketId": "734.180521459", "selectionId": 60427}}]}, {"legType": "SIMPLE_SELECTION", "betRunners": [{"runner": {"marketId": "734.180522215", "selectionId": 7017823}}]}]}

Auth: none needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
betLegsYesThe legs: [{"legType": "SIMPLE_SELECTION", "betRunners": [{"runner": {"marketId": "734.180521459", "selectionId": 60427}}]}, …]. NOTE THE DOUBLE NESTING — `betRunners` holds objects with a `runner` key, and writing `runners` or a bare runner object binds to NOTHING: the call still returns 200 with legFailures INVALID_BET_LEG and an empty `betRunners`, so it fails silently rather than erroring. Both ids come from fanduel_sb_call(operation="event_page"): `marketId` from attachments.markets, `selectionId` from that markets `runners[]`. All legs must be from ONE event for an SGP. Two or more legs; one leg just returns that legs own price.
web_keyNoFanDuels static PUBLIC web key. Leave it alone — but do not remove it either: WITHOUT `_ak` the call still returns 200 and prices the SINGLES while silently omitting the same-game combination entirely, which is the one thing you asked for.FhMFpcPWXMeyZxOx
Install Server

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, idempotentHint=true), the description discloses critical quirks: the response contains both SINGLEs and the SGP entry, `isSGM: true` marks the parlay, odds must be read from trueOdds rather than averageOdds, `betFailures: INVALID_COMBINATION` is expected for same-game legs, and the `betReference` placement token is intentionally dropped. No contradiction with annotations exists.

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 description is front-loaded with the purpose and includes an example, but it is long and contains redundant warnings (e.g., the `isSGM: true` entry is emphasized twice). The extra length is mostly justified by the tool's non-obvious response shape and silent-failure traps, so it remains valuable despite not being tightly concise.

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?

With no output schema, the description carries the full burden of explaining return values and edge cases, and it does so thoroughly: respCode, betCombinations structure, legCombinations, betFailures meanings, RUNNER_SUSPENDED, no-isSGM behavior, and removed betReference. It also documents verification against a live event, making the tool effectively self-contained for correct invocation and result interpretation.

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 the schema already documents both parameters. The description adds value beyond the schema with a concrete worked example, the requirement that all legs be from one event, and linkage of marketId/selectionId sourcing to fanduel_sb_call. This is meaningful supplementary meaning, though the schema itself is already strong.

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 states a specific action ('PRICE A SAME GAME PARLAY'), the resource ('one FanDuel event'), and the exact result ('correlation-adjusted combined price'). It is immediately distinguishable from sibling SGM/SGP tools by naming FanDuel and emphasizing the same-game, multi-leg scope.

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?

The description clearly sets the context: use it for pricing two or more selections from one FanDuel event, and explicitly says what it cannot do ('this tool prices and cannot place'). It does not explicitly name alternative sibling tools for other books, but the FanDuel-specific scope and pricing-only nature provide strong usage boundaries.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server