Skip to main content
Glama
Odds-API MCP Server

Odds-API MCP Server

Official

List market names

get_markets
Read-onlyIdempotent

List exact market names, shapes, periods, and prematch/live availability per sport so odds queries use valid names before fetching odds.

Instructions

List the exact market names served per sport, with shape (moneyline, line, outcomes, yesno, labelled), period, and whether each is served prematch and live. Call it before passing markets to any odds tool; names must match in full, e.g. 'ML' not 'Match Winner', 'Totals' not 'Over/Under'. Omitting sport returns every sport (large).

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

Input Schema

NameRequiredDescriptionDefault
sportNoSport slug from get_sports (e.g. 'football', 'basketball', 'tennis')
fieldsNoOptional comma-separated fields to keep per market (e.g. 'name,live')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.3
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Optional comma-separated fields to keep per market (e.g. 'name,live')",
      +  "type": "string"
      +}
    • changedInput schema / properties / sport / description
      Previous value: -"Sport slug (e.g., 'football', 'basketball', 'tennis')"New value: +"Sport slug from get_sports (e.g. 'football', 'basketball', 'tennis')"
    • changedInput schema / required
      Previous value: -[
      -  "sport"
      -]New value: +[]
  2. Addedv1.6.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds the useful behavioral facts that results include shape, period, and prematch/live flags, and that an unfiltered call produces a large payload. It stops short of saying how large or whether results are cached, but the extra context is substantive.

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 tight sentences: what it returns first, the workflow constraint second, the fallback behavior third. No filler, and the most decision-relevant information is front-loaded.

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?

There is no output schema, yet the description still tells the agent the shape of each returned market record (name, shape, period, prematch/live), which is exactly what is needed to consume the result. Combined with the prerequisite guidance and the size warning, nothing essential for correct invocation is missing.

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 real meaning the schema lacks: omitting 'sport' returns every sport and is a large response, and it reinforces that market names must match exactly for downstream use. The 'fields' projection parameter is left to the schema, which documents it adequately.

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 ('List the exact market names served per sport') and enumerates the returned attributes (shape, period, prematch/live), which cleanly separates it from the odds-fetching siblings in the tool list.

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 an explicit prerequisite workflow ('Call it before passing markets to any odds tool') and a hard constraint on matching ('names must match in full, e.g. "ML" not "Match Winner"'). It also warns that omitting sport returns everything and is large, which is when-not-to-use guidance for the default case.

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