Skip to main content
Glama

Moddable Games Tools

play_render_board

Render the current board position as SVG for any playable family (chess, draughts, go, reversi, shogi, xiangqi, mancala, morris, hex, landlords-game, backgammon, standard-52, bavarian-32, flower-48, double-six-dominoes, mahjong, standard-dice, agon, asalto, chaupar, dou-shou-qi, fanorona, halma, nyout, pachisi, royal-ur, senet, stern-halma, surakarta, tafl).

Input Schema

NameRequiredDescriptionDefault
sizeNoBoard width in pixels for PNG output (default: 480, max: 2048)
stateYesGame state object from play_create_game or play_apply_move
highlightsNoOptional cells to highlight (e.g. [{key: 52, color: "#ff0"}])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely does not meet it. It does not say whether the result is inline SVG text, a file path, or a URL, whether highlights are honored across all families, or what happens on invalid/unsupported state. The only behavioral signal is the output format (SVG).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is front-loaded with verb and resource, which is good, but roughly half its length is a 29-item family enumeration that crowds out more useful content such as parameter or usage guidance. Appropriately sized for a one-liner, but the space is not optimally spent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a required nested state object, an optional highlight mechanism, and no output schema, the description should say what it returns and how the required state is obtained. It confirms the SVG output type and the schema covers parameter origins at 100%, but return-value semantics and the state provenance remain undocumented in prose.

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 description coverage is 100%, so the schema already documents size, state (with its origin from play_create_game/play_apply_move), and the highlights shape. The description adds nothing beyond 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?

States a specific verb (Render), a specific resource (current board position as SVG), and enumerates the full scope of supported families, which implicitly separates it from narrower siblings like chess_render_svg or hex_export_svg. It stops short of naming those siblings, so an agent must infer the boundary from the family list.

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?

The phrase 'for any playable family' hints at broader applicability than chess_render_svg/hex_export_svg, but there is no explicit when-to-use guidance, no prerequisites (e.g. that a state must come from play_create_game/play_apply_move), and no named alternatives. The agent gets no routing help.

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.