Skip to main content
Glama

AcesAPI

get_head_to_head

Read-only

Use for two players' head to head: wins each, sets won, wins by surface and in finals, and every meeting with its score. Walkovers are listed but not counted as wins; incomplete records are not counted. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 3 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leagueNoLeague. Defaults to tennis. One of: tennis, wta.
player_idYesFirst player id.
opponent_idYesSecond player id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tourYes
matchesYes
playersYes
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.