Skip to main content
Glama

Cito API

Player Form

player_form
Read-onlyIdempotent

Tennis player form: W/L record over the last N completed matches, current win/loss streak, and per-match rows (opponent, score, surface). Optional surface filter (Hard/Clay/Grass).

When to use:

  • "How is X playing lately?"; current streak; surface-specific record (e.g. clay last 5).

Prefer over: player_profile (identity + career aggregates, no streak); raw form via call_api for agent-normalized rows.

Do not use when: career totals/titles → player_profile with game tennis (wires /stats); ranking deltas → rankings_movers.

Tennis-only. Limit defaults to 10 (max 50, matching the API). Rows arrive newest-first; the streak is the leading run of that order.

Parallel-safe: yes. API calls: 1.

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": {
      "game": "<game>",
      "playerId": "<playerId>"
    },
    "name": "player_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2".
limitNoRecent-match window (default 10, max 50).
surfaceNoFilter to one surface: Hard, Clay, or Grass.
playerIdYesTennis player id, e.g. "atp_207989".

Output Schema

NameRequiredDescriptionDefault
okYestrue if the tool succeeded
dataNoResult payload when ok is true; null on error
metaYes
errorNo
partialNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / game / description
      Previous value: -"Game title: lol | cs2 | dota2 | cod | ufc | tennis | valorant. Example: \"cs2\"."New value: +"Game title: lol | cs2 | dota2 | cod | ufc | tennis. Example: \"cs2\"."
    • changedInput schema / properties / game / enum
      Previous value: -[
      -  "lol",
      -  "cs2",
      -  "dota2",
      -  "cod",
      -  "ufc",
      -  "tennis",
      -  "valorant"
      -]New value: +[
      +  "lol",
      +  "cs2",
      +  "dota2",
      +  "cod",
      +  "ufc",
      +  "tennis"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / game / description
      Previous value: -"Game title: lol | cs2 | dota2 | cod | ufc | tennis. Example: \"cs2\"."New value: +"Game title: lol | cs2 | dota2 | cod | ufc | tennis | valorant. Example: \"cs2\"."
    • changedInput schema / properties / game / enum
      Previous value: -[
      -  "lol",
      -  "cs2",
      -  "dota2",
      -  "cod",
      -  "ufc",
      -  "tennis"
      -]New value: +[
      +  "lol",
      +  "cs2",
      +  "dota2",
      +  "cod",
      +  "ufc",
      +  "tennis",
      +  "valorant"
      +]
  3. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false. Beyond that the description discloses tennis-only scope, the limit default/max, newest-first ordering, the derivation rule for the streak, parallel-safety and an API-call count of 1 — real operational context. It stops short of describing failure behavior (unknown playerId, empty history) or payload size, so it is strong but not exhaustive.

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?

Front-loaded one-line intent followed by labeled when/prefer/do-not-use blocks and short operational facts — easy to scan. A few lines restate structured data (surface values, max 50), which is minor redundancy but not waste.

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?

For a read-only, 4-parameter scoped query with an output schema, the definition covers scope, defaults, ordering, filtering, sibling routing and cost. Nothing needed to invoke it correctly is missing, and return-value shape is correctly delegated to the output schema.

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 description coverage is 100%, so the baseline is 3, and the description adds genuine meaning: the limit is described as a 'recent-match window' matching the API cap, and the streak is defined as the leading run of the newest-first ordering, which the schema does not convey. The surface enumeration is repeated rather than extended, so it falls short of 5.

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 names a specific resource (tennis player form) and enumerates exactly what is returned: W/L record over the last N completed matches, current win/loss streak, and per-match rows with opponent, score and surface. It is distinguishable from player_profile and player_matches without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit 'When to use' block with example phrasings, a 'Prefer over' line naming player_profile and raw call_api with the reason (career aggregates, no streak; agent-normalized rows), and a 'Do not use when' block routing career totals and ranking deltas to the correct siblings. Routing is fully resolved.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources