Skip to main content
Glama

Gomoku (Five in a Row)

gomoku

Gomoku (five in a row) board game. This tool provides the board, move validation and win detection; the opponent moves are made by the host application's own AI. Inputs: moves (comma-separated coordinates in play order, black first, e.g. "H8,H9,I9"), humanColor ("black" or "white", default "black") and size (board size, default 15). Returns the board state, whose turn it is, and the winner if the game has ended. Use this when a user wants to play five-in-a-row against the assistant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoBoard size (9-19).
movesNoComma-separated coordinates in play order (black first), e.g. "H8,H9,I9".
localeNoUI language for the rendered card.en
humanColorNoWhich color the human plays.black

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the division of labor (validation/win detection here, opponent moves in the host), the input ordering rule (black first, play order), and the return contents (board state, whose turn, winner). It stops short of stating how illegal or out-of-turn moves are handled or what happens on a draw.

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?

Compact and front-loaded: purpose first, then mechanism, then inputs, then return values, then the usage trigger. Every sentence earns its place and nothing is padded.

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?

No output schema exists, and the description compensates by naming the key return fields (board state, turn, winner). For a game-state tool with 4 optional params this is nearly complete; only edge-case behavior (invalid move, draw) is unaddressed.

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 all four parameters are already documented, and the description largely restates them (moves example format, humanColor default, size). The added value is the 'play order, black first' semantics on moves, but this is marginal over the schema. Baseline 3 applies.

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?

States a specific resource (a Gomoku board) plus concrete verbs: it provides the board, validates moves and detects wins. It also clarifies a non-obvious architectural fact — the opponent AI lives in the host application, not this tool — which distinguishes its role clearly from the surrounding utility siblings.

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 this when a user wants to play five-in-a-row against the assistant" gives a clear usage trigger. There are no competing siblings to route against, so no exclusions are needed, but it also doesn't state when it is not appropriate (e.g. when the host wants to run its own game engine).

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