Skip to main content
Glama
Tennis MCP Server (ATP, WTA, ITF & Grand Slams)

Tennis MCP Server (ATP, WTA, ITF & Grand Slams)

by Cito-GG

Get Tennis Player Match History

get_tennis_player_matches
Read-onlyIdempotent

Retrieve a paginated, newest-first match log for an ATP, WTA, Challenger, or ITF player, filtered by season, surface, or tournament, with W/L outcomes and set scores.

Instructions

Retrieve a paginated newest-first match log for one ATP, WTA, Challenger, or ITF player, filterable by season year, court surface (Hard, Clay, Grass), or tournamentId, with derived W/L outcome and set scores.

When to use:

  • Auditing a player's last N matches overall, on clay/grass/hard, or at a specific tournament (e.g. Roland Garros).

Do not use when:

  • You want aggregate career percentages or bio details; call get_tennis_player_profile instead.

  • You want only matches between two specific players; call get_tennis_head_to_head instead.

Returns: Chronological match list with opponent IDs/names, tournament, round, surface, W/L flag, and set scoreline. API calls: 1.

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": {
      "playerId": "<playerId>"
    },
    "name": "get_tennis_player_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional season year filter (e.g. 2026).
limitNoMaximum matches to return (default 20, max 50).
surfaceNoOptional court surface filter.
playerIdYesCanonical tennis player ID (e.g. "atp_207989").
tournamentIdNoOptional canonical tournament ID filter.

Output Schema

NameRequiredDescriptionDefault
okYestrue if the tool succeeded
dataNoResult payload when ok is true; null on error
metaYes
errorNo
partialNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnly, idempotent, non-destructive, openWorld), the description discloses result ordering (newest-first), pagination, derived W/L outcome, the contents of each record, and a cost signal ("API calls: 1"). Those are behavioral traits the annotations do not carry.

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 the core purpose, then uses labeled blocks for when-to-use, exclusions, and returns, which is easy to scan. The "Returns" line partially duplicates the existing output schema, a small redundancy, but the rest of the text is tight.

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?

With 5 params, one required, full schema coverage, an output schema, and rich annotations, the definition covers everything an agent needs: selection rules, alternatives, ordering, and return shape. No gaps remain for a filtered-read tool of this complexity.

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 description coverage is 100%, so the baseline is 3. The description restates the filter dimensions (year, surface values, tournamentId) but adds no syntax, format, or edge-case meaning beyond the schema, so it neither compensates nor detracts.

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 ("Retrieve a paginated newest-first match log") plus the scope of tours (ATP, WTA, Challenger, ITF) and the exact filter axes (season year, surface, tournamentId). An agent can distinguish it from profile/head-to-head tools without opening any schema.

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?

Has explicit "When to use" cases (last N matches overall, on a given surface, at a specific tournament) and an explicit "Do not use when" block that names and routes to two concrete alternatives, get_tennis_player_profile and get_tennis_head_to_head. Nothing about selection is left to inference.

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