Skip to main content
Glama

Lumichess

Position facts

analyze_position
Read-onlyIdempotent

Facts about a chess position from its FEN: side to move, check, checkmate or stalemate, material, all legal moves, the opening name if it is a known opening position, and links to engine analysis and the best move.

Input Schema

NameRequiredDescriptionDefault
fenYesThe position in FEN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (read-only, idempotent, closed-world), so the description's added value is the return-content disclosure: side to move, check/mate/stalemate, material, all legal moves, opening name, and links to engine analysis and best move. That is genuinely beyond what the annotations say, and it matters because no output schema exists. It does not mention behavior on an invalid FEN or the cost/latency of engine analysis.

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?

One dense sentence that front-loads the source (FEN) and then lists outputs in a natural order. Every clause carries information, though the enumeration is long enough that it would benefit from a structured list.

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 takes on the job of describing return values and does so completely enough for an agent to know what it will get. The remaining gap is error handling for malformed FENs and the distinction from identify_opening.

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?

There is a single fen parameter with 100% schema description coverage, so the schema carries the semantics. The description only restates 'from its FEN' and adds no guidance on FEN validity, full-vs-partial FEN, or error behavior.

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 (analyze/report facts) and resource (a chess position given by FEN), and enumerates what facts are returned. It is reasonably distinguishable, but it does not explicitly distinguish itself from the overlapping sibling identify_opening, which it partially subsumes by returning the opening name.

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

Usage Guidelines3/5

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

Usage is implied by the returned content (if you need legal moves, material, or check status, use this). There is no explicit when-to-use or when-not-to-use guidance, and no reference to siblings such as identify_opening or review_game that an agent might otherwise consider.

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