Skip to main content
Glama

Get Owned Games

steam_getOwnedGames
Read-only

Retrieve a player's Steam game library with playtime totals, top games, and ownership checks; sort by playtime, recent play, or name and filter by app IDs.

Instructions

Get a player's game library with playtime data. Returns the library size and total playtime, plus the top 50 games by playtime by default (change with sort and limit, or filter with appids). 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>"
    },
    "name": "steam_getOwnedGames"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrder games by total playtime (default), playtime in the last two weeks, or name
limitNoMaximum games to return after sorting (default: 50). game_count always reports the full library.
appidsNoOnly return these apps, e.g. to check whether the player owns them
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])
include_appinfoNoInclude game name and icon info (default: true)
include_played_free_gamesNoInclude free-to-play games in results (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.10.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / appids
      Added value: +{
      +  "description": "Only return these apps, e.g. to check whether the player owns them",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum games to return after sorting (default: 50). game_count always reports the full library.",
      +  "maximum": 5000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Order games by total playtime (default), playtime in the last two weeks, or name",
      +  "enum": [
      +    "playtime",
      +    "recent",
      +    "name"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / steamid / description
      Previous value: -"64-bit Steam ID of the player (e.g. 76561197960435530)"New value: +"The 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])"
    • addedInput schema / properties / steamid / minLength
      Added value: +1
    • removedInput schema / properties / steamid / pattern
      Removed value: -"^\\d{17}$"
  2. First observedv0.7.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnly and openWorld, so the description carries real weight and adds value: it names the STEAM_API_KEY requirement and clarifies that game_count always reports the full library even when limit truncates the list. It does not cover failure modes such as private profiles, which is the main remaining gap.

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 tight sentences with the payload (library + playtime) front-loaded, followed by the default-slice behavior and the auth requirement. Nothing is wasted and nothing important is buried.

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?

With six parameters, no output schema, and thin annotations, the description does the necessary work by sketching the return shape and the default truncation behavior. It falls short only on operational caveats (private/invalid profile handling, pagination of the full library) that an agent would likely need.

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 description coverage is 100%, so the baseline is 3. The description's parameter content ('change with sort and limit, or filter with appids', default top 50, full library count) largely restates what the schema already documents rather than adding syntax or edge-case semantics.

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 and resource ('Get a player's game library with playtime data') and immediately scopes what is returned: library size, total playtime, and a default top-50 slice. That scope separates it from stats-oriented siblings like steam_getUserStatsForGame or the single-app check steam_checkAppOwnership.

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 concrete operating context: defaults apply unless you change them via sort/limit, and appids is for ownership-style filtering ('to check whether the player owns them'). No explicit when-not-use case or named alternative, which keeps it below a 5.

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