Skip to main content
Glama
getodds-mcp

getodds-mcp

Official

Search events by team name

search_events
Read-onlyIdempotent

Find games by team name using case-insensitive partial matches across home and away teams, returning event IDs, teams, and start times to pass to odds or line history tools.

Instructions

Find games by team name: literal, case-insensitive substring match over home and away names in retained events, which can include past games. Returns event ids, teams and start times to pass to get_odds or get_line_history; it returns no prices. Needs GETODDS_API_KEY.

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": {
      "q": "<q>"
    },
    "name": "search_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPart of a team name, at least 2 characters, for example "Lakers".
limitNoRows to return, 1 to 200 (default 25).
sportNoLeague code in upper case, for example NBA. Omit for every league.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Rows to return, 1 to 200 (default 25)."
    • addedInput schema / properties / q / description
      Added value: +"Part of a team name, at least 2 characters, for example \"Lakers\"."
    • addedInput schema / properties / sport / description
      Added value: +"League code in upper case, for example NBA. Omit for every league."
  2. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations, the description adds important behavior: substring matching semantics, coverage of home and away names, retained events that may include past games, returned fields, absence of prices, and the API key requirement. This gives an agent substantial operational context without repeating the annotation hints.

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 definition is front-loaded with the core action and stays compact. Every clause adds useful information: matching behavior, retained/past data, return value, absence of prices, and auth requirement.

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 three-parameter read-only search tool with no output schema, the description is complete enough to call correctly. It explains the matching behavior, return shape, downstream use, data coverage, and authentication requirement.

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 schema already documents all three parameters. The description still adds meaningful matching semantics for the required q parameter by specifying literal, case-insensitive substring matching over both home and away names, though it does not add further detail for limit or sport.

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 states a specific verb and resource: find games by team name. It clarifies the match is literal and case-insensitive over home and away names, and it distinguishes itself from odds siblings by saying it returns no prices.

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 gives clear context: use it to find games by team name, then pass event ids to get_odds or get_line_history. It also signals when not to use it by stating that it returns no prices. It stops short of explicitly naming all search alternatives or exclusions.

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