Skip to main content
Glama
mcp-tennis

mcp-tennis

head_to_head

Retrieve the career matchup record between two ATP or WTA players by passing their player IDs, so you can compare their historical results.

Instructions

Career head-to-head record between two players (ATP and WTA). Pass each player's id separately. (get a player's id from search_player)

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": {
      "p1_id": "<p1_id>",
      "p2_id": "<p2_id>"
    },
    "name": "head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
p1_idYes
p2_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Record' implies a safe read, and the wording indicates two required ids, but nothing is said about the return shape (win counts vs match list), pagination, or coverage limits for career spans.

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, front-loaded with the purpose and followed by the operational hint. No wasted wording.

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?

For a two-parameter lookup with no output schema, the description covers purpose, scope (ATP/WTA), and id sourcing. The main remaining gap is what the returned record actually contains, which an agent must discover by calling.

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 coverage is 0%, so the description must compensate, and it partially does by clarifying that each id goes in its own parameter and where ids come from. It does not specify the id format (numeric string? tour-qualified?) or whether the two parameters are order-sensitive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Career head-to-head record between two players (ATP and WTA)'. It is clear what the tool returns and that it spans both tours, though it doesn't explicitly contrast with recent_matches, which could be confused with a head-to-head lookup.

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?

Gives a concrete prerequisite and routing hint: get each player's id from search_player, and pass ids separately. It lacks any when-not guidance or note about mixing ATP and WTA players, but the usage context is clear.

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