Skip to main content
Glama
sharpapi-mcp

sharpapi-mcp

Official
by Sharp-API

get_event_odds

Read-only

Fetch odds for a single event across every covered sportsbook in one call, optionally restricted to one book to keep the response small.

Instructions

Get the odds for one event across every covered sportsbook, in one call with no pagination. A busy event holds thousands of rows, so pass sportsbook to read one book: an answer over about 100 kB is cut to its first rows and carries a truncated note with the full row count. To read one market, or to page through every row, use get_odds with event, market and cursor. Use list_events to find event ids.

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": {
      "event_id": "<event_id>"
    },
    "name": "get_event_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent id from list_events, e.g. "nfl_chiefs_ravens_2026-01-18_a4"
sportsbookNoRestrict to one book id from list_sportsbooks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.1.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, yet the description adds real behavioral detail: responses over ~100 kB are silently cut to their first rows and flagged with a `truncated` note giving the full row count. That is a non-obvious failure mode an agent must plan around. It stops short of covering rate limits or auth, so not a full 5.

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?

Three sentences, front-loaded with capability, then the volume/truncation caveat, then the alternative and prerequisite. Every sentence carries information the 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?

For a two-parameter read tool with no output schema, the description covers result volume, the truncation contract, the fallback for paging, and how to obtain ids. An agent has everything needed to call it correctly and interpret a truncated response.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a reason the schema cannot: `sportsbook` is not just a filter, it is the mitigation for truncation on busy events. The event_id guidance is left to the schema, which already points at list_events with an example.

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 a specific verb and resource — "Get the odds for one event across every covered sportsbook" — plus the scope qualifier "in one call with no pagination." It also distinguishes itself from get_odds (single market, cursor paging), so an agent can choose between them without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit routing: use this for the whole event, pass sportsbook to narrow to one book, and use get_odds when you want one market or full paging. It also names the prerequisite source for ids (list_events), covering both when-to-use and when-not-to-use.

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