Skip to main content
Glama
livetennisapi-mcp

livetennisapi-mcp

Archive career aggregates

get_archive_career
Read-onlyIdempotent

Retrieve one player's archived career record from 1968-2022, covering win-loss totals by surface, level and year, titles, and available serve stats; the name must resolve to one player.

Instructions

One player's whole career over the results archive (1968 to 2022). W-L record in total and by surface/level/year, titles, and summed serve statistics. The corpus records serve stats from 1991 only, so matches_with_stats says how many matches the serve block covers. The name must resolve to one person. An ambiguous fragment returns the candidate list to choose from. Requires the BASIC plan or any History 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": {
      "name": "<name>"
    },
    "name": "get_archive_career"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPlayer name fragment, min 3 chars. Must resolve to exactly one person.

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.
spanNoCareer span inside the archive.
serveNoSummed serve stats + derived ratios. matches_with_stats states the coverage. Ratios are null where the denominator is zero.
recordNoThe W-L record.
by_yearNoPer-season W-L.
messageYesHuman-readable summary of the result, safe to relay to the user verbatim.
player_nameNoThe resolved player.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv1.6.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / name / description
      Previous value: -"Player name fragment, min 3 chars — must resolve to exactly one person."New value: +"Player name fragment, min 3 chars. Must resolve to exactly one person."
    • 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 / record / properties / by_level / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "losses": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "wins",
      -        "losses"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "losses": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "wins": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "wins",
      +        "losses"
      +      ],
      +      "type": "object"
      +    },
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / record / properties / by_level / description
      Previous value: -"W-L per source tier code."New value: +"W-L per tier code."
    • changedOutput schema / properties / record / properties / by_surface / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "losses": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "wins",
      -        "losses"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "losses": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "wins": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "wins",
      +        "losses"
      +      ],
      +      "type": "object"
      +    },
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / serve / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / serve / description
      Previous value: -"Summed serve stats + derived ratios. matches_with_stats states the coverage; ratios are null where the denominator is zero."New value: +"Summed serve stats + derived ratios. matches_with_stats states the coverage. Ratios are null where the denominator is zero."
  2. Addedv1.3.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the corpus start date (1991) for serve stats, explains matches_with_stats as the coverage count for the serve block, states the ambiguity fallback (candidate list returned), and names the required subscription plan. These are exactly the non-obvious traits an agent needs.

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?

Five short sentences, front-loaded with the core purpose, then coverage caveats, resolution behavior, and access requirement in descending order of importance. No sentence is redundant.

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 fields, and the annotations cover safety. What remains — data coverage limits, name-resolution behavior, and plan gating — is fully addressed, leaving nothing an agent needs to call it correctly.

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% and already documents the name fragment and min length, so baseline is 3. The description adds resolution semantics the schema only hints at: the name must resolve to one person and an ambiguous fragment returns candidates to choose from, which is useful behavioral detail about the parameter.

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: one player's whole career aggregates over the results archive (1968–2022), enumerating W-L, titles, and summed serve stats. This clearly separates it from per-match siblings like get_archive_match and search_archive_matches.

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

Usage Guidelines3/5

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

Usage context is implied (career-level aggregation for a single player), and the plan requirement plus name-resolution constraint give practical gating. However, it never names an alternative tool or says when to prefer per-match search over this aggregate, so the agent must infer the boundary from siblings.

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