Get Global Stats For Game
steam_getGlobalStatsForGameRetrieve all-player totals for a game's aggregated Steam stats, such as total kills or distance traveled, and optionally add daily history. Supply stat names to query without an API key.
Instructions
Get all-player totals for a game's aggregated stats (for example total kills or distance traveled), optionally with daily history. Only stats flagged as aggregated in Steamworks return data. No API key required when stat_names is given.
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": "steam_getGlobalStatsForGame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Steam application ID | |
| stat_names | No | Stat API names to total. Only stats flagged as aggregated in Steamworks work. If omitted and STEAM_API_KEY is set, all stats from the app's schema are requested. | |
| history_days | No | Also return a daily total for each of the last N days (1-60) |