Skip to main content
Glama

Upcoming matches

get_upcoming_matches
Read-onlyIdempotent

List tennis matches scheduled to start soon, with players and tournament.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLatest play date: YYYY-MM-DD or ISO-8601; must not precede from.
fromNoEarliest play date: YYYY-MM-DD (a whole UTC day) or ISO-8601 datetime.
tourNoTour filter; each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used.
limitNoMaximum matches to return (1-200).
playerNoPlayer ids (from search_players), max 50 — keeps matches where ANY listed player is either participant.
countryNoEither participant's country — the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the call returned data. False for a tier wall, a missing or rejected key, or an empty result — all of which are normal states with a clear remedy, not failures.
matchesNoMatches due to start, soonest first.
messageYesHuman-readable summary. Identical to the text content, so either half can be used alone.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed11 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Either participant's country — the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match.",
      +  "maxLength": 3,
      +  "minLength": 3,
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Earliest play date: YYYY-MM-DD (a whole UTC day) or ISO-8601 datetime.",
      +  "type": "string"
      +}
    • addedInput schema / properties / player
      Added value: +{
      +  "description": "Player ids (from search_players), max 50 — keeps matches where ANY listed player is either participant.",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Latest play date: YYYY-MM-DD or ISO-8601; must not precede from.",
      +  "type": "string"
      +}
    • addedInput schema / properties / tour
      Added value: +{
      +  "description": "Tour filter; each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used.",
      +  "enum": [
      +    "atp",
      +    "wta",
      +    "challenger",
      +    "itf",
      +    "juniors"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / matches / items / properties / event_status
      Added value: +{
      +  "description": "How the match ended (or paused) when it did not run its course: Retired, Cancelled, Walk Over, Postponed or Interrupted. Null means completed normally OR never resolved. Branch settlement logic here.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / matches / items / properties / round_code
      Added value: +{
      +  "description": "Round in the normalized vocabulary (F, SF, QF, R16 … Q); null when the label is unrecognised, never guessed.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / matches / items / properties / tour
      Added value: +{
      +  "description": "atp, wta, challenger, itf or juniors. Null when the feed never stated one (exhibitions, team events).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / matches / items / properties / tournament_id
      Added value: +{
      +  "description": "Stable tournament id — pass to get_tournament. Null where uncatalogued.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / matches / items / properties / withdrew
      Added value: +{
      +  "description": "Completed matches only: which player retired or conceded the walkover, 1 or 2. Null means \"not a withdrawal, or no evidence\", never a guess.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / matches / items / required
      Previous value: -[
      -  "id",
      -  "tournament",
      -  "round",
      -  "player1",
      -  "player2",
      -  "score",
      -  "status",
      -  "surface",
      -  "indoor",
      -  "serving",
      -  "winner",
      -  "win_probability_p1"
      -]New value: +[
      +  "id",
      +  "tour",
      +  "tournament",
      +  "tournament_id",
      +  "round",
      +  "round_code",
      +  "player1",
      +  "player2",
      +  "score",
      +  "status",
      +  "surface",
      +  "indoor",
      +  "serving",
      +  "winner",
      +  "event_status",
      +  "withdrew",
      +  "win_probability_p1"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this as a read-only, idempotent, non-destructive operation. The description adds that the returned matches are 'scheduled to start soon' and include player and tournament information, providing minimal additional behavioral context beyond the annotations. It does not discuss date-range defaults or result volatility.

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 description is a single, concise sentence that immediately states the tool's purpose and output fields. It contains no redundant information and is easy to parse.

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?

For a read-only list tool with six optional parameters and an output schema, the description is mostly sufficient. It doesn't explain the default time window for 'soon' or clarify the relationship with get_fixtures, but the schema and annotations cover most operational details. Overall adequate but with minor gaps.

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?

The schema provides 100% coverage of all six parameters with detailed descriptions, including types, enums, and constraints. The tool description adds no parameter-specific semantics, so it does not enhance what is already in the schema. Baseline of 3 is appropriate for high schema coverage.

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?

The description clearly states the tool lists upcoming tennis matches and includes players and tournament in the output. The verb 'List' is specific and the resource is well-defined, distinguishing it from live and past-result tools. However, it does not explicitly differentiate from the sibling get_fixtures, which could overlap.

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?

The description implies that this tool should be used for retrieving future scheduled matches, but does not explicitly state when to use it over alternatives like get_fixtures or get_live_matches. No exclusions or alternative recommendations are provided, leaving the agent to infer usage from the name and description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation4/5

The tool set is largely distinct with clear resource/action pairs. Potential confusion exists between get_match and get_match_score (both return match information), and get_fixtures vs get_upcoming_matches (both list upcoming matches), but descriptions clarify the specific use cases for each.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using either 'get_' or 'search_'. This makes the API highly predictable and easy to navigate, with no stylistic deviations.

Tool Count3/5

With 24 tools, the server is on the heavy end of the typical range. The broad scope (live, archive, charting, rankings, tournaments) justifies the count, but it borders on overwhelming and requires careful categorization.

Completeness4/5

The server covers the core lifecycle of a tennis information API: searching players/tournaments, retrieving profiles/rankings, live scores and detailed match analysis, historical results, and head-to-head records. Minor gaps like tournament draws or standings are missing, but the primary use cases are well covered.