Skip to main content
Glama
sharpapi-mcp

sharpapi-mcp

Official
by Sharp-API

get_middles

Find betting middle opportunities by locating two opposite-side prices with a gap where both bets can win; results sort by quality by default.

Instructions

Find middle opportunities: two prices on opposite sides with a gap where both bets can win. Sorted by quality unless told otherwise.

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

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNo
sportNo
leagueNo
marketNo
min_sizeNoMinimum middle width in points

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are present, so the description carries the full disclosure burden. It does add one genuine behavioral fact — default ordering is by quality — but says nothing about the result shape, whether the scan is live or cached, cost/rate limits, or what happens when no middles exist. Domain-definition text substitutes for behavior rather than supplementing it.

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?

Two tight sentences, front-loaded with the purpose and jargon definition, then the default-ordering fact. No filler; near-ideal size for what it chooses to cover.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six optional parameters with near-zero schema documentation, no output schema, and no annotations means the description is the only source of meaning — and it covers neither most parameters nor the return values. An agent can guess intent but not how to filter or what it will receive.

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?

Schema description coverage is only 17% (just min_size), and 6 parameters exist. The description only hints at the default value of 'sort' ('quality'); it says nothing about sport/league/market filtering syntax, the meaning of the sort enums (ev vs probability vs middle_size), or how limit interacts with result size. With low coverage, the description should compensate and largely doesn't.

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 ('Find') and resource ('middle opportunities') and defines the domain concept ('two prices on opposite sides with a gap where both bets can win'), so an agent knows what a middle is. It doesn't explicitly contrast with the adjacent sibling get_arbitrage, which is the main confusable tool, so it stops short of a 5.

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

Usage Guidelines2/5

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

No statement of when to call this versus get_arbitrage, get_ev, or get_best_odds, and no preconditions (sport/league required? live vs pregame?). 'Sorted by quality unless told otherwise' is behavioral, not usage guidance.

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