Skip to main content
Glama
livetennisapi-mcp

livetennisapi-mcp

Rankings listing

get_rankings
Read-onlyIdempotent

Retrieve the full published ranking table in rank order for ATP, WTA, or ITF, using the newest week at or before a chosen date and an optional row limit.

Instructions

The FULL published ranking table in rank order for one system, from the newest week at or before as_of. Rows carry player_name as published and a null player_id for players outside our roster, so the table has no silent holes. ATP/WTA history runs deep. The ITF circuits begin 2026-07-29. For point-in-time records of SPECIFIC players use get_player_rankings. Requires the PRO 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": {
      "system": "<system>"
    },
    "name": "get_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoYYYY-MM-DD. Serves the newest published week at or before this date. Omit for latest.
limitNoMaximum ranking rows to return (1-200).
systemYesRanking system to list. utr has no listing, because it is a rating, not a ranking.

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.
rankingsNoThe table in rank order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.6.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / as_of / description
      Previous value: -"YYYY-MM-DD — serves the newest published week at or before this date. Omit for latest."New value: +"YYYY-MM-DD. Serves the newest published week at or before this date. Omit for latest."
    • changedInput schema / properties / system / description
      Previous value: -"Ranking system to list. utr has no listing — it is a rating, not a ranking."New value: +"Ranking system to list. utr has no listing, because it is a rating, not a ranking."
    • 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.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes beyond them with substantive operational facts: rows carry published player_name and null player_id outside the roster so there are 'no silent holes', historical depth varies by tour, ITF starts 2026-07-29, and a PRO plan is required. Auth/plan requirements and data-gap semantics are not derivable from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads scope and ordering in the first clause, then each subsequent sentence delivers a distinct non-redundant fact (null player_id behavior, history depth, ITF start date, sibling routing, plan gate). No filler or restatement of the tool name.

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?

An output schema exists, so return shape needn't be re-explained, yet the description still clarifies the row-level null-player_id convention that matters for downstream reasoning. For a simple three-parameter read tool, everything needed to call it correctly and interpret coverage limits is present.

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?

With 100% schema description coverage, the schema already documents system, as_of and limit fully. The description restates the 'newest week at or before as_of' rule and the full-table framing but adds no new syntax, default, or constraint detail beyond the schema's own wording. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource ('FULL published ranking table in rank order for one system') plus the temporal scoping rule ('newest week at or before as_of'). It also explicitly differentiates itself from the closest sibling, get_player_rankings, so an agent can route without opening either 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?

Names the alternative tool and the exact condition that selects it ('For point-in-time records of SPECIFIC players use get_player_rankings'). Adds the eligibility/prerequisite condition ('Requires the PRO plan') and data-availability boundaries (ITF circuits begin 2026-07-29), which is exactly the kind of when-to-use and when-not context an agent needs.

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