Skip to main content
Glama

refresh_player

Refresh a player's match history, medal, and profile name in OpenDota when data appears outdated, then re-query for updated results.

Instructions

Ask OpenDota to refresh a player's match history (up to ~500 recent matches), medal and profile name. Use when a player's data looks stale, then re-query. Counts as 1 API call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesSteam32 account id (the number after /players/ in an OpenDota profile URL, or from search_players).
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does reveal that the operation is a non-read action on cached data, notes the ~500 match range, and mentions the API call cost. However, it is silent on whether the refresh is synchronous or asynchronous, what happens to existing cached data, and what the response indicates.

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?

Two concise sentences: the first is front-loaded with the action and target data; the second adds a usage rule and a cost note. No filler or redundant restatement.

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 operation, when to invoke it, and follow-up guidance, but lacks any note on response shape or potential delays. For a tool with no output schema and no annotations, an agent would benefit from knowing whether to expect a simple acknowledgement and whether it needs to wait before re-querying. This missing information keeps it from being fully complete.

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?

The input schema already provides 100% coverage: account_id is thoroughly described with its Steam32 format and source. The description doesn't need to explain parameters, and adding a generic reference to 'a player' is sufficient; there are no extra semantics to add.

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?

Description clearly identifies an action ('refresh') and a specific resource ('a player's match history... medal and profile name'), making it easy to distinguish from the many read-only get_player_* sibling tools. It states the scope precisely and unambiguously.

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?

Gives an explicit when-to-use condition: use when a player's data looks stale, followed by a concrete post-condition ('then re-query'). It doesn't name alternative tools (such as request_match_parse) or state when not to use it, leaving a small gap.

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