Skip to main content
Glama
sharpapi-mcp

sharpapi-mcp

Official
by Sharp-API

compare_odds

Read-only

Compare sportsbook prices side by side for one event's market, selection, and line using an event id to spot pricing differences.

Instructions

Compare prices across sportsbooks for one event: one row per market, selection and line, listing each book's price side by side. Pass market to compare one market, e.g. "moneyline". An event carries thousands of rows across all its markets: an answer over about 100 kB is cut to its first rows and carries a truncated note with the full row count. Use list_events to find the event id.

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

Input Schema

NameRequiredDescriptionDefault
marketNoMarket id from get_markets, e.g. "moneyline" or "point_spread". Comma-separate for several. Matched whole against each row's market_type; when nothing matches, the answer lists the ids the event does carry as available_markets.
event_idYesEvent id from list_events
market_segmentNoContest slice, e.g. "full_game", "1st_half". Comma-separate for several.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations: it warns that an event carries thousands of rows, that answers over about 100 kB are cut to the first rows, and that a `truncated` note reports the full row count. It also explains the available_markets fallback behavior when a market id does not match. These are exactly the operational traits an agent needs to avoid misreading a partial result.

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?

Front-loads purpose and output shape, then usage, then the truncation caveat, then the event-id pointer — a sensible ordering with no filler. Four sentences are dense but each carries distinct information; only the market example slightly duplicates the schema.

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?

With no output schema, the description carries the burden of explaining the return shape and does so, plus truncation limits and the no-match fallback. The one gap is what an agent should do after hitting truncation — there is no stated way to page past the first rows or reduce volume other than the market filter.

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 event_id, market, market_segment, comma-separation and the available_markets fallback in detail. The description only restates the market parameter's purpose ('pass market to compare one market'), adding no syntax or filtering nuance beyond the schema, which is the expected baseline here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (compare prices across sportsbooks for one event) and, unusually, the exact output grain: 'one row per market, selection and line, listing each book's price side by side.' That output shape helps separate it from odds siblings, though it never names an alternative such as get_event_odds or get_best_odds to draw the line explicitly.

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?

Gives two concrete usage cues: pass market to narrow to one market, and use list_events to obtain the event id prerequisite. It does not say when to prefer this over the many other odds tools, nor when not to call it (e.g. for a single book or best-price lookups), so guidance is implied rather than explicit.

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