Skip to main content
Glama
Sports Jedi MCP

Sports Jedi MCP

by IMALI-DEFI

grade_parlay

Grade a parlay by calculating confidence per leg and combined confidence and risk for moneyline, spread, and total picks. Read bet slips from screenshots and flag non-gradable props.

Instructions

Grade a parlay with the Sports Jedi Parlay Grader: confidence per leg, combined confidence and risk. Works without an API key. Legs can be moneyline (team to win), spread (team and its line, e.g. KC -3.5) or total (OVER/UNDER and the number). If the user shares a screenshot or photo of a bet slip, read every leg from the image yourself (teams, bet type, line) and grade it; do not ask them to type it. Call get_games first to find the game ids and team abbreviations for the matchups. Player props, team totals, first-half and other bets cannot be graded: list them back to the user as not graded.

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": {
      "legs": "<legs>"
    },
    "name": "grade_parlay"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that no API key is required, that unsupported markets must be surfaced as not graded, and that image input should be parsed by the agent rather than re-prompted. It stops short of describing failure behavior (e.g. what happens with an unknown gameId or a stale line) or any limits on grading.

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?

Every sentence carries information — outputs, prerequisites, accepted formats, screenshot handling, exclusion handling — with the core purpose front-loaded. It is dense but not padded; only the repeated framing around bet types is slightly redundant with the market/line definitions.

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?

For a single required array parameter with no output schema and no annotations, the description covers inputs, prerequisites, exclusions, and a rough shape of the return (per-leg and combined confidence plus risk). A short note on what a failed or partial grade looks like is the only real gap.

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?

The description explains the meaning of each market type in plain terms (moneyline = team to win, spread = team and its line such as KC -3.5, total = OVER/UNDER plus the number) and ties pick/gameId values back to get_games, adding operational meaning beyond the schema text. It does not address the omit-line fallback behavior, which is left to 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 names a specific verb and resource ('Grade a parlay') plus the engine (Sports Jedi Parlay Grader) and the outputs ('confidence per leg, combined confidence and risk'). It also scopes the accepted bet types, which distinguishes it from siblings like get_games or get_player_props.

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?

It states an explicit prerequisite workflow ('Call get_games first to find the game ids and team abbreviations') and an explicit exclusion list ('Player props, team totals, first-half and other bets cannot be graded: list them back to the user as not graded'). It also directs the screenshot-handling case rather than leaving it to inference.

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