Skip to main content
Glama

Get a player's achievements

get_player_achievements
Read-only

Get a player's achievement progress for a specific Steam game by SteamID64 and appid, including unlocked count, completion percentage, and per-achievement unlock dates.

Instructions

Get a player's achievement progress for one game (unlocked count, % complete, per-achievement unlock dates) by SteamID64 + appid — unlocked/completion_pct always reflect the full list, but the per-achievement achievements array is capped at 200, unlocked first (check returned vs total — most games have far fewer). For the game's full achievement list (names, descriptions, global rarity) independent of any player, use get_game_achievements instead; for just the rarity without a key, use get_global_achievements. Requires STEAM_API_KEY and a public profile with game-details visibility — otherwise it returns found:false — which is also what a SteamID64 with no account behind it, an appid with no achievements, or no such appid at all returns; these are not always told apart, so confirm the appid with get_game.

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": {
      "appid": "<appid>"
    },
    "name": "get_player_achievements"
  }
}

Input Schema

NameRequiredDescriptionDefault
appidYesSteam application id (appid). Get it from search_games.
steamidNo17-digit SteamID64. Omit to use the STEAM_ID configured on the server. Convert a vanity/custom URL name with resolve_vanity_url first.
languageNoLanguage for achievement names/descriptions; overrides STEAM_LANGUAGE. Use Steam's own language NAME — english, russian, schinese/tchinese — not an ISO code like en/ru/zh. An unrecognized value is never an error: text comes back in English and any `tags` list comes back EMPTY, which reads as 'this game has no tags' rather than as a bad language. (Filtering BY tags is the one loud case — it fails outright.)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • changedInput schema / properties / language / description
      Previous value: -"Language for achievement names/descriptions; overrides STEAM_LANGUAGE."New value: +"Language for achievement names/descriptions; overrides STEAM_LANGUAGE. Use Steam's own language NAME — english, russian, schinese/tchinese — not an ISO code like en/ru/zh. An unrecognized value is never an error: text comes back in English and any `tags` list comes back EMPTY, which reads as 'this game has no tags' rather than as a bad language. (Filtering BY tags is the one loud case — it fails outright.)"
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "achievements": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "achieved": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "description": "Display name, falling back to the achievement's internal api name when Valve's schema has no localized title for it.",
      -              "type": "string"
      -            },
      -            "unlocked_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "achieved",
      -            "unlocked_at"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "completion_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "game": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The game's name from Valve's achievement schema — occasionally an internal dev codename rather than the store title (e.g. 'Fiber' for Persona 5 Royal). Treat the appid you passed as the reliable identifier, or get the store title from get_game."
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "unlocked": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "game",
      -      "total",
      -      "unlocked",
      -      "completion_pct",
      -      "returned",
      -      "achievements"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "achievements": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "achieved": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "description": "Display name, falling back to the achievement's internal api name when Valve's schema has no localized title for it.",
      +              "type": "string"
      +            },
      +            "unlocked_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "achieved",
      +            "unlocked_at"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "completion_pct": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "game": {
      +        "description": "The game's name from Valve's achievement schema — occasionally an internal dev codename rather than the store title (e.g. 'Fiber' for Persona 5 Royal). Treat the appid you passed as the reliable identifier, or get the store title from get_game.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "unlocked": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "game",
      +      "total",
      +      "unlocked",
      +      "completion_pct",
      +      "returned",
      +      "achievements"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv0.13.1
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "achievements": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "achieved": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "unlocked_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "achieved",
      -            "unlocked_at"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "completion_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "game": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "unlocked": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "game",
      -      "total",
      -      "unlocked",
      -      "completion_pct",
      -      "returned",
      -      "achievements"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "achievements": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "achieved": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "description": "Display name, falling back to the achievement's internal api name when Valve's schema has no localized title for it.",
      +              "type": "string"
      +            },
      +            "unlocked_at": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "achieved",
      +            "unlocked_at"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "completion_pct": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "game": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The game's name from Valve's achievement schema — occasionally an internal dev codename rather than the store title (e.g. 'Fiber' for Persona 5 Royal). Treat the appid you passed as the reliable identifier, or get the store title from get_game."
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "unlocked": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "game",
      +      "total",
      +      "unlocked",
      +      "completion_pct",
      +      "returned",
      +      "achievements"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed3 schema fields changedv0.12.1
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "achievements": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "achieved": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "unlocked_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "achieved",
      -            "unlocked_at"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "completion_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "game": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "unlocked": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "game",
      -      "total",
      -      "unlocked",
      -      "completion_pct",
      -      "returned",
      -      "achievements"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "achievements": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "achieved": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "unlocked_at": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "achieved",
      +            "unlocked_at"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "completion_pct": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "game": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "unlocked": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "game",
      +      "total",
      +      "unlocked",
      +      "completion_pct",
      +      "returned",
      +      "achievements"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changedv0.10.4
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "achievements": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "achieved": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "unlocked_at": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "achieved",
      -            "unlocked_at"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "completion_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "game": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      },
      -      "unlocked": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "game",
      -      "total",
      -      "unlocked",
      -      "completion_pct",
      -      "achievements"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "achievements": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "achieved": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "unlocked_at": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "achieved",
      +            "unlocked_at"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "completion_pct": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "game": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "unlocked": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "game",
      +      "total",
      +      "unlocked",
      +      "completion_pct",
      +      "returned",
      +      "achievements"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Addedv0.10.2
  6. Removedv0.8.0
  7. Changed3 schema fields changedv0.3.0
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Language for achievement names/descriptions; overrides STEAM_LANGUAGE.",
      +  "minLength": 2,
      +  "type": "string"
      +}
    • changedInput schema / properties / steamid / description
      Previous value: -"17-digit SteamID64. Convert a vanity/custom URL name with resolve_vanity_url first."New value: +"17-digit SteamID64. Omit to use the STEAM_ID configured on the server. Convert a vanity/custom URL name with resolve_vanity_url first."
    • changedInput schema / required
      Previous value: -[
      -  "steamid",
      -  "appid"
      -]New value: +[
      +  "appid"
      +]
  8. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnly/openWorld; the description adds the genuinely costly details: the achievements array is capped at 200 (unlocked first), returned vs total must be compared, and failure returns found:false which conflates several distinct causes that are 'not always told apart.' That is real behavioral disclosure beyond structured fields.

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

Conciseness3/5

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

Front-loads purpose and the cap/returned-vs-total caveat well, but the final failure-mode sentence chains several clauses and a triple 'or' into a long run-on. Dense and information-rich yet harder to parse than it needs to be.

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

Completeness5/5

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

Covers what is returned, the truncation limit, how to detect truncation, auth/visibility prerequisites, the ambiguous found:false outcome with mitigation (confirm via get_game), and sibling routing. Output schema exists and the description still explains the tricky parts, so nothing essential 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%, so the appid/steamid/language semantics are already fully documented in the schema, including the language-name-not-ISO-code warning. The description adds only the SteamID64+appid framing, which is mostly a restatement.

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?

States a specific verb+resource ('Get a player's achievement progress') plus the exact scope (per-player, one game), and enumerates returned fields (unlocked count, % complete, unlock dates). It explicitly names the siblings get_game_achievements and get_global_achievements and how they differ.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: use get_game_achievements for the game's full list independent of any player, get_global_achievements for rarity without a key, and get_game to confirm an appid. Also states the prerequisite (STEAM_API_KEY, public profile with game-details visibility).

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