A blocks world simulation with pygame visualization and Flask REST API
This blocksworld simulation server has 14 tools with mostly complete schemas and reasonable descriptions, but exhibits several quality gaps. All tools have explicit descriptions (10-100+ chars) and input schemas with type definitions visible in the source. However, descriptions are often terse (many 20-50 chars), parameter descriptions lack depth about constraints and use cases, and output schemas are not documented. The tool naming is clear and verb-based (start_, pick_, put_, stack_, unstack_, execute_, verify_, list_, get_), following conventions. No tool annotations (readOnlyHint/destructiveHint) are present despite clear risk categories (READ_ONLY vs WRITE). Error handling and recovery guidance are not visible in the provided code. The tools form a coherent composition for block manipulation, but lack the polish expected of A/B-grade tools.
Execute a plan of multiple block manipulation actions
Get complete simulation status with full observability (no partial observability constraints)
Get the rules and constraints for the current simulation environment
Get details of a specific scenario
Get current simulation status including robot state and block positions
Get all available predefined scenarios
Pick up a block with the robot
Output schemas not documented. Tools like get_status, get_full_status, get_rules, list_scenarios lack descriptions of what fields they return. LLMs cannot plan downstream chaining without knowing what data is available.
Tool annotations missing. Tools marked WRITE (start_simulation, quit, stop_simulation, pick_up, put_down, stack, unstack, execute_plan) and READ_ONLY (verify_plan, list_scenarios, get_scenario_details, get_status, get_full_status, get_rules) lack destructiveHint, readOnlyHint, or idempotentHint annotations. The MCP spec supports these; not using them makes it harder for agents to reason about side effects.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 60 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Put down the block being held by the robot
Quit the simulation
Stack one block on top of another block
Start the simulation with optional scenario or custom initial stacks configuration
Stop the running simulation
Remove a block from on top of another block
Verify if a plan is valid without executing it
Terse descriptions for simple tools. quit and stop_simulation have 1-word descriptions ('Quit the simulation', 'Stop the running simulation'). While technically present, they fall below the 20-character guidance for meaningful context.
Parameter descriptions lack constraint/format details. Block name parameters (e.g., in pick_up, put_down, stack, unstack) state '(single uppercase letter A-Z)' but do not describe what happens if an invalid block name is passed. No error recovery guidance (e.g., 'Call list_scenarios or get_status to see valid block names').
No error handling documented. No visible try/except, error classification (retryable/fatal/user-fixable), or recovery guidance in the provided api.py. A bare exception in execute_plan or verify_plan would give the LLM no direction on how to proceed.
get_status vs get_full_status naming is ambiguous. Both return status, but the distinction ('full observability') is domain-specific and not obvious from names alone. LLMs may conflate them. Consider get_status (default, respects constraints) and get_observable_state (full observability without constraints) for clarity.
start_simulation has three optional parameters with interdependencies (scenario_id vs initial_stacks, plus constraint_set) but no documentation of mutual exclusivity or required combinations. LLM docs should clarify: 'Pass scenario_id for a predefined scenario OR initial_stacks for custom setup, not both.'