Skip to main content
Glama
proplineapi

PropLine

Official

propline_get_event_stats

Retrieve per-player box-score stats for completed events, including strikeouts, points, rebounds, and shots-on-goal, independent of sportsbook lines.

Instructions

Book-agnostic raw box-score stats for a completed event. Returns per-player stats (e.g. strikeouts, hits, points, rebounds, shots-on-goal) decoupled from any sportsbook's lines. Free tier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sport_keyYes
event_idYes

Implementation Reference

  • Handler for propline_get_event_stats tool; calls client().getEventStats() with sport_key and event_id arguments.
    handler: (args) =>
      client().getEventStats(
        args.sport_key as string,
        args.event_id as string | number,
      ),
  • Input schema for propline_get_event_stats: requires sport_key (string) and event_id (string|number).
    inputSchema: {
      type: "object",
      properties: {
        sport_key: { type: "string" },
        event_id: { type: ["string", "number"] },
      },
      required: ["sport_key", "event_id"],
      additionalProperties: false,
    },
  • src/index.ts:243-263 (registration)
    Tool registration entry for propline_get_event_stats in the tools array, including name, description, inputSchema, and handler.
    {
      name: "propline_get_event_stats",
      description:
        "Book-agnostic raw box-score stats for a completed event. Returns " +
        "per-player stats (e.g. strikeouts, hits, points, rebounds, " +
        "shots-on-goal) decoupled from any sportsbook's lines. Free tier.",
      inputSchema: {
        type: "object",
        properties: {
          sport_key: { type: "string" },
          event_id: { type: ["string", "number"] },
        },
        required: ["sport_key", "event_id"],
        additionalProperties: false,
      },
      handler: (args) =>
        client().getEventStats(
          args.sport_key as string,
          args.event_id as string | number,
        ),
    },
  • PropLineClient.getEventStats() makes a GET request to /v1/sports/{sportKey}/events/{eventId}/stats.
    getEventStats(sportKey: string, eventId: string | number): Promise<unknown> {
      return this.request(`/v1/sports/${sportKey}/events/${eventId}/stats`);
    }
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states the result is 'book-agnostic' and 'decoupled from any sportsbook's lines', and notes 'Free tier', but does not mention authentication needs, rate limits, or what happens if the event is not completed. The description is too sparse given the lack of 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 composed of two concise sentences with no filler. The first sentence defines the core purpose, and the second adds relevant examples. Every word contributes value.

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?

Given the tool has only two required parameters and no output schema or nested objects, the description provides a baseline understanding. However, it lacks details on return format, error conditions, or pagination. It is minimally complete for a simple tool but leaves gaps in behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has two parameters (sport_key, event_id) with no description coverage (0%). The description does not elaborate on these parameters or their expected formats/values. While the description provides examples of returned stats, it adds no meaning to the parameters themselves.

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 'book-agnostic raw box-score stats for a completed event', specifying the verb (implicitly 'get'), resource (raw box-score stats), and scope (per-player stats decoupled from sportsbook lines). It distinguishes from siblings like propline_get_event_results or propline_get_scores by emphasizing it provides per-player stats such as strikeouts, hits, points, etc.

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

Usage Guidelines3/5

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

The description mentions the tool is for 'completed event' and is on the 'Free tier', implying it should be used for finalized events. However, it does not explicitly state when not to use this tool or provide comparisons to sibling tools (e.g., propline_get_event_results). Usage context is implied but lacks exclusions or alternatives.

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/proplineapi/propline-mcp'

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