MCP server for ROS2 robot control, enabling movement commands via Twist messages
Single tool server with visible schema and description, but significant gaps in parameter documentation, error handling, and composition. The move_robot tool has a clear action verb and a schema, but parameter descriptions are minimal (only listing the array contents without context for why/when to use them). No output schema documentation. No error recovery guidance. The tool performs a write operation (sends movement commands to a physical robot) but lacks confirmation or dry-run patterns critical for destructive/irreversible actions on hardware. No input validation guidance in descriptions.
Send movement commands to the robot for a specified duration
Destructive operation (send movement commands to robot) lacks confirmation/dry-run pattern. No guard against accidental repeated invocations or clarification before executing irreversible hardware commands.
Parameter descriptions lack actionable format guidance. 'Linear velocity components [x, y, z]' does not specify units (m/s?), valid ranges (e.g., -1.0 to 1.0?), or what happens if values are out of bounds. No mention of coordinate frame (body-fixed vs world-fixed).
No documented output schema. The tool returns a string result (success or error message) but LLMs cannot plan follow-up calls without knowing the structured response format. Should document whether errors are retryable, and what the success response structure contains.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 45 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 38 | - | v1 |
Error handling is bare-bones. Function catches exceptions and returns 'Error: {str(e)}' with no recovery guidance. LLM receives only the exception string and cannot determine if the error is transient (retry), user-fixable (ask for valid params), or fatal.
No input validation. Code uses defensive index checks (len(linear) > 1) but does not validate that linear and angular are lists of floats, or that duration is positive. Invalid inputs silently fall through to ROS2 layer, causing unpredictable failures.
Temporal semantics unclear. Duration is in seconds but tool spins internally for that duration (blocking design). No timeout for ROS2 operations. If ROS2 publisher hangs, the async function blocks indefinitely, starving the MCP server.
No audit trail or permission gating. A tool that sends movement commands to a robot is inherently privileged, any LLM with access can command hardware without authorization checks or logging of who triggered what action.