Skip to main content
Glama

Crossword MCP Server

by watamoo

render_solution

Render crossword puzzle solutions by applying answer assignments to the grid and verifying consistency across intersecting clues.

Instructions

全カギの解答を盤面へ反映し、整合性チェックを通過した描画結果を返す。

Args: assignments (dict[str, str]): clue_id をキーとした解答文字列の辞書。setup 済みのすべてのカギに対して、黒マス以外のセルを埋める語を指定する。 各文字列は純粋なひらがなのみで構成されている必要がある。

Returns: str: 列・行番号付きで整形したグリッド文字列。交差が一致している場合のみ 返される。

Raises: RuntimeError: setup が未実行の場合。 ValueError: 未指定または未知の clue_id がある、解答が空文字、長さ不一致、 ひらがな以外の文字が含まれている、あるいは黒マスとの衝突・既存文字との 矛盾が発生した場合。

Input Schema

NameRequiredDescriptionDefault
assignmentsYes

Input Schema (JSON Schema)

{ "properties": { "assignments": { "additionalProperties": { "type": "string" }, "type": "object" } }, "required": [ "assignments" ], "type": "object" }

Other Tools from Crossword MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/watamoo/mcp-crossword-tools'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server