Skip to main content
Glama

Hero Stats

hero_stats
Read-onlyIdempotent

Fetch daily win-rate and pick-rate statistics for a Dota 2 hero by numeric hero_id, optionally filtered to a rank bracket (e.g. HERALD, ARCHON, LEGEND, DIVINE, IMMORTAL). Returns matchCount and winCount per day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rankNo
_apiKeyYesYour own STRATZ API token (BYO — Pipeworx does not supply one). Free at https://stratz.com/api after Steam sign-in.
hero_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "hero_id": 1
      -  },
      -  {
      -    "hero_id": 92,
      -    "rank": "DIVINE"
      -  }
      -]New value: +[
      +  {
      +    "_apiKey": "your-stratz-api-token",
      +    "hero_id": 1
      +  },
      +  {
      +    "_apiKey": "your-stratz-api-token",
      +    "hero_id": 92,
      +    "rank": "DIVINE"
      +  }
      +]
    • addedInput schema / properties / _apiKey
      Added value: +{
      +  "description": "Your own STRATZ API token (BYO — Pipeworx does not supply one). Free at https://stratz.com/api after Steam sign-in.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "hero_id"
      -]New value: +[
      +  "hero_id",
      +  "_apiKey"
      +]
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "hero_id": 1
      +  },
      +  {
      +    "hero_id": 92,
      +    "rank": "DIVINE"
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint: true, idempotentHint: true, and destructiveHint: false, so the safety profile is covered. The description adds that the result returns matchCount and winCount per day, which is useful, but it does not elaborate on rate limits, data freshness, or the exact meaning of 'daily'.

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?

The description is two sentences, front-loaded with the primary action and resource, and every phrase adds meaningful information. There is no filler or restating of the tool name.

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 read-only, idempotent stats-fetching tool with three parameters, the description covers the key inputs, optional filter, and return shape. While there is no output schema, mentioning matchCount and winCount per day gives the agent a concrete idea of the result. It is not exhaustive, but it is sufficient for this tool's complexity.

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

Parameters4/5

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

Schema description coverage is only 33%, so the description carries most of the parameter meaning. It explains that hero_id is numeric, that rank is optional and provides example values, and the return fields are tied to the stats being fetched. The main gap is a complete rank enum or case-sensitivity note, but the description compensates well for the sparse schema.

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 uses a specific verb ('Fetch') and resource ('daily win-rate and pick-rate statistics for a Dota 2 hero'), identifies the primary key ('numeric hero_id'), and notes the optional rank filter. This clearly distinguishes it from the sibling 'hero' and 'heroes' tools, which likely cover broader hero data.

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?

The description implies when to use the tool: when you need daily hero win-rate/pick-rate stats, with an optional rank bracket. However, it does not explicitly state when not to use it or mention alternatives such as 'hero' or 'player_heroes', leaving some routing decisions to the agent.

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.