Skip to main content
Glama

Get User Stats For Game

steam_getUserStatsForGame
Read-only

Retrieve a player's stat values and unlocked achievements for a specific Steam app to debug stats alongside achievement data. Requires public game details and a Steam API key.

Instructions

Get a player's stat values and unlocked achievements for an app, for debugging stats alongside the achievement tools. The player's game details must be public. Requires STEAM_API_KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steamid": "<steamid>",
      "appid": "<appid>"
    },
    "name": "steam_getUserStatsForGame"
  }
}

Input Schema

NameRequiredDescriptionDefault
appidYesSteam application ID
steamidYesThe player: a 17-digit Steam64 ID, a profile URL (steamcommunity.com/profiles/... or /id/...), a vanity name, or a SteamID2/SteamID3 (STEAM_0:1:123, [U:1:246])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful operational context not present in the annotations: the target profile must be public and the call needs STEAM_API_KEY, both of which can cause failures. It does not describe return shape or behavior when stats are hidden, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences that front-load the resource and then the constraints; no filler. The middle clause about debugging is slightly informal but does carry real routing value, so little is wasted.

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 two-parameter read tool with full schema coverage and clear annotations, the description covers purpose, prerequisites, and the public-profile caveat. No output schema exists, so a brief note on what fields come back would have been a bonus, but nothing essential for correct invocation is missing.

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?

Schema coverage is 100% and the steamid property already enumerates Steam64 ID, profile URL, vanity name, and SteamID2/3 formats, while appid is documented as a Steam application ID. The description adds no parameter-level meaning beyond what the schema states, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource ("Get a player's stat values and unlocked achievements for an app") and scopes it to debugging alongside the achievement tools, which helps distinguish it from steam_getAchievementStats and steam_getPlayerAchievements. It stops short of naming those siblings explicitly, so the differentiation is suggestive rather than decisive.

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?

It implies the use case ("for debugging stats alongside the achievement tools") and states a prerequisite ("The player's game details must be public") plus the API-key requirement. There is no explicit statement of when to prefer this over the related achievement tools or what would make it the wrong choice.

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