Skip to main content
Glama

hltv_get_match_photos

Downloads all player photos for both teams in a match, optionally for a specific year, and returns each file path and source for building match or event data pages.

Instructions

一次性下载一场比赛两队全部选手的照片(默认当前官方照,传 year 取当年照片)。做赛事数据页时比逐个调用快得多;返回每人的文件路径与来源。

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": {
      "match_id": "<match_id>"
    },
    "name": "hltv_get_match_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNo
yearNo
forceNo
match_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden alone. It does disclose the default behavior (current official photo) and the year override, and what it returns (file path and source per person), but it says nothing about the 'force' redownload flag, the 'out' parameter, caching or rate-limit behavior on this evidently network-bound scraping tool.

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 short sentences with the scope and default front-loaded, the year variant parenthesized, then the payoff and the return shape. Nothing is redundant, though the return-format clause is only partially useful given an output schema already exists.

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?

For a 4-parameter batch fetch whose output schema is supplied, the definition covers scope, default behavior, the year override, the cost advantage and the return shape. The remaining hole is the 'force' flag, which an agent could plausibly misuse without description support.

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 0%, so the description must compensate. It explains 'year' semantics well and makes the match scope of match_id obvious, but 'force' and 'out' are left entirely unexplained, so half the parameters still have no meaning anywhere in the definition.

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 states a specific verb and resource ('一次性下载一场比赛两队全部选手的照片') and pins the scope to a whole match (both teams, all players), which distinguishes it cleanly from the sibling single-photo tool hltv_get_player_photo without needing to open either schema.

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?

It gives a concrete usage scenario ('做赛事数据页时') and states the efficiency rationale versus calling one-by-one, which implicitly routes the agent away from per-player calls. It stops short of naming the per-player alternative explicitly or stating when the batch is inappropriate (for example, when only one player's photo is needed).

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