Skip to main content
Glama
livetennisapi-mcp

livetennisapi-mcp

Results archive (1968–2022)

search_archive_matches
Read-onlyIdempotent

Search completed ATP and WTA match results from 1968–2022 by player, tour, date range, level, or round to answer historical tennis questions.

Instructions

Search the results archive: completed-match RESULTS from 1968 through 2022. ATP and WTA, main draws, qualifying and the ITF/futures tiers. Each record has winner and loser, final score, and seeds and ranks AT THE TIME of the match. Use this for historical questions ("Borg's Wimbledon finals"). The archive ends 2022-12-31, where the current results (get_recent_results) begin. Requires the BASIC plan or any History plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_archive_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest tournament START date, YYYY-MM-DD.
fromNoEarliest tournament START date, YYYY-MM-DD.
tourNoatp or wta.
levelNoTier code: G=grand slam, M=masters, A=tour, F=finals, D=davis cup, C=challenger, O=olympics. Or a futures category code (e.g. 15).
limitNoMaximum results to return (1-200).
roundNoRound code, e.g. F for finals.
player_nameNoCase-insensitive fragment of EITHER player's name, min 3 chars, e.g. "borg".

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.
resultsNoArchive results, newest tournament first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed38 schema fields changedv1.6.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / level / description
      Previous value: -"Source tier code: G=grand slam, M=masters, A=tour, F=finals, D=davis cup, C=challenger, O=olympics, or a futures category code (e.g. 15)."New value: +"Tier code: G=grand slam, M=masters, A=tour, F=finals, D=davis cup, C=challenger, O=olympics. Or a futures category code (e.g. 15)."
    • 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 / results / items / properties / event_date / description
      Previous value: -"The tournament START date — per-match dates do not exist in this era’s records."New value: +"The tournament START date. Per-match dates do not exist in this era's records."
    • changedOutput schema / properties / results / items / properties / level / description
      Previous value: -"Source tier code: G, M, A, F, D, C, O, or a futures category code."New value: +"Tier code: G, M, A, F, D, C, O, or a futures category code."
    • removedOutput schema / properties / results / items / properties / loser / properties / age / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/age"
    • addedOutput schema / properties / results / items / properties / loser / properties / age / description
      Added value: +"Age at the time of the match."
    • addedOutput schema / properties / results / items / properties / loser / properties / age / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / country / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/country"
    • addedOutput schema / properties / results / items / properties / loser / properties / country / description
      Added value: +"3-letter country code."
    • addedOutput schema / properties / results / items / properties / loser / properties / country / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / entry / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/entry"
    • addedOutput schema / properties / results / items / properties / loser / properties / entry / description
      Added value: +"Draw entry where recorded (WC, Q, LL, ...). Null for direct acceptances."
    • addedOutput schema / properties / results / items / properties / loser / properties / entry / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / hand / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/hand"
    • addedOutput schema / properties / results / items / properties / loser / properties / hand / description
      Added value: +"\"R\" or \"L\"."
    • addedOutput schema / properties / results / items / properties / loser / properties / hand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / height_cm / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/height_cm"
    • addedOutput schema / properties / results / items / properties / loser / properties / height_cm / description
      Added value: +"Height in cm, where recorded."
    • addedOutput schema / properties / results / items / properties / loser / properties / height_cm / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / name / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/name"
    • addedOutput schema / properties / results / items / properties / loser / properties / name / description
      Added value: +"Player name as the corpus records it."
    • addedOutput schema / properties / results / items / properties / loser / properties / name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / player_id / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/player_id"
    • addedOutput schema / properties / results / items / properties / loser / properties / player_id / description
      Added value: +"Corpus person id. Join it to search_archive_players results for bios. NOT a roster player id."
    • addedOutput schema / properties / results / items / properties / loser / properties / player_id / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / rank / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/rank"
    • addedOutput schema / properties / results / items / properties / loser / properties / rank / description
      Added value: +"Rank AT THE TIME of the match, as published."
    • addedOutput schema / properties / results / items / properties / loser / properties / rank / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / results / items / properties / loser / properties / seed / $ref
      Removed value: -"#/properties/results/items/properties/winner/properties/seed"
    • addedOutput schema / properties / results / items / properties / loser / properties / seed / description
      Added value: +"Seeding, where seeded."
    • addedOutput schema / properties / results / items / properties / loser / properties / seed / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / results / items / properties / outcome / description
      Previous value: -"completed, retired, walkover, default or abandoned — parsed, null when unparseable."New value: +"completed, retired, walkover, default or abandoned. Parsed, null when unparseable."
    • changedOutput schema / properties / results / items / properties / tour / description
      Previous value: -"atp or wta — the results archive covers those two tours."New value: +"atp or wta. The results archive covers those two tours."
    • changedOutput schema / properties / results / items / properties / winner / description
      Previous value: -"The winner — a stored field in the corpus, never an inference."New value: +"The winner, a stored field in the corpus, never an inference."
    • changedOutput schema / properties / results / items / properties / winner / properties / entry / description
      Previous value: -"Draw entry where recorded (WC, Q, LL, …) — null for direct acceptances."New value: +"Draw entry where recorded (WC, Q, LL, ...). Null for direct acceptances."
    • changedOutput schema / properties / results / items / properties / winner / properties / player_id / description
      Previous value: -"Corpus person id — pass to search_archive_players results to join bios. NOT a roster player id."New value: +"Corpus person id. Join it to search_archive_players results for bios. NOT a roster player id."
  2. Addedv1.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered. The description still adds meaningful context beyond them: the plan requirement, the exact temporal coverage boundary, and the fact that ranks/seeds are as-of the match date rather than current. It does not describe pagination behavior or what happens when more than 200 matches match a query.

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 operation and scope, then use case, then boundary, then plan gate — a sensible order. It is dense but every clause carries information; the only slight redundancy is restating the archive's end date already implied by "1968 through 2022".

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 values, and rich annotations plus 100% schema coverage carry most of the remaining burden. The gaps are minor: no guidance on result-set paging (limit maxes at 200 with no offset) and no note on behavior for unparseable player_name fragments.

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%, so every parameter (to, from, tour, level, limit, round, player_name) is already documented with format and enum values, including that dates are tournament START dates. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 (search the results archive), pins the coverage window (1968 through 2022), enumerates the tours and tiers included, and describes what each record contains. It is clearly distinguishable from get_recent_results via the explicit 2022-12-31 boundary.

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?

Gives an explicit use case ("historical questions, e.g. Borg's Wimbledon finals") and names the alternative tool with the exact condition that selects it: the archive ends 2022-12-31, where get_recent_results begins. It also surfaces a plan prerequisite (BASIC or any History plan), which is a real gating condition for invocation.

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