Skip to main content
Glama

Crossword MCP Server

by watamoo

setup

Initialize crossword puzzle state by loading grid layout and clue definitions to prepare for solving. Accepts grid text with cell positions and JSON-formatted clues for across and down directions.

Instructions

クロスワードの盤面とカギ定義を読み込み、状態を初期化する。

Args: grid_text (str): 行番号つきの盤面テキスト。列・行番号は全角数字で表記し、 文字が入るマスは "?"、黒マスは "#" で記述する。各行のマス数が一致している 必要がある。 clue_text (str): JSON Lines 形式のカギ定義。各行は id/direction/row/col /length/clue を持つ辞書で、direction は "across" か "down"。rowcol は 1 起点の正整数。

Returns: list[list[str]]: 正規化済みセル行列。各要素は "?" または "#" のシンボル。

Raises: ValueError: 盤面の行長不一致・未知のセル記号・カギ定義の欠損や不正値など、 入力内容が検証に失敗した場合。

Notes: この関数を呼び出すと既存の候補リストは破棄され、状態が再初期化される。

Input Schema

NameRequiredDescriptionDefault
clue_textYes
grid_textYes

Input Schema (JSON Schema)

{ "properties": { "clue_text": { "type": "string" }, "grid_text": { "type": "string" } }, "required": [ "grid_text", "clue_text" ], "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