Skip to main content
Glama

get_player_win_loss

Get a player's win/loss counts and win rate, with optional filters for hero, game mode, date, and region to isolate specific match outcomes.

Instructions

Get a player's win/loss counts (with the same filters as get_player_matches) plus win rate.

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.
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.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states what the tool returns without mentioning any side effects, authentication needs, rate limits, or return format. Given the absence of annotations, more behavioral context would be expected.

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?

One sentence containing the core purpose and the key referencing constraint. Every word earns its place, and the information is front-loaded and immediately useful.

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?

The description covers the primary purpose and filter association, but with no output schema, it omits details about the response structure, pagination behavior, or any limitations. For a tool with 19 parameters, a bit more context on expected output would improve completeness, yet the core functionality is clear.

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?

While the schema already provides 100% description coverage, the tool description adds value by explicitly stating that filters are identical to get_player_matches, which is a strong hint for agents already familiar with that tool. This contextual linkage makes parameter usage clearer than the schema alone.

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 the tool's function: getting a player's win/loss counts and win rate. It also references the sibling tool get_player_matches to clarify filter behavior, making it easy to distinguish from other sibling tools like get_player_totals or get_player_counts.

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 mentions that it uses the same filters as get_player_matches, which gives a useful reference point but does not explicitly define when to choose this tool over alternatives. It lacks direct exclusions or conditions, leaving some inference 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