Skip to main content
Glama

user_stats_set

Destructive

Set player stats and unlock achievements by passing API names and values for a Steam game user, with confirmation required before changes apply.

Instructions

Set stats / unlock achievements for a player (ISteamUserStats/SetUserStatsForGame), for achievements set 'by official game server'. values = {api_name: value} (achievement 1 = unlock). confirm=true required.

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": {
      "game": "<game>",
      "steamid": "<steamid>",
      "values": "<values>"
    },
    "name": "user_stats_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYes
valuesYes
confirmNo
steamidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true and openWorldHint=true, and the description adds real value on top: it discloses the mandatory confirm=true safety gate and explains the write semantics of the values payload (1 = unlock). It does not cover failure behavior, permission/API-key requirements, or whether partial writes are applied, which would round out the mutation profile.

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?

Everything is packed into a few dense fragments with the core action first, then the payload format, then the required flag. No filler sentences, and each clause (API reference, server context, values shape, confirm) carries distinct information.

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?

For a destructive, open-world mutation with four parameters, zero schema coverage and no output schema, the description covers the action, the payload format and the confirmation gate. It still leaves the agent guessing about the 'game' identifier format, required auth/permissions, and what a success or failure response looks like.

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?

With 0% schema description coverage the description must carry all parameter meaning, and it does document the two non-obvious ones well: the values map shape and the 1-equals-unlock convention, plus confirm as required. The 'game' and 'steamid' parameters remain unelaborated — notably it never says whether 'game' is an AppID, a name, or an object — so coverage is partial.

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?

States a specific verb ('Set') with two concrete resources ('stats', 'unlock achievements') and anchors them to the underlying API (ISteamUserStats/SetUserStatsForGame), so an agent knows exactly what write it performs. It does not explicitly differentiate itself from read-side siblings like player_achievements, leaving that inference to the agent.

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 phrase 'for achievements set by official game server' signals the calling context and 'confirm=true required' states a hard precondition, which is useful. However, there is no explicit when-to-use/when-not guidance and no named alternative for the read-side or client-side path, so routing between this and player_achievements is only implied.

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