Skip to main content
Glama

Chess Move Finder

Play moves and get the resulting position

apply_moves
Read-onlyIdempotent

Plays a sequence of moves (SAN like "Nf3" or UCI like "g1f3") from a position, checking each one is legal, and returns the resulting FEN and game status. Use it to turn a move list into a position.

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": {
      "moves": "<moves>"
    },
    "name": "apply_moves"
  }
}

Input Schema

NameRequiredDescriptionDefault
fenNoPosition in FEN notation, e.g. "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1". Omit for the starting position.
movesYesMoves in order, e.g. ["e4", "e5", "Nf3"] or ["e2e4", "e7e5"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and closed-world operation, so the safety profile is covered. The description adds real substance beyond that: each move is validated for legality and the return value includes both FEN and game status. It does not state what happens when a move is illegal (error vs. partial application), 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?

Two tight sentences, front-loaded with the action and followed by the use case. Nothing is redundant and no sentence fails to earn its place.

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 no output schema, the description correctly takes on the burden of describing the return as FEN plus game status, which is the key information an agent needs. It leaves the possible values of "game status" implicit, a minor gap for a two-parameter 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 both parameters are already documented with examples, including SAN and UCI formats and the FEN default of the starting position. The description's mention of SAN/UCI largely restates what the schema shows. Adding no constraints or format details beyond the schema, it sits at the baseline.

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 specific verb and resource: it plays a move sequence from a position and returns the resulting FEN plus game status. The line "Use it to turn a move list into a position" makes the input/output contract unambiguous. It does not explicitly contrast itself with siblings like legal_moves or find_best_move, but the operation is distinct enough that they are unlikely to be confused.

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?

"Use it to turn a move list into a position" gives a clear triggering condition, and the legality-checking note implies this is for applying known moves rather than discovering them. There is no explicit when-not guidance or naming of the alternative tools, so it stops short of a 5.

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