Skip to main content
Glama

Cito UFC & MMA API

Head To Head

head_to_head
Read-onlyIdempotent

Head-to-head record between two teams, two UFC fighters, or two tennis players. Tennis reads the tennis head-to-head route; other games filter match history server-side.

When to use:

  • Rivalry / series record questions

  • Supporting context for previews

Prefer over: agent-side double match-list filtering.

Do not use when: single-side form only → team_profile or player_profile.

Caveat: Dota filters are weaker; expect meta.warnings when data is sparse.

Tennis: pass entityType "player" with sideA and sideB (ids like atp_207989, or names). This tool has no players param; for three or more players use h2h_matrix, which does. limit pages the meetings list only (max 50); every tally covers all meetings. In the payload current_rank is null when a player is not on the tour's latest list: read last_rank. The tiebreak and level_breakdown keys are in data.h2h.

CS2: bestOf narrows the meetings AND the record to one series length ("3" = their BO3s; limit 1 = their last BO3).

Parallel-safe: yes. API calls: 2–4. Example: { "game": "cs2", "sideA": "faze", "sideB": "navi", "limit": 20 }

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>",
      "sideA": "<sideA>",
      "sideB": "<sideB>"
    },
    "name": "head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO-8601 upper bound on meeting startTime (client filter).
fromNoISO-8601 lower bound on meeting startTime (client filter).
gameYesGame title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2".
limitNoMax meetings returned.
sideAYesId or slug for side A (tennis: atp_207989 or a player name).
sideBYesId or slug for side B (tennis: atp_206173 or a player name).
bestOfNoCS2 only: series length, 1, 3 or 5, or a comma list ("3,5"). "3" returns BO3 matches only (filtered by the API, so paging stays right).
entityTypeNoteam (default), fighter (UFC), or player (tennis).team

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. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real operational context beyond them: parallel-safety, expected API call count (2–4), game-specific caveats (weaker Dota filters producing meta.warnings), and the tennis payload fallback where current_rank is null and last_rank should be read. It also clarifies that limit pages only the meetings list while every tally covers all meetings, which prevents a common misinterpretation.

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 with a one-line purpose, then clearly labeled When/Prefer/Do-not/Caveat blocks, closing with a concrete example call. The tennis and CS2 paragraphs are dense and slightly overlapping in places (routing explanation plus id format plus rank fallback), but nearly every sentence carries actionable information.

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?

With 8 parameters, an output schema, and full annotations, this description covers the remaining gaps an agent needs: which sibling to use instead, per-game special cases, sparse-data warnings, and payload key caveats. Nothing required to invoke it correctly appears to be missing.

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; the description earns above that by explaining semantics the schema does not, notably that limit affects only the paginated meetings list while aggregate tallies span all meetings, and that CS2 bestOf narrows both the meetings and the record (with limit 1 meaning 'their last BO3'). It also gives concrete entityType usage for tennis ids/names. Slightly short of 5 because from/to filtering is left entirely to the schema text.

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 opening sentence names a specific resource (head-to-head record) and its scope across three entity kinds (teams, UFC fighters, tennis players), and explicitly routes tennis to its own path. It distinguishes itself from team_profile/player_profile and h2h_matrix by function, so an agent can tell what it returns without opening the 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?

Contains explicit when-to-use bullets (rivalry/series questions, preview context), an explicit 'prefer over' (agent-side double match-list filtering), and an explicit 'do not use when' with named alternatives (team_profile, player_profile). It also routes the 3+ players case to h2h_matrix, which is the strongest form of alternative routing.

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