Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

mlb_linescore

Read-onlyIdempotent

Retrieve a live MLB game linescore by gamePk: per-inning runs, R/H/E totals, current inning and state, plus on-base/defense details.

Instructions

Game linescore — runs per inning, R/H/E totals, current inning + state, and on-base/defense for live games.

Returns: {currentInning, inningState, isTopInning, innings:[{num, home:{runs,hits,errors}, away:{...}}], teams:{home:{runs,hits,errors}, away:{...}}}

Auth: none needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gamePkYesGame id. Required — part of the URL path.
timecodeNoPoint-in-time snapshot (YYYYMMDD_HHMMSS).
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint. The description adds the exact return shape, states 'Auth: none needed,' and clarifies it is for live games — useful behavioral context beyond annotations.

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?

The description is front-loaded with a concise summary, followed by a compact return-shape snippet and an auth note. No wasted words; every sentence adds value.

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 simple read-only tool with full schema coverage and no output schema, the description covers the return structure, auth, and live-game scoping. It is complete enough for an agent to use correctly, though it doesn't discuss edge cases like non-existent gamePk.

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% — both gamePk and timecode are already well-described in the schema. The description's return structure indirectly clarifies how parameters affect the result, but it adds no parameter-specific semantics, so baseline 3 is appropriate.

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 clearly states the tool returns a game linescore with runs per inning, R/H/E totals, and current inning state. The resource is specific ('Game linescore') and distinct from sibling tools like mlb_boxscore or mlb_live_feed.

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

Usage Guidelines4/5

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

The phrase 'for live games' provides clear context on when this tool is appropriate. However, it does not explicitly name alternatives or state when not to use it, so it lacks explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server