Skip to main content
Glama
livetennisapi-mcp

livetennisapi-mcp

Tournament detail

get_tournament
Read-onlyIdempotent

Retrieves a tournament's name, tour, surface, indoor status, host city/country and category using its stable tournament_id from match objects or tournament search results.

Instructions

One tournament by its stable id, the tournament_id carried on match objects. Name, tour, surface, indoor, plus host city/country and category where curated. Works on the FREE plan (no card needed).

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": {
      "tournament_id": "<tournament_id>"
    },
    "name": "get_tournament"
  }
}

Input Schema

NameRequiredDescriptionDefault
tournament_idYesStable tournament id, as returned by search_tournaments or carried on a match as tournament_id.

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.
tournamentNoThe tournament.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.6.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • 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 / tournament / properties / category / description
      Previous value: -"Tournament category (grand_slam, masters_1000, tour_finals, atp_500, atp_250, wta_1000, wta_500, wta_250, wta_125, challenger, itf, juniors). Set only where the catalogues agree unambiguously — null otherwise, never derived from the name."New value: +"Tournament category (grand_slam, masters_1000, tour_finals, atp_500, atp_250, wta_1000, wta_500, wta_250, wta_125, challenger, itf, juniors). Set only where the category is unambiguous. Null otherwise, never derived from the name."
    • changedOutput schema / properties / tournament / properties / city / description
      Previous value: -"Host city, from a curated table — null where not curated."New value: +"Host city, from a curated table. Null where not curated."
    • changedOutput schema / properties / tournament / properties / country / description
      Previous value: -"Host country, ISO-3166 alpha-2 — null where not curated."New value: +"Host country, ISO-3166 alpha-2. Null where not curated."
    • changedOutput schema / properties / tournament / properties / id / description
      Previous value: -"Stable tournament id — the same id match objects carry as tournament_id."New value: +"Stable tournament id, the same id match objects carry as tournament_id."
  2. Addedv1.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly spends its words elsewhere: it discloses that some fields are only present 'where curated', which is a genuinely useful data-completeness warning. It does not say what happens for an unknown or stale id (relevant given openWorldHint), leaving one behavioral gap.

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?

Two short sentences, zero waste: identity and scope first, expected payload second, availability caveat last. Every clause carries information an agent would otherwise have to infer.

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 and full annotation coverage, the description needn't enumerate return values, and it still summarizes the payload shape and its curated-partial nature. The only missing piece for a single-id lookup is failure behavior when the id is unknown.

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 adds real guidance about provenance — the id is stable and comes from search_tournaments or a match object's tournament_id. That tells the agent where to source the value, not just its type.

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 tournament by its stable id') and pins down scope as a single-entity lookup, which cleanly separates it from search_tournaments. It even pre-announces the fields returned (name, tour, surface, indoor, host city/country, category), so an agent knows what it is buying.

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?

Implies the selection condition well: use it when you already hold a tournament_id, obtained either from search_tournaments or from a match's tournament_id field. It also flags the plan constraint ('Works on the FREE plan, no card needed'). It does not name an explicit alternative or when-not-to-use case, so it falls short of a 5.

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