Skip to main content
Glama
livetennisapi-mcp

livetennisapi-mcp

Player rankings as of a date

get_player_rankings
Read-onlyIdempotent

Retrieve point-in-time rankings for specific players as of a chosen date, using only records in force on or before it. Returns separate ATP, WTA, ITF, and UTR ranks or ratings.

Instructions

Point-in-time ranking records for SPECIFIC players. Per system, the newest record in force ON OR BEFORE as_of, never one dated after it. Every other ranking field in this API is the CURRENT value joined at read time. This one is the historical answer. Systems are never collapsed: ATP/WTA and the ITF circuits carry rank+points, UTR a rating. ITF and UTR history begins 2026-07-29. Requires the ULTRA plan.

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": {
      "player_ids": "<player_ids>"
    },
    "name": "get_player_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoYYYY-MM-DD. The record in force on this date. Omit for the latest known.
systemNoRestrict to one system. Omit for every system held for the player.
player_idsYesRoster player ids, as returned by search_players. Max 50.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message.
messageYesHuman-readable summary of the result, safe to relay to the user verbatim.
coverageNoWhat resolved against what was asked (players_resolved, systems_resolved, oldest_available per system). Read before trusting an empty result.
rankingsNoOne record per player × system held.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.6.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / as_of / description
      Previous value: -"YYYY-MM-DD — the record in force on this date. Omit for the latest known."New value: +"YYYY-MM-DD. The record in force on this date. Omit for the latest known."
    • addedInput schema / properties / player_ids / items / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / player_ids / items / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / coverage / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / message / description
      Previous value: -"Human-readable summary. Identical to the text content, so either half can be used alone."New value: +"Human-readable summary of the result, safe to relay to the user verbatim."
    • changedOutput schema / properties / ok / description
      Previous value: -"True when the call returned data. False for a tier wall, a missing or rejected key, or an empty result — all of which are normal states with a clear remedy, not failures."New value: +"True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
    • changedOutput schema / properties / rankings / items / properties / player_id / description
      Previous value: -"Roster player id — null on listing rows for players outside our roster."New value: +"Roster player id. Null on listing rows for players outside our roster."
    • changedOutput schema / properties / rankings / items / properties / player_name / description
      Previous value: -"Name as the ranking publisher printed it (listing rows)."New value: +"Player name as it appears in the ranking (listing rows)."
    • changedOutput schema / properties / rankings / items / properties / previous_rank / description
      Previous value: -"Rank at the preceding snapshot week (ATP/WTA only; null elsewhere)."New value: +"Rank at the preceding snapshot week (ATP/WTA only, null elsewhere)."
    • changedOutput schema / properties / rankings / items / properties / rank_movement / description
      Previous value: -"The circuit's own signed weekly movement (ITF systems only)."New value: +"Signed weekly rank movement (ITF systems only)."
    • changedOutput schema / properties / rankings / items / properties / rating / description
      Previous value: -"UTR only; null elsewhere."New value: +"UTR only, null elsewhere."
  2. Addedv1.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavioral context beyond them: the newest record in force on or before as_of, never a record dated after, systems never collapsed, per-system payload shape (rank+points for ATP/WTA/ITF vs. a rating for UTR), and the 2026-07-29 history floor for ITF/UTR. These are exactly the edge cases an agent would otherwise get wrong.

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 with the core definition, then qualifiers in rough order of importance (temporal semantics, then payload shape, then history limits, then plan gate). Dense but every sentence carries a constraint; the one mild redundancy is restating the point-in-time idea as "This one is the historical answer."

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 an output schema present the description needn't explain return shape, and it doesn't waste words there. It covers the three things an agent can't get from structured fields: temporal resolution rules, per-system payload differences, and the data-start boundary and plan requirement.

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 genuinely adds semantics: it clarifies that as_of is a strict "on or before" ceiling rather than a near-match, and that omitting system does not merge circuits. That non-collapsing detail is not inferable from the enum alone.

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?

"Point-in-time ranking records for SPECIFIC players" gives a concrete resource (ranking records), a temporal qualifier (point-in-time), and an explicit scope restriction (specific players) that distinguishes it from the bulk get_rankings sibling. The opening sentence alone lets an agent decide whether this is the right tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly frames when to reach for this tool: "Every other ranking field in this API is the CURRENT value joined at read time. This one is the historical answer" — a direct contrast that routes the agent between current vs. historical ranking lookups. It also states the ULTRA plan prerequisite. It stops short of naming get_rankings explicitly as the alternative, which keeps it from a 5.

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