Skip to main content
Glama

Create a game

create_game

Set up any game to play in this chat: board games, card games, dice games, word and guessing games, mysteries. Describe it with the building blocks below, or pass starter for a ready one (tic-tac-toe, four-in-a-row, gomoku, checkers, reversi, crazy-eights, go-fish, twenty-one, pig, sea-battle, hangman, twenty-questions). Playtable Pro games (mancala, nine-mens-morris, dots-and-boxes, liars-dice, codebreaker, gin-rummy, hearts, snakes-and-ladders) also need the player's pro_code. The server keeps the board, deals and hides cards, rolls dice and enforces turns, so the player can trust the game. The player gets an interactive board in the chat (and a link to play in a browser or invite friends). Returns game_id and agent_key; keep both for get_state and take_turn. You run the rules that aren't built in.

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": "create_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealNoCards dealt to each hand at the start.
deckNo"standard" (52, ids like AS, 10H, QC), "standard_jokers", "numbers:1-10x4", or a list of card labels or {label, suit, rank}. Adds a face-down deck, a face-up table and a hidden hand per seat.
diceNoDefault die sides.
aboutNoThe rules in a few sentences, shown to the player. Write them so you can follow them too.
boardNo
firstNoSeat name that goes first.
pilesNo
rulesNoRules the server enforces for you.
seatsNoPlayers in turn order. Default: Player (human) then Agent (agent).
titleNo
turnsNoalternate (default): one seat at a time. free: anyone acts anytime (guessing games, puzzles).
piecesNoStarting pieces.
starterNoA ready-made game. Other fields here override its setup (for example seats).
countersNoScores and tallies: "score", or {name, per_seat: false, start}.
pro_codeNoThe player's Playtable Pro code, only for Pro games. Ask the player for it; never guess one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / pro_code
      Added value: +{
      +  "description": "The player's Playtable Pro code, only for Pro games. Ask the player for it; never guess one.",
      +  "type": "string"
      +}
    • changedInput schema / properties / starter / enum
      Previous value: -[
      -  "tic-tac-toe",
      -  "four-in-a-row",
      -  "gomoku",
      -  "checkers",
      -  "reversi",
      -  "crazy-eights",
      -  "go-fish",
      -  "twenty-one",
      -  "pig",
      -  "sea-battle",
      -  "hangman",
      -  "twenty-questions"
      -]New value: +[
      +  "tic-tac-toe",
      +  "four-in-a-row",
      +  "gomoku",
      +  "checkers",
      +  "reversi",
      +  "crazy-eights",
      +  "go-fish",
      +  "twenty-one",
      +  "pig",
      +  "sea-battle",
      +  "hangman",
      +  "twenty-questions",
      +  "mancala",
      +  "nine-mens-morris",
      +  "dots-and-boxes",
      +  "liars-dice",
      +  "codebreaker",
      +  "gin-rummy",
      +  "hearts",
      +  "snakes-and-ladders"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the generic profile (readOnlyHint=false, destructive=false, idempotent=false), so the description carries most of the weight and does well: it discloses that the server owns board/deal/dice/turn enforcement, that the agent owns the non-built-in rules, that a chat board and browser link are produced, and that both game_id and agent_key must be retained. The main omission is that create is non-idempotent — repeated calls presumably spawn duplicate games — which is left implicit.

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

Conciseness4/5

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

Front-loads purpose, then the creation paths, then behavior, then return contract — a sensible reading order with no filler sentences. The one waste is the two long parenthetical name lists (starter games and Pro games), which duplicate the starter enum verbatim in the schema.

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 15-parameter, deeply nested creation tool with no output schema, the description supplies the missing return contract (game_id, agent_key), the server-versus-agent division of labor, the Pro gating requirement, and the user-facing artifacts produced. Nothing an agent needs to invoke it correctly and then continue the session appears absent.

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 already 80% and the schema documents the key semantics itself, including 'Other fields here override its setup' for starter and 'Ask the player for it; never guess one' for pro_code, so the description largely restates structured data. The 'building blocks' framing gives a useful mental model for the 15-parameter surface, but hints like rules/gravity, turns, and counters get no added meaning 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?

States a specific verb and resource ('Set up any game to play in this chat') and immediately scopes it across game families (board, card, dice, word/guessing, mysteries). It also distinguishes itself from siblings by naming the outputs game_id and agent_key that get_state and take_turn consume, so an agent knows this is the entry point rather than a follow-up call.

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 the two usable paths explicitly — 'Describe it with the building blocks below, or pass starter for a ready one' — plus a clear prerequisite for the Pro subset ('also need the player's pro_code'). It routes the agent forward to get_state/take_turn but does not state when *not* to call it (e.g., reusing an existing game_id instead of creating another).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources