Skip to main content
Glama

new_game

Start a game against a pyplAI opponent and get the initial board state. Configure the game, opponent algorithm, player side, opening moves, and search seed.

Instructions

Start a game against a pyplAI algorithm. If the opponent moves first, it has already moved in the returned state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameYesGame to play. See list_games.
seedNoSeed for the opponent's search, to make its play reproducible.
openingNoMoves to play from the start, for both players, before the game is handed over. Use it to set up a position.
play_asNoYour player number. Player 1 moves first.
opponentNoOpponent algorithm. auto picks the strongest fair one for the game.auto
minimax_depthNoSearch depth (moves ahead) for the minimax opponent.
opponent_secondsNoThinking time per move for Monte Carlo opponents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameYes
boardYesThe board as you see it.
notesYesFacts about the position you are allowed to know.
statusYes
game_idYes
historyYesEverything that has happened, as you saw it.
you_areYesYour player number. Player 1 moves first.
opponentYes
legal_movesYesMoves you can play now. Empty when the game is over.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose one genuinely useful non-obvious behavior: if the opponent moves first, its move is already reflected in the returned state. However, it says nothing about session identity/persistence, what the returned state contains, or the cost of calling it repeatedly.

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 short sentences, zero filler, and the most decision-relevant constraint (the opponent may already have moved) is placed where it will be read. Nothing could be trimmed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the schema is fully self-documented. What is missing for a zero-annotation game-creation tool is lifecycle context: how the new game relates to play_move/get_state and what happens to an existing game.

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% — every one of the 7 parameters carries its own description, including seed, opening, play_as and opponent trade-offs. The description adds nothing on top, which is the correct baseline when the schema does all the work.

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?

States a specific verb and resource ('Start a game against a pyplAI algorithm'), and the sibling set (play_move, get_state, end_game) makes the lifecycle stage unambiguous. It never names a sibling explicitly, so it stops short of the differentiation a 5 requires, but an agent can tell what this tool is for.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement that this must precede play_move, and no note about whether calling it again discards the current game. The only routing hint ('See list_games') lives in the schema's game parameter, not the description.

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