Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

Grade bets

grade_bets
Read-onlyIdempotent

Settles up to 50 sports bets as won, lost, void, half_won, half_lost, pending or ungradeable, returning a reason, final flag and score.

Instructions

Settle up to 50 bets: each is graded won, lost, void, half_won, half_lost, pending or ungradeable, with a reason, a final flag and the score it used. Describe each bet with the fields of an odds row from get_odds (market name as served, side, hdp, label). Football settles on 90 minutes. Re-send non-final selections at most once a minute. Read-only: it does not place or change anything. 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": {
      "selections": "<selections>"
    },
    "name": "grade_bets"
  }
}

Input Schema

NameRequiredDescriptionDefault
selectionsYesBets to grade, described with the fields of an odds row from get_odds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.8.3
    • changedInput schema / properties / selections / items / properties / hdp / description
      Previous value: -"The line as served. Handicaps are stated for the home side even when the bet is on away"New value: +"The line as served, a multiple of 0.25. Handicaps are stated for the home side even when the bet is on away"
    • changedInput schema / properties / selections / items / properties / label / description
      Previous value: -"Row label as served, required for player props (e.g., 'LeBron James (Points)')"New value: +"Row label as served. Required for Player Props (e.g. 'LeBron James (Points)') and labelled markets (e.g. '2-1')"
    • changedInput schema / properties / selections / items / properties / market / description
      Previous value: -"Market name as served (e.g., 'ML', 'Spread', 'Totals', 'Corners Totals', 'Player Props')"New value: +"Market name as served on get_odds (e.g. 'ML', 'Spread', 'Totals', 'Corners Totals', 'Player Props')"
    • changedInput schema / properties / selections / items / properties / ref / description
      Previous value: -"Your own id for the bet, echoed in the answer"New value: +"Your own id for the bet (max 64 chars), echoed back"
    • changedInput schema / properties / selections / items / properties / side / description
      Previous value: -"home, away, draw, over, under, yes, no, odd, even, 1x, 12, x2 or none"New value: +"home, away, draw, over, under, yes, no, odd, even, 1x, 12, x2, none, neither, or an HT/FT pair such as draw/home. Leave out for labelled markets (correct score, exact goals)"
    • changedInput schema / properties / selections / items / properties / tieRule / description
      Previous value: -"How a level score settles a moneyline in sports where bookmakers differ"New value: +"How a level moneyline score settles in sports where bookmakers differ"
    • changedInput schema / properties / selections / items / required
      Previous value: -[
      -  "eventId",
      -  "market",
      -  "side"
      -]New value: +[
      +  "eventId",
      +  "market"
      +]
  2. Addedv1.6.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, yet the description still adds real context: the 50-selection cap, the football 90-minute settlement rule, the once-a-minute re-send guidance for non-final bets, and a paid-plan requirement. Repeating "Read-only: it does not place or change anything" is redundant with the annotations but defensible given the potentially alarming word "settle".

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 outcome enumeration is front-loaded, sentences are dense and each adds a distinct fact (fields, settlement window, rate limit, side-effect profile, plan gating). The fragment "Paid plans." and the redundant read-only sentence cost it the top score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 usefully previews the return payload (grade, reason, final flag, score used), and it covers scale limits, polling cadence and entitlement. It leaves unclear what makes a selection "final" versus pending and which bookmaker's lines govern grading, which matters for a settlement tool.

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 per-field descriptions already carry side, label, hdp and tieRule meaning. The description adds a useful cross-tool pointer that the fields must match an odds row as served by get_odds, plus the 90-minute settlement note, but offers no syntax or format detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Settle up to 50 bets") and enumerates the exact outcome vocabulary (won, lost, void, half_won, half_lost, pending, ungradeable), so an agent knows precisely what the call returns. It does not explicitly contrast itself with the sibling get_settlements, so it falls short of a 5.

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?

Usage is implied through the request shape ("Describe each bet with the fields of an odds row from get_odds") and the polling advice ("Re-send non-final selections at most once a minute"), which tells the agent how to handle pending results. There is no explicit when-to-use versus get_settlements or get_historical_odds, and no statement of what inputs will fail.

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