Skip to main content
Glama
proplineapi

PropLine

Official

propline_list_event_markets

Retrieve all prop market types available for a given event, such as h2h, spreads, totals, or player points. Helps identify which markets are offered before placing bets.

Instructions

List the market types available for a specific event (e.g. h2h, spreads, totals, player_points, pitcher_strikeouts). Useful when you don't know which prop markets a given event carries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sport_keyYes
event_idYes

Implementation Reference

  • The handler function for propline_list_event_markets that calls client().listEventMarkets() with sport_key and event_id arguments.
    handler: (args) =>
      client().listEventMarkets(
        args.sport_key as string,
        args.event_id as string | number,
      ),
  • Input schema for propline_list_event_markets: requires sport_key (string) and event_id (string or number).
    inputSchema: {
      type: "object",
      properties: {
        sport_key: { type: "string" },
        event_id: { type: ["string", "number"] },
      },
      required: ["sport_key", "event_id"],
      additionalProperties: false,
    },
  • src/index.ts:110-130 (registration)
    Full tool definition registration in the tools[] array, including name, description, inputSchema, and handler.
    {
      name: "propline_list_event_markets",
      description:
        "List the market types available for a specific event (e.g. h2h, " +
        "spreads, totals, player_points, pitcher_strikeouts). Useful when " +
        "you don't know which prop markets a given event carries.",
      inputSchema: {
        type: "object",
        properties: {
          sport_key: { type: "string" },
          event_id: { type: ["string", "number"] },
        },
        required: ["sport_key", "event_id"],
        additionalProperties: false,
      },
      handler: (args) =>
        client().listEventMarkets(
          args.sport_key as string,
          args.event_id as string | number,
        ),
    },
  • The helper method in the PropLineClient class that makes the actual REST API request to GET /v1/sports/{sportKey}/events/{eventId}/markets.
    listEventMarkets(sportKey: string, eventId: string | number): Promise<unknown> {
      return this.request(`/v1/sports/${sportKey}/events/${eventId}/markets`);
    }
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states the action (list) and gives examples, but fails to disclose whether the operation is read-only, what happens with invalid inputs, or any side effects.

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 concise with two sentences: the first clearly states the purpose with examples, and the second adds a usage context. No unnecessary words.

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 lack of output schema and annotations, the description covers the basic purpose and a usage scenario. However, it does not specify the return format or error handling, which would be helpful for an agent.

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 zero description coverage, and the tool description does not explain the meaning or format of the required parameters (sport_key, event_id). The examples in the description are for the output, not the parameters.

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 it lists market types for a specific event with concrete examples (h2h, spreads, etc.), and the verb 'list' combined with 'market types' distinguishes it from sibling tools that handle odds, results, or stats.

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 description includes a usage hint ('Useful when you don't know which prop markets...'), implying when to use it. However, it does not explicitly mention when not to use it or provide alternatives among the siblings.

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