Skip to main content
Glama
prizepicksapi-mcp

prizepicksapi-mcp

get_line_history

Read-onlyIdempotent

Retrieve every recorded line change for a projection, including the opening line and each old/new move with timestamps, to see how a line has moved. Use the projection id from get_projections.

Instructions

Every recorded change for one projection: opening line, then each move with old and new line and the time it was seen. Use it for "how has this line moved"; take the id from get_projections. Change-only, recorded since the line was first seen. Needs PRIZEPICKS_API_KEY (free key, no card, at https://prizepicksapi.com/sign-up); without one it returns the sign-up link and spends nothing.

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": {
      "id": "<id>"
    },
    "name": "get_line_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProjection id from get_projections.
limitNoRows per page, 1 to 200.
cursorNometa.next_cursor from the previous page, unchanged. Omit for the first page.
user_requestNoOptional, never a filter: one sentence describing what the user asked for, with no personal data. Sent as X-User-Request; never changes the data or the cost.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds the things they cannot: change-only recording semantics ('recorded since the line was first seen', so no true opening snapshot), the auth requirement (PRIZEPICKS_API_KEY, free, no card), and exactly what happens without a key (sign-up link returned, no credit spent). Disclosing auth needs and the zero-cost failure path is high-value behavioral context.

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?

Four short sentences, front-loaded with the return shape, then usage, then the recording caveat, then auth. Every clause carries information an agent needs; nothing is repeated from the schema or annotations.

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?

With no output schema, the description must describe the return payload, and it does so precisely (opening line, moves, old/new line, seen-at time). Auth, cost behavior on failure, and the historical window are all covered, so nothing an agent needs to call this correctly is missing.

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 id, limit, cursor, and user_request are all documented in the schema itself; the description only echoes that the id comes from get_projections. It adds no syntax or paging guidance beyond what the schema already states, 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?

The description names a specific resource and scope: 'every recorded change for one projection', plus the exact payload shape (opening line, then each move with old/new line and timestamp). That is far more specific than the title and lets an agent tell this apart from broad change feeds, though it never names a sibling such as get_changes or the demo variant explicitly.

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?

It gives a concrete use case in the user's own words, "how has this line moved", and a prerequisite step: 'take the id from get_projections'. It stops short of exclusions — it does not say when to prefer get_changes or demo_line_history instead — so it is clear context without full routing.

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