Skip to main content
Glama
hkaanengin

opendota-mcp-server

by hkaanengin

get_hero_details

Retrieve complete Dota 2 hero details, including stats, attributes, and roles, by hero name or ID with fuzzy matching.

Instructions

Get detailed hero information by hero name or ID with fuzzy matching.

Use this when users ask about heroes:

  • "What are Anti-Mage's stats?"

  • "Tell me about Pudge"

  • "Show me Invoker details"

Supports fuzzy matching for typos and variations:

  • "Anti-Mage", "antimage", "anti mage" all work

  • "Pudge", "pudge", "PUDGE" all work

  • "Shadow Fiend", "shadowfiend", "nevermore" all work

Args: hero: Hero name (display name, internal name, fuzzy match) or hero ID Examples: "Anti-Mage", "antimage", "pudge", 1

Returns: Dictionary with complete hero information including: - id: Hero ID - name: Internal name (e.g., "npc_dota_hero_antimage") - localized_name: Display name (e.g., "Anti-Mage") - primary_attr: Primary attribute ("str", "agi", "int", "all") - attack_type: "Melee" or "Ranged" - roles: List of roles (e.g., ["Carry", "Escape", "Nuker"]) - Base stats: base_health, base_mana, base_armor, etc. - Attribute gains: str_gain, agi_gain, int_gain - Combat stats: attack_range, attack_rate, move_speed, vision - All other hero statistics

Examples: get_hero_details("Anti-Mage") → Full Anti-Mage data get_hero_details("antimage") → Same result (fuzzy match) get_hero_details("Pudge") → Full Pudge data get_hero_details(1) → Anti-Mage data (by ID)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
heroYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are present, so the description carries the full burden. It discloses fuzzy matching behavior, case-insensitivity, and accepted input forms, and details the return structure. It does not mention error behavior or rate limits, but for a simple read-only lookup this is fairly transparent.

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 well-structured with 'Use this when', 'Supports', 'Args', 'Returns', and 'Examples' sections. It is appropriately detailed (about 200 words) with no redundant fluff; every sentence adds value.

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?

Given the tool's simplicity and the presence of an output schema, the description is complete for typical use. It covers usage, parameter semantics, examples, and return fields. It doesn't address edge cases like unknown heroes or partial matches, but fuzzy matching is explained, so this is a minor gap.

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

Parameters5/5

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

Schema coverage is 0% and the schema only declares 'hero' as anyOf integer/string with no description. The description fully compensates by explaining accepted formats (display name, internal name, fuzzy match, ID) with concrete examples, making parameter semantics crystal clear.

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 clearly states 'Get detailed hero information by hero name or ID with fuzzy matching', which is a specific verb+resource+method. It distinguishes itself from sibling tools like get_item_details and get_aghs_details by focusing on 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 Guidelines4/5

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

Provides explicit 'when to use' guidance with example user queries ('Use this when users ask about heroes: ...'). However, it does not mention explicit exclusions or alternative tools for hero-specific queries (e.g., get_hero_matchups), so it lacks the full 'when-not-to-use' component.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hkaanengin/opendota-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server