Skip to main content
Glama

Get a player's friend list

get_friend_list
Read-only

List a Steam player's friends with names, online status, current game, and friendship age, ordered by most recently added using a SteamID64.

Instructions

List a player's Steam friends by SteamID64: name, online state, current game and how long they've been friends, most-recently-added first (capped at the 100 most-recently-added; check returned vs total). Requires STEAM_API_KEY and the friends list to be public — otherwise it returns found:false, which also covers a SteamID64 with no account behind it; read reason. For 'which of my friends own game X', use find_friends_who_own instead — it checks each friend's full library, not just this list. Get the SteamID64 from resolve_vanity_url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_friend_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
steamidNo17-digit SteamID64. Omit to use the STEAM_ID configured on the server. Convert a vanity/custom URL name with resolve_vanity_url first.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.18.0
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "friends": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "friends_since": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "in_game": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "profile_url": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "state": {
      -              "enum": [
      -                "offline",
      -                "online",
      -                "busy",
      -                "away",
      -                "snooze",
      -                "looking to trade",
      -                "looking to play"
      -              ],
      -              "type": "string"
      -            },
      -            "steamid": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "state",
      -            "in_game",
      -            "profile_url",
      -            "friends_since"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "total",
      -      "returned",
      -      "friends"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "notes": {
      +        "description": "Present only when part of this answer is missing or comes from an older cached copy because Steam failed: what, and why. Read it before relying on the data — a missing part is null/empty because it is unknown, not because Steam has none.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "friends": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "friends_since": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "in_game": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "state": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "offline",
      +                    "online",
      +                    "busy",
      +                    "away",
      +                    "snooze",
      +                    "looking to trade",
      +                    "looking to play"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Online status; null when Steam doesn't show it — a profile that isn't public reports 0 (offline) whatever its real status — or the profile couldn't be read."
      +            },
      +            "steamid": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "state",
      +            "in_game",
      +            "profile_url",
      +            "friends_since"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "notes": {
      +        "description": "Present only when part of this answer is missing or comes from an older cached copy because Steam failed: what, and why. Read it before relying on the data — a missing part is null/empty because it is unknown, not because Steam has none.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "total",
      +      "returned",
      +      "friends"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv0.14.0
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "friends": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "friends_since": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "in_game": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "profile_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "state": {
      -              "enum": [
      -                "offline",
      -                "online",
      -                "busy",
      -                "away",
      -                "snooze",
      -                "looking to trade",
      -                "looking to play"
      -              ],
      -              "type": "string"
      -            },
      -            "steamid": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "state",
      -            "in_game",
      -            "profile_url",
      -            "friends_since"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "total",
      -      "returned",
      -      "friends"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "friends": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "friends_since": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "in_game": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "state": {
      +              "enum": [
      +                "offline",
      +                "online",
      +                "busy",
      +                "away",
      +                "snooze",
      +                "looking to trade",
      +                "looking to play"
      +              ],
      +              "type": "string"
      +            },
      +            "steamid": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "state",
      +            "in_game",
      +            "profile_url",
      +            "friends_since"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "total",
      +      "returned",
      +      "friends"
      +    ],
      +    "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": {
      -      "found": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "friends": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "friends_since": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "in_game": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "profile_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "state": {
      -              "type": "string"
      -            },
      -            "steamid": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "state",
      -            "in_game",
      -            "profile_url",
      -            "friends_since"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "returned": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "found",
      -      "total",
      -      "returned",
      -      "friends"
      -    ],
      -    "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": {
      +      "found": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "friends": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "friends_since": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "in_game": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "name": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "profile_url": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "state": {
      +              "enum": [
      +                "offline",
      +                "online",
      +                "busy",
      +                "away",
      +                "snooze",
      +                "looking to trade",
      +                "looking to play"
      +              ],
      +              "type": "string"
      +            },
      +            "steamid": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "state",
      +            "in_game",
      +            "profile_url",
      +            "friends_since"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "returned": {
      +        "type": "number"
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "found",
      +      "total",
      +      "returned",
      +      "friends"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Addedv0.10.5
  5. Removedv0.10.4
  6. Addedv0.10.2
  7. Removedv0.9.0
  8. Addedv0.8.1
  9. Removedv0.8.0
  10. Addedv0.6.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, the description discloses authentication requirements, the public-profile dependency, the found:false failure mode including nonexistent SteamID64s, the need to read reason, and the 100-friend cap using returned vs total. This is substantial behavioral context an agent could not infer from annotations alone.

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?

The description is dense and front-loaded: it starts with what the tool returns, then constraints, failure behavior, alternative routing, and ID resolution. Every sentence contributes useful selection or invocation guidance.

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?

For a one-parameter read-only lookup with an output schema, the description is complete enough to call correctly. It covers authentication, publicness, failure interpretation, result cap, ordering, and the relevant alternative tool.

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 schema already documents the optional steamid parameter, its 17-digit pattern, and the fallback to server-configured STEAM_ID. The description reinforces the source of the SteamID64 but adds no new syntax or format details beyond the schema.

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?

The description states a specific verb and resource: 'List a player's Steam friends by SteamID64.' It also names the returned fields, ordering, and cap, and explicitly distinguishes itself from find_friends_who_own.

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?

It gives direct usage guidance: use this tool for a player's friend list, use find_friends_who_own for 'which of my friends own game X,' and get the SteamID64 from resolve_vanity_url. It also states the API-key and public-friends-list prerequisites.

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