Skip to main content
Glama

Generate a crossword (crucigrama)

crossword

Lays out a crossword from words with clues. Returns two matrices of the same size: puzzle (the game position: "-" is a blank cell, a word's number is on its first cell, "0" marks the other cells where a letter goes, and "a/d" such as "3/4" appears when an across word and a down word start in the same cell) and solution (the same matrix with the correct letters, one grapheme per cell). placements lists every word with its number, clue, direction (across/down) and start cell; unplaced lists words that did not fit. Offer more words than you need: the engine keeps the best layout it finds. Native letters (Ñ, Ç, ẞ…) stay one cell each. Free, no usage limit. The same seed gives the same crossword.

Input Schema

NameRequiredDescriptionDefault
colsNoLargest width. Default: rows.
openNoMarker of letter cells that do not start a word in puzzle. Default "0".
rowsYesLargest height; the result is cropped to what it uses.
seedNoRepeatable crossword.
blockNoMarker of blank cells. Default "-".
entriesYesWords with their clues.
attemptsNoLayouts to try (default 30); more attempts, denser crossword.
classicModeNoStrip accents (ñ becomes N).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 burden and does well: it discloses that the tool is free with no usage limit, that the seed makes output reproducible, that native graphemes stay one cell, and that unused words land in an `unplaced` list. It does not explicitly state the absence of side effects or any failure mode when too few words fit, which keeps it short of a 5.

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

Conciseness4/5

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

It is a single dense paragraph, front-loaded with the core purpose and the output structure before the peripheral notes. Every clause is informative, though the long inline explanation of the puzzle-marker conventions is heavy to parse and could be tightened.

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

Completeness5/5

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

There is no output schema, so the description must describe the return value, and it does so thoroughly: both matrices, the marker semantics for blank/number/letter cells, the placements and unplaced lists. Combined with 100% schema coverage on inputs, an agent has everything needed to call and interpret the tool.

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 all 8 parameters, making 3 the baseline. The description reinforces a few semantics (seed reproducibility, entries as over-supply, native-letter handling) but largely repeats what the schema and title already convey, adding limited meaning beyond the structured fields.

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 opens with a specific verb+resource ("Lays out a crossword from words with clues") and immediately clarifies the return shape. It is clearly distinct from the word-search/sudoku siblings in spirit, though it never explicitly names or contrasts an alternative. Clear and unambiguous, but no sibling differentiation.

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?

It gives practical input guidance ("Offer more words than you need: the engine keeps the best layout it finds") and notes determinism via seed, which implies how to use the tool. However, there is no explicit when-to-use / when-not-to-use statement and no reference to the sibling generation tools to help an agent choose between them.

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.