An MCP server that executes shell commands and returns their output
Single tool with critical gaps. The execute_shell tool has a clear name and basic description, but lacks crucial safety documentation, parameter validation guidance, and error handling direction. The tool is marked DESTRUCTIVE but the description does not warn about this or provide usage constraints. Parameter lacks format/constraint documentation. No output schema is documented. Error handling returns generic text without recovery guidance.
Execute a shell command and return its output
Tool description fails to mention destructive risk or safety guardrails. Description is only 55 characters and omits WHEN to use, prerequisites, and that this tool can delete files, modify systems, or cause data loss.
No input validation documentation. Parameter 'command' lacks constraints: no mention of allowed/forbidden commands, shell type, timeout, or execution environment. LLMs will pass arbitrary commands including destructive ones (rm -rf /, mv critical_file /dev/null).
No output schema documented. Code returns text content but LLMs cannot infer the structure, fields, or boundaries. Missing documentation on whether output is stdout, stderr, combined, or capped length.
Error handling provides no recovery guidance. When command fails, response is generic text 'Error executing command: <message>' without explaining whether to retry, ask the user, or try an alternative approach. LLM has no actionable next step.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 49 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 37 | - | v1 |
No confirmation/dry-run support for irreversible operations. execute_shell executes immediately with no preview, confirmation step, or dry-run mode. An agent error will execute destructive commands without safeguards.
Missing security audit trail and permission gates. No indication of who is calling, what permissions are checked, or how calls are logged for compliance. A destructive tool with no audit capability is a compliance and security liability.