Skip to main content
Glama
mcp-tennis

mcp-tennis

recent_matches

Retrieve a specified number of an ATP player's matches on or before a given date, returning tournament, round, opponents, score, and match duration.

Instructions

Look ups recent matches on or before date (YYYY-MM-DD) of specified player by player id (get a player's id from search_player). Specify number of matches and ending date. Matches are ordered newest first. Defaults to the most recent matches; capped at 100. Returns tournament name, tournament date, round, winner name, winner seed, winner rank, loser name, loser seed, loser rank, score, minutes for each match. Currently only works for ATP Matches.

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": {
      "pid": "<pid>",
      "num_matches": "<num_matches>"
    },
    "name": "recent_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidYes
dateNo
num_matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses ordering (newest first), the default behavior, a hard cap of 100 results, and the ATP-only limitation. It does not cover failure modes such as an invalid pid or a player with no matches in range.

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?

Purpose and scope are front-loaded, and the long return-field list earns its place because there is no output schema. Minor redundancy ('Specify number of matches and ending date') and a run-on first sentence keep it from being maximally tight.

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?

Given no annotations, no output schema, and three undocumented parameters, the description supplies everything essential: parameter meaning, result ordering, defaults, the 100 cap, the returned fields, and the ATP-only constraint. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description compensates for all three parameters: pid sourcing from search_player, date as a YYYY-MM-DD ending bound (on or before), and num_matches as the count, plus the implicit 100 cap. An agent could fill the schema from the prose 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?

The description states a specific verb and resource (look up recent matches for a player) with explicit scope (on or before a date, ordered newest first). It also distinguishes itself operationally from the sibling search_player by telling the agent to obtain pid there rather than here.

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?

It clearly says when to use it (to get a player's recent matches, using an id from search_player) and how to set the ending date and count. It gives no exclusion against other match-oriented siblings such as head_to_head, so it stops short of full when-not guidance.

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