Skip to main content
Glama

Lumify Sports Intelligence

get_period_odds

Read-onlyIdempotent

Get first-half / first-five / first-set lines and live progress for an NFL, NCAAF, NBA, NCAAB, MLB, soccer, or tennis event. Joins persisted first_half_spreads / first_half_totals mains to this-event period scores (1H = Q1+Q2, NCAAB or soccer native 1H; MLB F5 = innings 1–5; tennis S1 = first-set games) and grades the period, not the full game. GET /odds / get_odds stay on moneyline/spread/total. Period lines refresh about hourly and freeze at kickoff. Returns available:false with no charge if no period mains have been ingested. Other sports return HTTP 400.

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": {
      "event_id": "<event_id>"
    },
    "name": "get_period_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent id, from list_events, query_events, or search results.

Output Schema

NameRequiredDescriptionDefault
clockNoGame clock from the live score snapshot.
sportNoSport slug: nfl, ncaaf, nba, ncaab, mlb, soccer, or tennis.
periodNoCurrent period from the live score snapshot.
statusNoEvent status (scheduled, inprogress, delayed, final, …).
event_idNoLumify event ID.
availableNoFalse when no first-half / first-five / first-set mains have been ingested; period_odds is empty and the call isn't billed.
period_oddsNoOne row per (scope, market, line). Fields: scope (1H, F5, or S1), market (first_half_spreads / first_half_totals), line (home-perspective for spreads), home_score, away_score, current (totals only), current_margin (spreads only), pct_of_line, settleable, scope_complete, result (totals), home_result / away_result (spreads), books ({book_slug: {home, away} or {over, under}}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed3 schema fields changed
    • changedOutput schema / properties / available / description
      Previous value: -"False when no first-half / first-five mains have been ingested; period_odds is empty and the call isn't billed."New value: +"False when no first-half / first-five / first-set mains have been ingested; period_odds is empty and the call isn't billed."
    • changedOutput schema / properties / period_odds / description
      Previous value: -"One row per (scope, market, line). Fields: scope (1H or F5), market (first_half_spreads / first_half_totals), line (home-perspective for spreads), home_score, away_score, current (totals only), current_margin (spreads only), pct_of_line, settleable, scope_complete, result (totals), home_result / away_result (spreads), books ({book_slug: {home, away} or {over, under}})."New value: +"One row per (scope, market, line). Fields: scope (1H, F5, or S1), market (first_half_spreads / first_half_totals), line (home-perspective for spreads), home_score, away_score, current (totals only), current_margin (spreads only), pct_of_line, settleable, scope_complete, result (totals), home_result / away_result (spreads), books ({book_slug: {home, away} or {over, under}})."
    • changedOutput schema / properties / sport / description
      Previous value: -"Sport slug: nfl, ncaaf, nba, ncaab, or mlb."New value: +"Sport slug: nfl, ncaaf, nba, ncaab, mlb, soccer, or tennis."
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses refresh cadence (about hourly, frozen at kickoff), the no-charge failure mode ('Returns available:false with no charge if no period mains have been ingested'), and the out-of-scope error (HTTP 400). It also explains grading semantics – the period is graded, not the full game – which the annotations cannot convey.

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 purpose, then routing, cadence, and failure behavior – all sentences earn their place. It is somewhat dense, packing internal table names (first_half_spreads / first_half_totals) and three period-definition formulas into single clauses, which costs a little readability.

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?

An output schema exists, so return values need no explanation, and the description still defines how each period is computed (1H = Q1+Q2, MLB F5 = innings 1–5, tennis S1 = first-set games). For a single-parameter, one-endpoint tool this is fully adequate.

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?

Only one parameter exists and the schema already documents it at 100% coverage, including its source tools (list_events, query_events, search results). The description adds no further meaning about event_id, so the baseline of 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 and resource (period lines and live progress: first-half, first-five, first-set) and enumerates the sports covered. It explicitly distinguishes itself from GET /odds / get_odds, which 'stay on moneyline/spread/total', so an agent can separate this from its obvious sibling without opening either schema.

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?

Gives the positive selection condition (need period markets rather than full-game lines) and the negative one (other sports return HTTP 400), plus a direct routing statement to get_odds for moneyline/spread/total. When-to-use, when-not-to-use, and the alternative are all present.

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.