Skip to main content
Glama
lacausecrypto

Sports Hub MCP Server

mlb: Get game linescore

mlb_get_game_linescore
Read-onlyIdempotent

Fetch the inning-by-inning line score for an MLB game using its gamePk to view each team's scoring.

Instructions

Get the line score (inning-by-inning scoring summary) for a game.

Input Schema

NameRequiredDescriptionDefault
fieldsNoKeys to keep (comma-separated).
game_pkYesThe unique game ID (gamePk)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Keys to keep (comma-separated).",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered by structured data. The description adds only the definition of 'line score'; it says nothing about response shape, pagination, or whether a game must be in progress/finished, which is the kind of context an annotation can't provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the parenthetical earns its place by defining a sport-specific term the agent may not know.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool the annotations plus schema cover most needs, but with no output schema the description could have sketched what a linescore contains (per-inning runs per team) or noted game state requirements. It stops at the definition.

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%, with game_pk and fields both documented inline, so the schema carries the burden. The description adds no extra meaning about the game_pk format or the fields projection syntax, so the baseline 3 applies.

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?

States a specific verb (Get) and resource (line score) and disambiguates the term with a parenthetical definition ('inning-by-inning scoring summary'). It does not, however, distinguish itself from close siblings like mlb_get_game_boxscore or mlb_get_game_play_by_play, which an agent will likely see side by side.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, and no reference to alternative tools. An agent must infer from the name alone that this is the inning-by-inning view rather than the boxscore or play-by-play.

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

Deploy Server

Other Tools