Skip to main content
Glama

view_pgn

Read-only

Open an interactive PGN viewer in Claude Desktop to replay Lichess games or raw PGN with a chess board, move controls, and clickable move list.

Instructions

Open an interactive PGN viewer in Claude Desktop with a real chess board, prev/next/play controls, and clickable move list. Provide either gameId (Lichess game) or a raw PGN string.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "view_pgn"
  }
}

Input Schema

NameRequiredDescriptionDefault
pgnNoRaw PGN to view.
gameIdNoLichess game id (8 chars, e.g. AxGa6qxX). A full URL like https://lichess.org/AxGa6qxX/black is also accepted and normalized.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

The readOnlyHint annotation is consistent, and the description adds meaningful context the annotation does not: this is a UI-rendering tool that opens an interactive viewer in Claude Desktop rather than returning data. It does not state what happens if neither input is supplied, which is the main remaining behavioral gap.

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 sentences, zero waste, with the primary effect (interactive viewer with board and controls) front-loaded before the input instruction. Nothing could be removed without losing information.

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?

For a two-parameter, read-only tool with no output schema, the description covers what the agent sees and how to supply input. It leaves a small hole: both parameters are optional, and the description never says what the tool does if neither is provided.

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%, so both pgn and gameId are already fully documented, including the 8-character ID format and URL normalization. The description only adds the 'either/or' framing, which is marginal value over the schema, 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 uses a specific verb and resource ('Open an interactive PGN viewer') and enumerates the rendered output (chess board, prev/next/play controls, clickable move list), so the agent knows exactly what happens. It does not explicitly contrast with text-returning siblings like export_game, which keeps it from a 5.

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 only implied: the description says to supply either gameId or a raw PGN, which tells the agent what to pass but not when to prefer this viewer over a plain PGN export. No exclusions or alternative-selection guidance are given.

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