Skip to main content
Glama

get_player_matches

Retrieve a player's rated Dota 2 match history with filters for hero, game mode, patch, date range, side, and team composition. Returns enriched rows with hero names, win/loss, and readable game mode labels.

Instructions

Get a player's rated match history with rich filters (hero, game mode, patch, date range, side, with/against heroes, ...). Each row is enriched with hero name, win/loss, game mode label. For summaries use get_player_win_loss or get_player_heroes instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
winNo1 = wins only, 0 = losses only.
dateNoOnly matches from the last N days.
sortNoSort results by this field, descending (e.g. 'start_time').
limitNoMax results to return.
patchNoPatch id filter (e.g. from get_constants patch).
havingNoMin games played (used by hero-stat tools).
offsetNoSkip this many results (pagination).
regionNoRegion id filter.
hero_idNoOnly matches on this hero id.
projectNoComma-separated fields to return (e.g. 'hero_id,start_time,kills,deaths,assists') to trim output.
languageNoLanguage for hero/item/ability names. Accepts Steam codes ("english", "schinese", "russian", ...) or tags ("zh-CN", "zh", "ru", ...). Defaults to the OPENDOTA_LANGUAGE env var or "english". Use list_supported_languages to see all options.
game_modeNoGame mode id filter (e.g. 22 = Ranked All Pick).
lane_roleNoLane role: 1=Safe, 2=Mid, 3=Off, 4=Jungle.
account_idYesSteam32 account id (the number after /players/ in an OpenDota profile URL, or from search_players).
is_radiantNo1 = Radiant side only, 0 = Dire only.
lobby_typeNoLobby type id filter (e.g. 7 = Ranked).
significantNo0 (this server's default) includes ALL game modes including Turbo; 1 = only standard/ranked-style modes (OpenDota's own default, which hides Turbo).
with_hero_idNoOnly matches with these heroes on the player's team.
against_hero_idNoOnly matches against these heroes.
excluded_account_idNoExclude matches where these account ids played.
included_account_idNoOnly matches where these account ids played.
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

Without annotations, the description partially carries the behavioral burden by saying the returned rows are enriched with hero names, win/loss, and game-mode labels, and that the history is rated. It does not disclose default significance/Turbo behavior, sorting/pagination defaults, or response details beyond those three enrichments.

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 compact: two sentences that front-load the action and resource, summarize commonly used filter categories, mention enriched rows, and point to summary alternatives. There is no filler or redundant repetition of schema content.

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

Completeness3/5

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

It gives the core context needed for a filtered row-level match-history call and explicitly handles the summary-use case. With 21 parameters and no output schema, one might expect a complete output/return hints or a note on paging/limits; those are left to the schema or are otherwise absent.

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?

Because the input schema coverage is 100% and each parameter already has a descriptive sentence, the baseline is 3. The high-level list of filters in the description adds no parameter syntax or semantics beyond the 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 and object: "Get a player's rated match history," and lists the available filter dimensions and output enrichments. It also distinguishes itself from its summary siblings by naming get_player_win_loss and get_player_heroes as alternatives.

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?

The final sentence gives an explicit when-not-to-use rule: summary requests should use get_player_win_loss or get_player_heroes. It does not, however, contrast this tool with the similarly named get_player_recent_matches sibling, leaving some selection nuance to the agent.

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

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/yuxiang115/opendota-mcp'

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