Skip to main content
Glama

hltv_get_head_to_head

Retrieve historical head-to-head records for two Counter-Strike teams, including per-map results and aggregated win rates, to support pre-match analysis.

Instructions

获取两支队伍的历史交手记录(H2H)。返回逐地图的对战明细(日期、赛事、地图、比分、胜负)与按地图聚合的胜率,用于赛前分析。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hltv_get_head_to_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
team1No
team2No
team1_idNo
team2_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the response shape (per-map date/event/map/score/outcome plus map-aggregated win rates), but says nothing about how team names are resolved, what happens with ambiguous or unknown names, or what limit constrains — gaps that matter for a tool with four different team-identification parameters.

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?

Two front-loaded sentences with no filler: purpose first, then return contents and use case. The second sentence is dense with enumerated fields but each item adds information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the return-field listing is technically redundant, and the real gaps are left open: name-vs-ID selection among four optional team parameters, limit semantics, and behavior when no H2H history exists. For a five-parameter, zero-required tool, an agent cannot reliably construct a correct call from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, and the description only says 'two teams' — it never explains the relationship between team1/team2 and team1_id/team2_id, which takes precedence, or that limit (default 30) bounds the number of matches returned. With none of the parameters documented anywhere, the description does not compensate for the schema gap.

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 and resource: fetch historical head-to-head records between two teams, plus what the result contains. It is clear enough to separate from generic match or team lookups, though it never names the sibling matchup tools (hltv_get_player_matchup, hltv_get_squad_matchup) that an agent could confuse it with.

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?

Usage is only implied by the trailing phrase '用于赛前分析' (for pre-match analysis). There is no explicit statement of when to choose this over hltv_get_team_matches or hltv_get_match_stats, and no prerequisites or exclusions are given.

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