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 Head-to-Head Rivalry

get_tennis_head_to_head
Read-onlyIdempotent

Retrieve ATP or WTA head-to-head records between two tennis players, including overall W-L, surface splits, and past meeting scores for matchup analysis.

Instructions

Retrieve the complete ATP or WTA head-to-head rivalry record between two tennis players, including overall series tally, surface-by-surface split (Hard, Clay, Grass), and historical meeting scorelines.

When to use:

  • Pre-match matchup analysis (for example "Carlos Alcaraz vs Jannik Sinner head-to-head on hard court").

Do not use when:

  • Inspecting a single player's match history against all opponents; call get_tennis_player_matches instead.

Returns: Overall W-L record, surface breakdown, and chronological list of past meetings between playerA and playerB. API calls: 1-2.

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": {
      "playerA": "<playerA>",
      "playerB": "<playerB>"
    },
    "name": "get_tennis_head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum past meetings to return (default 20, max 50).
playerAYesFirst tennis player ID or full name (e.g. "atp_207989" or "Carlos Alcaraz").
playerBYesSecond tennis player ID or full name (e.g. "atp_206173" or "Jannik Sinner").
surfaceNoOptional surface filter to restrict meetings to Hard, Clay, or Grass.

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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by disclosing expected cost ('API calls: 1-2') and the shape of the response (overall W-L, surface breakdown, chronological meetings). It does not mention authentication or rate-limit constraints, which keeps it just below the top score.

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: purpose first, then bulleted when-to-use and when-not sections, then returns and cost. The 'Returns' line partially duplicates the existing output schema, which is minor waste but does not obscure the core guidance. Overall tight and easy to scan.

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 rich annotations, a fully documented 4-parameter schema, and an output schema, the description covers everything an agent needs: purpose, selection criteria against a named sibling, surface breakdown, and call cost. No material gaps remain for a read-only two-player lookup tool.

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% and all four parameters (including the surface enum and limit bounds) are documented in the schema itself. The description's example query ('head-to-head on hard court') lightly illustrates the surface filter but adds no syntax or format meaning beyond what the schema provides. Baseline 3 is appropriate.

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 opens with a specific verb and resource ('Retrieve the complete ATP or WTA head-to-head rivalry record between two tennis players') and enumerates the outputs (overall tally, surface split, historical scorelines). It also explicitly differentiates itself from get_tennis_player_matches, so an agent can distinguish it from siblings 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?

It provides both a positive trigger ('Pre-match matchup analysis', with a concrete hard-court example) and an explicit exclusion with a named alternative ('Do not use when: Inspecting a single player's match history... call get_tennis_player_matches instead'). Both the when and the when-not are stated, leaving nothing to inference.

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