# Crossword Clue Formatter AI Agent Connect

> Generate deterministic metadata, symmetry checks, and statistics for crossword grids.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_BVMIqyAqTZQqyobQpuxB9ec9cZIyjdrfwOtKXL4u/ai-agent-connect
- **Tags:** crossword, puzzle, grid, metadata, symmetry

## Description

This MCP server provides precise tools for processing crossword puzzle grids. It allows AI agents to validate if a grid layout follows 180-degree rotational symmetry using `validate_grid_symmetry`, map clues to specific grid positions with `generate_clue_metadata`, and calculate structural properties like white square counts with `get_grid_statistics`. It is designed to ensure crossword data is consistent and correctly formatted.

## Tools

### get_grid_statistics
Calculates the total letter capacity and structural properties of the grid

### validate_grid_symmetry
Checks if the provided grid layout follows the standard 180-degree rotational symmetry rule

### generate_clue_metadata
Maps provided clues to their specific numbered positions and lengths within the grid

## Prompt Examples

**Prompt:** 
```
Check the symmetry of this grid: [['#', 'A'], ['A', '#']]
```

**Response:** 
```
The grid layout follows 180-degree rotational symmetry.
```

**Prompt:** 
```
What are the statistics for a 3x3 grid with one black square at the center?
```

**Response:** 
```
The grid has 8 white squares and dimensions of 3 rows by 3 columns.
```

**Prompt:** 
```
Generate metadata for a grid with clues ['CAT', 'DOG']
```

**Response:** 
```
1-Across (3 letters): CAT, 2-Down (3 letters): DOG.
```

## Frequently Asked Questions

**How do I check if my crossword grid is symmetric?**
You can use the `validate_grid_symmetry` tool by providing your grid as a 2D array of strings.

**Can I get the total number of white squares in my grid?**
Yes, the `get_grid_statistics` tool calculates the total white square count and grid dimensions.

**How are clues numbered?**
The `generate_clue_metadata` tool assigns numbers sequentially starting from 1, following standard crossword rules for Across and Down words.
