Skip to main content
Glama

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

A4.1/5.0
Behavior4/5

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

Annotations already readOnlyHint=true and openWorldHint=false. The description adds the cost (10 credits) and describes the return content (recent meetings, win/loss record, average margin), providing behavioral context beyond the annotations. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences: purpose and outputs, filtering option, and cost. All information is front-loaded, with no wasted words or redundant details.

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 simple read-only comparison tool with 4 parameters and an output schema, the description covers the core purpose, filtering options, and cost. Any missing details (e.g., error conditions, exact return format) are minor given the schema 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 description coverage is 100%, so all parameters have descriptions (team1, team2, limit, season). The description mentions season filtering but does not add meaning beyond the schema's 'Season year. Omit for all-time.' It provides no extra detail on team codes or limit syntax, so it stays at the baseline of 3.

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?

The description clearly states the tool's purpose: comparing two teams' history and specifies the outputs (recent meetings with scores, win/loss record, average margin). This differentiates it from sibling tools like get_team_stats (single team) even without naming them explicitly, but it lacks an explicit sibling disambiguation.

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

Usage Guidelines4/5

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

The opening phrase 'Use to compare two teams' history' provides a clear when-to-use. It also mentions filtering by season or all-time, which guides parameter selection. However, it does not mention when not to use this tool or point to alternative sibling tools, so it lacks exclusions.

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.