Skip to main content
Glama
underdog-api-mcp

underdog-api-mcp

Official

Change feed

get_changes
Read-onlyIdempotent

Fetch an ordered feed of sports betting board changes—opened, moved, repriced, suspended, closed, restored, and alternate updates—with before/after values and cursor-based pagination.

Instructions

Ordered feed of board changes: line.opened, line.moved, line.repriced (multiplier), line.suspended, line.closed, line.restored, alternates.changed, each with before and after values. Store meta.next_cursor and pass it back to get only newer changes. For one market use get_line_history. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
statNoExact machine stat slug, for example points, rebounds or passing_yards (get_coverage lists them).
limitNoRows per page, 1 to 200.
sinceNoOnly changes observed at or after this ISO 8601 time.
cursorNometa.next_cursor from the previous page, sent with the same filters. Omit for the first page.
leagueNoSport code in upper case from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS; comma-separate several. Omit for all.
event_typeNoOnly one event type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"meta.next_cursor from the previous page, with the same filters"New value: +"meta.next_cursor from the previous page, sent with the same filters. Omit for the first page."
    • changedInput schema / properties / event_type / description
      Previous value: -"For example line.moved"New value: +"Only one event type."
    • addedInput schema / properties / event_type / enum
      Added value: +[
      +  "line.opened",
      +  "line.moved",
      +  "line.repriced",
      +  "line.suspended",
      +  "line.closed",
      +  "line.restored",
      +  "alternates.changed"
      +]
    • changedInput schema / properties / league / description
      Previous value: -"League code from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS"New value: +"Sport code in upper case from get_coverage, for example NBA, NFL, NHL, CBB, CFB, TENNIS, CS; comma-separate several. Omit for all."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows per page"New value: +"Rows per page, 1 to 200."
    • changedInput schema / properties / since / description
      Previous value: -"ISO timestamp"New value: +"Only changes observed at or after this ISO 8601 time."
    • addedInput schema / properties / stat
      Added value: +{
      +  "description": "Exact machine stat slug, for example points, rebounds or passing_yards (get_coverage lists them).",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior, so the description's added context is the real value: it documents auth requirements, the degraded response without a key (returns sign-up link), and the credit-free nature of that failure path. It also discloses the response shape (before/after values, meta.next_cursor), though it does not state retention windows or ordering guarantees in depth.

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?

Three sentences, front-loaded with the resource and event list, then paging, then the alternative and auth note. Dense and largely waste-free, though the inline event enumeration and parenthetical "(multiplier)" make the first sentence heavy.

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?

There is no output schema, but the description compensates by describing the payload (before/after values, meta.next_cursor) and the failure-mode response. Combined with the auth requirement and paging rules, an agent has everything needed to call this correctly on first attempt.

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 every parameter (stat, limit, since, cursor, league, event_type) is already documented with examples and bounds in the schema. The description only restates cursor semantics, which the schema also covers, so it adds little beyond the structured data — baseline 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+resource ("Ordered feed of board changes") and enumerates the exact event types returned, including that each carries before and after values. An agent can tell immediately this is a change-log tool rather than a snapshot tool like get_board.

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 explicit operational guidance for paging ("Store meta.next_cursor and pass it back to get only newer changes") and names the alternative for a narrower scope ("For one market use get_line_history"). Prerequisites are also spelled out via the API key requirement.

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