Skip to main content
Glama

hltv_get_player_photo

Fetches a Counter-Strike player's bodyshot photo from HLTV, returning a CDN URL by default or downloading it locally; pass a year to retrieve a historical photo.

Instructions

获取选手照片(bodyshot):默认返回 CDN 地址;download=true 时下载到本地。传 year 可回溯那一年的照片(走统计页,通常 800×800,适合做老比赛的数据页)。

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_player_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
destNo
nameNo
sizeNo
yearNo
monthNo
preferNoauto
downloadNo
player_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses meaningful behavior: the default is a CDN URL rather than a download, download=true writes to local storage, and the year path routes through a different source page yielding roughly 800×800 images. It omits destination/permission behavior for downloads and any failure modes, keeping it short of a 5.

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 compact sentence with the primary mode front-loaded and the fallback mode second; every clause carries information. Density is high enough that a reader must parse carefully, but nothing is redundant.

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 8-parameter tool with zero annotation coverage and no schema descriptions needs far more explanation than two of its parameters. An agent cannot determine how to supply 'dest', 'player_id', 'prefer' or 'month' from this definition, though the existing output schema does relieve it of explaining return values.

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 8 parameters, yet the description explains only 'download' and 'year' (and hints at image size). The meanings of 'dest', 'name', 'player_id', 'prefer' and 'month' are left entirely undocumented in both schema and description.

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 names a specific verb and resource ('获取选手照片(bodyshot)'), which clearly distinguishes it from the team-logo, match-photo and batch-image siblings. It does not explicitly route against those siblings by name, but the resource is unambiguous.

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?

It gives conditional guidance for the two modes ('默认返回 CDN 地址' vs 'download=true 时下载到本地') and a scenario for 'year' ('适合做老比赛的数据页'). However, it never states when to prefer this tool over hltv_get_images_batch or hltv_get_match_photos, so tool-selection guidance is only implied.

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