Skip to main content
Glama

get_state

Read-only

Fetch the current board, legal moves, and move history for a game ID to help an AI plan its next board game move.

Instructions

Show the board as you see it, your legal moves and what has happened so far.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
game_idYesId returned by new_game.

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.4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered and 'Show' is consistent with them. The description adds modest value by naming the returned content (board, legal moves, history), but omits behaviorally relevant facts such as whose perspective the state reflects or how game-over states are represented.

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?

A single front-loaded sentence with no filler; every clause describes a distinct part of the returned state. Nothing could be trimmed without losing content.

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?

With an output schema present, return values need not be spelled out, and annotations cover the read-only profile, so the description is nearly sufficient. It could still note when the snapshot should be refreshed relative to play_move or end_game, but the gap is minor for a one-parameter read 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 single game_id parameter is fully documented in the schema as 'Id returned by new_game.' The description contributes no additional meaning about the parameter, 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 names a clear verb ('Show') and enumerates the resource content: the board, legal moves, and move history. It tells an agent this is a state-snapshot read, but it never distinguishes itself from siblings like analyze_position or get_rules, which an agent could plausibly confuse it with.

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 explicit when-to-use guidance, no prerequisites, and no mention of alternatives (e.g., 'call after play_move to refresh the board'). Usage is only inferable from the tool name and the returned content.

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