Skip to main content
Glama

Create Lobby (SDK Guide)

steam_createLobby
Read-only

Generates ready-to-use C++, C#, and GDScript code examples for creating Steam multiplayer lobbies via the client-side ISteamMatchmaking SDK, since lobby creation cannot be done over HTTP.

Instructions

Get code examples and documentation for creating Steam multiplayer lobbies. Lobby creation is a client-side SDK operation (ISteamMatchmaking) and cannot be done via HTTP API. This tool returns ready-to-use code for C++, C#, and GDScript.

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": {
      "type": "<type>",
      "max_members": "<max_members>"
    },
    "name": "steam_createLobby"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesLobby visibility type
metadataNoKey-value pairs for lobby metadata (e.g. map name, game mode)
max_membersYesMaximum number of players in the lobby

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.10.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / metadata / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.7.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely non-obvious context: the operation is client-side (ISteamMatchmaking) and the response is code for C++, C#, and GDScript rather than a live lobby. It does not describe the shape of the returned snippets or any limits on them, which keeps it from a 5.

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?

Three short sentences, front-loaded with what the tool returns, then the constraint, then the deliverables. Every sentence carries distinct information and nothing is repeated from the schema or annotations.

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?

No output schema exists, but the description tells the agent the response is ready-to-use code in three named languages, which is enough to decide whether to call it. Minor incompleteness in not indicating whether the snippets are versioned or parameterized by the supplied arguments.

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 type, max_members, and metadata are already fully documented with enums and bounds. The description adds nothing about how these inputs affect the generated code (e.g., whether max_members is embedded in the snippet), so the baseline 3 applies.

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?

The description uses a specific verb and output ('Get code examples and documentation for creating Steam multiplayer lobbies') and explicitly corrects the misleading tool name by stating lobby creation is a client-side SDK operation that cannot be done over HTTP. An agent knows what it will receive; the only minor gap is that it does not contrast itself with any related Steam tool.

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?

It implies usage ('this tool returns ready-to-use code') and rules out an HTTP-API path, which is useful context. However, it never states when-not to use it or names an alternative for agents that wanted an actual lobby operation, leaving the routing guidance implicit.

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