Skip to main content
Glama
UFC & MMA MCP Server (Live Fights, Cards, Stats & Rankings)

UFC & MMA MCP Server (Live Fights, Cards, Stats & Rankings)

by Cito-GG

Get UFC Fighter Head-to-Head History

get_ufc_head_to_head
Read-onlyIdempotent

Check whether two UFC fighters have fought before and retrieve their series record, event dates, finish methods, rounds, and bout IDs.

Instructions

Retrieve all past MMA/UFC meetings between two fighters, including overall series record, event names, dates, finish methods, rounds, and boutIds.

When to use:

  • Checking whether two UFC fighters have fought previously (rematch/trilogy history).

Do not use when:

  • Building a full pre-fight tale-of-the-tape comparison when the fighters may never have met; call get_ufc_fight_preview instead.

Returns: Head-to-head win-loss tally and chronological list of prior bouts between fighterA and fighterB. API calls: 1-2.

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": {
      "fighterA": "<fighterA>",
      "fighterB": "<fighterB>"
    },
    "name": "get_ufc_head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum prior bouts returned (default 10, max 25).
fighterAYesFirst UFC fighter slug or name (e.g. "alex-pereira").
fighterBYesSecond UFC fighter slug or name (e.g. "israel-adesanya").

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 observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the expected cost ('API calls: 1-2') and the returned structure, plus the implicit warning that two fighters may have no shared history. It stops short of saying what happens in that zero-meeting case (empty record vs. error), which is the remaining gap.

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 definition is front-loaded with purpose, then cleanly sectioned into when-to-use, do-not-use, and returns bullets — easy to scan. The only waste is mild redundancy between the opening sentence's list of returned fields and the 'Returns' paragraph, which restates the same tally-and-bout-list information.

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?

With an output schema present, the description needn't document return values, yet it does so briefly without bloat, and it covers alternatives and call cost. The one missing piece for a three-parameter, read-only tool is the empty-result behavior when the two fighters have never met, which an agent would otherwise have to discover at runtime.

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 description coverage is 100%, with fighterA/fighterB examples of slug format and limit's default/min/max fully documented in the schema. The description only re-references 'fighterA and fighterB' as the pair to compare and never mentions the limit parameter or slug format, so it adds no meaning beyond the structured fields. Baseline 3 applies.

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 a specific verb and resource: 'Retrieve all past MMA/UFC meetings between two fighters,' then enumerates the payload (series record, event names, dates, finish methods, rounds, boutIds). It is immediately distinguishable from siblings like get_ufc_fight_preview, which it explicitly names as the different tool.

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 provides an explicit 'When to use' clause (checking rematch/trilogy history) and a 'Do not use when' clause that names the correct alternative, get_ufc_fight_preview, for tale-of-the-tape comparisons where the fighters may never have met. Both the selection condition and the exclusion are stated, leaving nothing to inference.

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