Mirrord execution service for running command-line statements against Kubernetes services using mirrord to mirror traffic
Single tool 'run' has a clear verb-noun name and adequate description (145 chars), but critical gaps undermine quality. Input schema is present with three parameters (cmd_str, deployment, mirrord_config), all with descriptions. However, parameter descriptions lack format constraints, validation rules, and dependency documentation. No output schema is documented, callers cannot predict the structure of the returned result. The tool performs a destructive/irreversible operation (executing arbitrary commands in production K8s) but lacks confirmation/dry-run patterns, error recovery guidance, or permission gates. Error handling in executor.rs shows some logging but returns generic McpError messages without actionable recovery steps. No tool annotations (destructiveHint, idempotentHint) despite high-risk semantics.
Run a command-line statement against a Kubernetes service using mirrord to mirror traffic. Use absolute paths for binaries and all necessary flags.
No output schema documented. Tool returns CallToolResult::success(vec![Content::text(result)]) but callers cannot predict structure, type, or fields of 'result'. LLMs cannot plan downstream operations or extract data reliably.
Destructive operation (arbitrary command execution in production K8s) lacks confirmation/dry-run pattern. No permission gates, no audit trail, no idempotentHint annotation. Agents can accidentally execute harmful commands without safeguards.
Parameter descriptions lack format constraints and validation rules. 'mirrord_config' accepts arbitrary JSON string with no schema validation or error guidance. 'cmd_str' accepts any shell command with no injection protection documented. LLMs cannot validate inputs before passing them.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | <=2025-11-25 | v2 |
Error messages in executor.rs are generic ('Failed to parse command line arguments', 'Failed to create temp config file'). No recovery guidance. LLMs cannot self-correct or suggest next steps when errors occur.
No tool annotations despite high-risk semantics. Missing destructiveHint=true, idempotentHint=false. Clients cannot determine if the tool is safe to retry or has side effects.