Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

apitennis_h2h

Read-onlyIdempotent

Compare head-to-head history and recent form between two tennis players using their unique player keys. Retrieve past match results and performance trends to support betting decisions.

Instructions

Head-to-head history between two players, plus each one's recent form.

Returns: {success:1, result:{H2H:[{event_key, event_date, event_first_player, event_second_player, event_final_result, tournament_name}], firstPlayerResults:[…], secondPlayerResults:[…]}} — SHAPE FROM VENDOR DOCS. Note result here is an OBJECT, not a list like the other methods.

NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.

Example: Two players' H2H {"method": "get_H2H", "first_player_key": 1905, "second_player_key": 1903}

Auth: needs your own key in API_TENNIS_KEY.

Also answers this: apisports_football_h2h, nba_stats_call, nbl_match_outcomes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoLeave as-is (note the capital H2H).get_H2H
first_player_keyYesFirst player key.
second_player_keyYesSecond player key.
Behavior5/5

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

The description adds valuable context beyond annotations: the return shape, a warning that the shape is unverified and approximate, a note that `result` is an object unlike other methods, and authentication requirements via API_TENNIS_KEY. This helps set expectations and avoids surprises when inspecting the live payload.

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?

The description is multi-line but well-organized: purpose, return shape, caveat, example, and auth. Each section adds information, though the 'Also answers this' line adds some noise and could be removed. It is appropriately front-loaded with the main purpose.

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?

The description covers the return shape, provides an example, states authentication requirements, and includes an honest caveat about unverified shape. Missing details like error behavior or exact structure of 'recent form' are placeholders, but for a read-only H2H tool this is fairly complete, especially given the example and annotations.

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 100%, so parameter meaning is already clear from the input schema. The description adds an example with concrete keys (1905, 1903) and a note about the `method` parameter's capitalization, but it does not substantially extend the schema's descriptions or explain the semantics of player keys beyond 'First player key.'

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 opens with 'Head-to-head history between two players, plus each one's recent form,' clearly stating the resource and the action. It distinguishes this tool from other tennis tools by focusing on H2H, and the 'Also answers this' line, while ambiguous, points to related sibling tools.

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?

The description implies usage for head-to-head queries but does not explicitly state when to use this tool over alternatives or when not to. The 'Also answers this' line hints at overlap with other tools but lacks clear selection guidance, such as 'Use apisports_football_h2h for football matches.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server