Skip to main content
Glama
prizepicksapi-mcp

prizepicksapi-mcp

get_hit_rates

Read-onlyIdempotent

Calculate how often a player exceeded graded PrizePicks lines over their last N games per stat, excluding pushes and voids.

Instructions

How often one player went over graded PrizePicks lines across their last N games, per stat: over_hit_rate = over / (over + under), pushes and voids excluded. Send player or player_id. For the individual graded rows use get_results. 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

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_hit_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
lastNoMost recent graded games per stat (default 10).
statNoExact PrizePicks stat name, case-insensitive, for example Points, Pass Yards or Pts+Rebs+Asts.
tierNoWhich More-side tier to count: standard (default) or all.
leagueNoLeague code (default NBA).
playerNoExact player name, case-insensitive. Required unless player_id is sent.
player_idNoPrizePicks player id. Required unless player is sent.
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.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds behavior the annotations cannot convey: it requires PRIZEPICKS_API_KEY and, when the key is missing, returns a sign-up link instead of erroring and spends no credits. The counting rule excluding pushes and voids is also extra behavioral detail. What remains unstated is the response shape or how tiers beyond the default 'standard' affect the counts.

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?

The core definition and formula are front-loaded in the first sentence, with the sibling pointer and the credential/cost note trailing. The sign-up URL and parentheticals make it denser than needed, but each sentence contributes a distinct fact rather than filler.

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 seven-parameter read-only aggregate with no output schema, the description covers the aggregation formula, identity requirement, the raw-data alternative, auth prerequisites, and failure behavior. It is nearly complete; the main omission is what the returned per-stat structure looks like, which matters since no output schema is supplied.

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 one of the seven parameters is already documented in the schema, and the description mostly restates the player/player_id requirement. The formula and the push/void exclusion add meaning about how the numbers are computed, but they are not tied to individual parameters such as last, tier, or league. That is the expected baseline when the schema carries the parameter burden.

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 gives a precise verb and resource ('How often one player went over graded PrizePicks lines across their last N games, per stat') and spells out the exact computation (over / (over + under), pushes and voids excluded). It also names the sibling get_results as the tool for raw graded rows, so an agent can distinguish the two without opening a schema.

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 explicitly routes the agent to get_results for individual graded rows and states the identity requirement ('Send player or player_id'). What it does not say is when a hit-rate summary is the wrong choice versus siblings like get_projections or get_line_history, so the exclusion set is narrow but real.

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