Skip to main content
Glama

Head to head

get_head_to_head
Read-only

Use to compare two teams' history: recent meetings with scores, the win/loss record between them, and average margin. Filter by season or get all-time. Costs 10 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax games (default 20)
team1YesFirst team code
team2YesSecond team code
seasonNoSeason year. Omit for all-time.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
gamesYes
team1Yes
team2Yes
recordYes
total_gamesYes
avg_margin_team1Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower. The description adds a genuinely useful non-obvious trait: the operation 'Costs 10 credits', which an agent cannot infer from structured fields.

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?

A single front-loaded sentence that names the purpose first and packs in the return contents and the credit cost with no filler. Slightly dense but every clause earns its place.

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 need not explain return values, and annotations carry the safety profile; the credit cost closes the main behavioral gap. An agent has enough to call it correctly, though no sibling-routing guidance is given.

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%, so the schema already documents team1, team2, limit, and season. The description's 'filter by season or get all-time' restates the season parameter semantics but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 (compare) and resource (two teams' history) and enumerates the concrete outputs: recent meetings with scores, win/loss record, average margin. It is clearly distinct from get_games or get_team_stats in intent, but it never names or explicitly rules out a sibling.

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?

'Filter by season or get all-time' gives a usage hint for one parameter but does not say when to prefer this tool over get_games, get_team_stats, or get_game_detail. Usage is implied rather than stated.

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.