Skip to main content
Glama

Cito Tennis API (ATP, WTA, ITF & Grand Slams)

Player Matches

player_matches
Read-onlyIdempotent

Tennis player match log: every archived match for one player, newest first, with opponent, tournament, round, surface and score.

When to use:

  • "Show me Shelton's last 20 matches"; full match history; every match at a given tournament; filtering a player's record by surface.

Prefer over: player_form (a W/L summary with a small window and a streak, not the log); call_api for /tennis/players/{id}/matches.

Do not use when: aggregate totals, titles, or win% → player_stats; identity → player_profile; one match's box score → match_details.

Tennis-only. Limit defaults to 20 (max 50). Rows arrive newest-first. Use surface to narrow to Hard/Clay/Grass; tournamentId pins one event.

Parallel-safe: yes. 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": {
      "game": "<game>",
      "playerId": "<playerId>"
    },
    "name": "player_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2".
limitNoMatch rows (default 20, max 50).
surfaceNoFilter to one surface: Hard, Clay, or Grass.
playerIdYesTennis player id, e.g. "atp_210097".
tournamentIdNoOnly matches at this tournament edition, e.g. "atp_2026_560".

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 observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the description correctly spends its space elsewhere: result ordering ('rows arrive newest-first'), the 20/50 limit ceiling, surface and tournamentId narrowing, and operational traits ('Parallel-safe: yes. API calls: 1'). It stops short of saying what happens when a non-tennis `game` is passed or how results beyond 50 are paginated, which is the remaining behavioral gap.

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?

Well front-loaded: a one-line purpose statement, then labeled sections for when-to-use, preference, and exclusions. Minor redundancy — the 20/50 limit is stated twice and the routing information is split across 'Prefer over' and 'Do not use when' instead of a single table-like block — but nothing is padding.

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 filtered read-only list tool with an output schema (so return shape needn't be described) and full annotation coverage, the definition supplies everything an agent needs to choose and call it: scope, ordering, defaults/ceilings, filter semantics, and call cost. The only unresolved item is the tennis-only versus multi-game enum question, which is a small edge case rather than a missing core fact.

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 coverage is 100%, so limit, surface, playerId and tournamentId are already documented; the description largely restates them ('Limit defaults to 20 (max 50)', 'surface to narrow to Hard/Clay/Grass; tournamentId pins one event'). The one genuinely additive note is result ordering, which is not a parameter. Notably, 'Tennis-only' sits uneasily with a `game` enum that also accepts lol/cs2/dota2/cod/ufc, and the description does not clarify whether those values error or are ignored.

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 first sentence gives a specific verb+resource with full scope: 'every archived match for one player, newest first' plus the exact fields returned (opponent, tournament, round, surface, score). It is immediately distinguishable from player_form (W/L summary) and match_details (single box score), which are named in the body.

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?

Provides an explicit 'When to use' block with concrete example queries, a 'Prefer over' block naming player_form and call_api with the reason each is worse here, and a 'Do not use when' block routing aggregates/titles/win% to player_stats, identity to player_profile, and single-match detail to match_details. When-to-use, when-not, and alternatives are all covered.

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.

Resources