Skip to main content
Glama

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

Player Stats

player_stats
Read-onlyIdempotent

Tennis player career statistics: W/L totals, win percentage, titles, Grand Slam and Masters titles, plus per-surface and per-level breakdowns. Optional surface/year filters.

When to use:

  • "How many titles does Alcaraz have?"; career win%; Grand Slam title count; record on clay; a season-scoped record.

Prefer over: player_profile (identity + a summary block, no breakdowns); player_matches (individual rows, no aggregates).

Do not use when: the match log → player_matches; ranking over time → player_rankings_history.

Tennis-only. Filters are surface (Hard/Clay/Grass/Carpet) and yearFrom/yearTo.

careerSummary and bySurface count singles only, at every level held (Challenger and ITF, walkovers and qualifying included), so they read higher than tour-level career records. careerSummary.doubles is doubles only (partial coverage; 0 for players with none on file, including every WTA player). careerSummary.combined is singles plus doubles where the player is listed first. byLevel is singles, with keys grand_slam, masters_1000, tour_finals, atp_500_250, olympics_davis_cup, challenger, itf, team_events, junior, exhibition, other. prizeMoneyUsd is the career total where known, null when a filter is set. 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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2".
yearToNoInclusive end year, e.g. 2026.
surfaceNoFilter to one surface: Hard, Clay, Grass, or Carpet.
playerIdYesTennis player id, e.g. "atp_207989".
yearFromNoInclusive start year, e.g. 2020.

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.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial non-obvious behavior: careerSummary and bySurface count singles at every level including Challenger/ITF, walkovers and qualifying, so figures run higher than tour-level records. It also discloses doubles partial coverage (zero for WTA players), the combined-field rule, the byLevel key set, prizeMoneyUsd being null under a filter, and API call cost.

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-loaded purpose followed by labeled sections, with no wasted prose in the routing guidance. The caveats paragraph is dense but warranted; only the repeated "Tennis-only" constraint is mild redundancy.

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?

Despite an output schema, the description supplies the interpretation rules an agent needs to read the response correctly (counting scope, doubles gaps, byLevel keys, null semantics). For a filtered aggregate tool with 5 parameters, nothing material is left ambiguous.

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 domain is restricted to tennis even though game accepts a multi-value enum, and filter behavior is tied to output semantics (prizeMoneyUsd becomes null when a filter is set). Surface values are repeated from the schema, so it does not exceed a 4.

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?

Opens with a specific verb+resource: career statistics with named fields (W/L totals, win percentage, titles, Grand Slam/Masters, per-surface and per-level breakdowns). It explicitly differentiates from player_profile and player_matches, so an agent can identify it without opening a 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?

Provides a "When to use" list with concrete example questions, an explicit "Prefer over" routing to player_profile and player_matches, and a "Do not use when" section pointing to player_matches and player_rankings_history. This is full when/when-not/alternatives coverage.

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