API & MCP
Everything a person can do on Pinball Table Checker, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://pinquesttablecheck.usefulweb.app/api/v1/calculate– run Pinball Table CheckerGET https://pinquesttablecheck.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Pinball Table Checker
Checks a Pinquest table — a built-in one or your own table JSON — for errors (unknown elements, broken references, missing flippers or plunger, invalid rules), then lets the autoplay bot play every mission stage with the real physics to prove each goal can be reached, and reports stuck balls, free-play scores and switches the ball never touched.
| Field | Type | Default | Description |
|---|---|---|---|
table | select (witch-castle, zombie-night, pirate-treasure, space-station, dragon-lair, haunted-circus, deep-sea, jungle-temple, steampunk-airship, ninja-dojo, wild-west-heist, alien-invasion, dinosaur-islan | "witch-castle" | Table |
tableJson | textarea | — | Your own table (Pinquest table JSON, optional — replaces the table above). The format is described in the Pinquest table spec: elements (walls, flippers, bumpers, ramps …) in table units (20 × 40), lights and rules with missions. |
balls | integer | 10 | Simulated balls per mission stage. More balls = a stricter proof but a longer check. A stage counts as reachable as soon as the bot finishes it once. |
seed | integer | 1 | Random seed of the bot |
Example request
Witch of the King's Castle (reference table)
curl -X POST https://pinquesttablecheck.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"table":"witch-castle","tableJson":"","balls":6,"seed":1}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://pinquesttablecheck.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
pinquest_table_check - Local stdio connector:
node src/mcp-stdio.ts --tool=pinquest-table-check
{
"mcpServers": {
"pinquest-table-check": { "type": "http", "url": "https://pinquesttablecheck.usefulweb.app/mcp" }
}
}