Skip to main content
Glama

preview_move

Read-onlyIdempotent

Inspect a chosen legal UCI move without submitting it to see the resulting board, material, threats, and immediate opponent captures or checks before committing. It offers no best-move suggestions.

Instructions

Inspect one chosen legal UCI move without submitting it. Copy expected_ply unchanged from the current state: resulting board, material, geometric threats, and exact immediate opponent captures/checks. Use before committing tactical or risky moves; no best-move suggestions.

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": {
      "game_id": "<game_id>",
      "move": "<move>",
      "expected_ply": "<expected_ply>"
    },
    "name": "preview_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
moveYes
game_idYes
expected_plyYesCopy ply exactly from the latest game state BEFORE playing. Do not increment it. White's first move: 0; Black's first move: 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds meaningful preview details: resulting board, material, geometric threats, and immediate opponent captures/checks. It also sets expectations by stating there are no best-move suggestions.

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 front-loaded with the core action, followed by return contents and usage guidance. Every sentence adds useful information without wasted wording.

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?

With no output schema, the description appropriately explains what the preview returns and what it does not provide. For a simple read-only three-parameter preview, this is complete enough for an agent to call correctly.

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 only 33%. The description clarifies that move is legal UCI and that expected_ply must be copied unchanged from the current state, but game_id remains undocumented in both schema and description, so compensation is partial.

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 gives a specific verb and resource: inspect a chosen legal UCI move without submitting it. The phrase "without submitting it" clearly distinguishes this preview operation from the committing sibling make_move.

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?

It explicitly says to use this before committing tactical or risky moves, and clarifies there are no best-move suggestions. It does not explicitly name make_move as the alternative or state when not to use the tool, so it falls short of full alternatives guidance.

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