Skip to main content
Glama

Lines against book prices

compare_lines
Read-onlyIdempotent

PrizePicks lines beside offered FanDuel, DraftKings, BetRivers, Novig, Kalshi and Polymarket prices for a league, with novig_fair (Novig exchange fair probability at the PrizePicks line) and edge (fair minus the PrizePicks break-even, per side). Use it to see where a line differs from the market. Free plan: prices run 5 minutes behind, and as_of is off.

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": "compare_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookNobetrivers, fanduel, draftkings, kalshi, polymarket or novig, or several comma-separated. Default all.
statNoExact PrizePicks stat name, case-insensitive, for example Points.
viewNocompact: one flat row with each price as book, side, line and number, and limit up to 1000. full: every field, limit up to 100.full
as_ofNoThe board and the prices as they stood at this instant (ISO 8601 with a time zone). Not combinable with priced_only. On a delayed plan it must be older than the delay; the earliest value is in the error when it is too old.
limitNoProjections per page. Up to 100, or up to 1000 with view=compact. A larger limit is served at the maximum and priced as the maximum; meta.limit_note then says so.
cursorNometa.next_cursor from the preceding page.
leagueNoNBA, NFL, NHL, CFB, CBB, SOCCER, EPL, LA LIGA, SERIE A, MLS, UCL or TENNIS, or several comma-separated, for example NBA,NFL,NHL, to read them in one call (NCAAF and NCAAB are read as CFB and CBB). Esports (CS2, LOL, DOTA2, VAL, R6, COD) are accepted with PrizePicks lines only: no book we read offers esports player props, so meta.compared_sources is [] and each row is unmatched with match.reason no_book_source.
playerNoCase-insensitive substring of the PrizePicks player name.
alt_linesNofalse: only prices at the PrizePicks line plus each book main over/under line.
priced_onlyNotrue: only projections with at least one linked book price.
user_requestNoOptional, and asked for on every data call: the current user task for this call, 3 to 500 characters in one sentence, close to their words, including follow-ups and pagination. A call without it returns the same data. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / league / description
      Previous value: -"NBA, NFL, NHL, SOCCER, EPL, LA LIGA, SERIE A, MLS, UCL or TENNIS, or several comma-separated, for example NBA,NFL,NHL, to read them in one call."New value: +"NBA, NFL, NHL, CFB, CBB, SOCCER, EPL, LA LIGA, SERIE A, MLS, UCL or TENNIS, or several comma-separated, for example NBA,NFL,NHL, to read them in one call (NCAAF and NCAAB are read as CFB and CBB). Esports (CS2, LOL, DOTA2, VAL, R6, COD) are accepted with PrizePicks lines only: no book we read offers esports player props, so meta.compared_sources is [] and each row is unmatched with match.reason no_book_source."
  2. Changed2 schema fields changed
    • changedInput schema / properties / book / description
      Previous value: -"betrivers, kalshi or both comma-separated. Default both."New value: +"betrivers, fanduel, draftkings, kalshi, polymarket or novig, or several comma-separated. Default all."
    • changedInput schema / properties / book / example
      Previous value: -"betrivers"New value: +"fanduel,draftkings,novig"
  3. Changed1 schema field changed
    • changedInput schema / properties / league / description
      Previous value: -"NBA, NFL or NHL, or several comma-separated, for example NBA,NFL,NHL, to read them in one call."New value: +"NBA, NFL, NHL, SOCCER, EPL, LA LIGA, SERIE A, MLS, UCL or TENNIS, or several comma-separated, for example NBA,NFL,NHL, to read them in one call."
  4. Changed6 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Projections per page. Up to 50, or up to 1000 with view=compact."New value: +"Projections per page. Up to 100, or up to 1000 with view=compact. A larger limit is served at the maximum and priced as the maximum; meta.limit_note then says so."
    • changedInput schema / properties / user_request / description
      Previous value: -"The current user task for this call, 3 to 500 characters in one sentence, close to their words. Required on every data call, including follow-ups and pagination. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private."New value: +"Optional, and asked for on every data call: the current user task for this call, 3 to 500 characters in one sentence, close to their words, including follow-ups and pagination. A call without it returns the same data. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private."
    • removedInput schema / properties / user_request / maxLength
      Removed value: -500
    • removedInput schema / properties / user_request / minLength
      Removed value: -3
    • changedInput schema / properties / view / description
      Previous value: -"compact: one flat row with each price as book, side, line and number, and limit up to 1000. full: every field, limit up to 50."New value: +"compact: one flat row with each price as book, side, line and number, and limit up to 1000. full: every field, limit up to 100."
    • changedInput schema / required
      Previous value: -[
      -  "user_request"
      -]New value: +[]
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds real planning context: free-plan prices lag by 5 minutes and as_of is disabled, which changes how an agent should interpret or pass as_of. It does not describe pagination or the meta fields, but the delay disclosure is exactly the kind of beyond-annotation value that matters.

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 what is compared and what derived values appear, then the use case, then the plan caveat. The opening sentence is dense with six book names but nothing is wasted; the only trim would be the book enumeration.

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 an 11-parameter, no-output-schema comparison tool, the description supplies the meaning of novig_fair and edge and the delay caveat, which the schema does not. Coverage gaps remain around the matched/unmatched row semantics and pagination meta, though the schema documents cursor and limit behavior.

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 coverage is 100%, so the schema already documents book, stat, view, as_of, limit, cursor, league, player, alt_lines, priced_only and user_request thoroughly. The description adds derived-output meaning rather than new parameter meaning, so the 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 the exact resource being assembled (PrizePicks lines paired with prices from six named books for a league) and the derived fields novig_fair and edge, so the agent knows precisely what comes back. It is clearly not the raw-odds or line-history siblings, and scope (per league, per side) is explicit.

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?

Gives an explicit use case: "Use it to see where a line differs from the market." That selects it over plain odds retrieval for gap-finding. It stops short of naming alternatives (get_odds, get_line_history) or stating when not to use it, so it falls short of a 5.

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.

Resources