This server has fundamental definition quality issues. The 3 tools are directly registered in server.py with explicit schemas and descriptions visible. However, tool descriptions are extremely vague and generic, parameter descriptions are absent, and output schemas are undocumented. The 'run' tool lacks critical safety guardrails for an IRREVERSIBLE operation. The 'add' and 'help' tools appear to duplicate functionality. Parameter naming is minimal (cmd, cmd_args) without type hints beyond string. No enum constraints, no error guidance, no output schema documentation.
Add a new cli schema learned by traversing parsing all help menu subtrees.
Returns learned schema of cli.
Run a command
Tool descriptions lack context for LLM selection. 'Add a new cli schema learned by traversing parsing all help menu subtrees' is unclear, does it parse a CLI's help text? Store the schema? Both? The LLM cannot infer when to use 'add' vs 'help' based on these descriptions.
No parameter descriptions exist. The 'cmd' parameter in all three tools lacks explanation, is it a command name (bash), a tool name (git), or a CLI invocation string? The 'cmd_args' parameter in 'run' has no description of expected format, escaping behavior, or constraints.
The 'run' tool is marked IRREVERSIBLE but has no confirmation step, dry-run mode, or output preview. This violates the confirmation-request pattern. An LLM can invoke arbitrary shell commands without user approval or preview.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 31 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 21 | - | v1 |
Output schemas are completely undocumented. All three tools return TextContent but the LLM does not know what fields or structure to expect from the response. The 'run' tool returns a string like 'Command executed: ...\n\nstdout: ...\n\nstderr: ...', but this is not documented as a schema.
Functional overlap: 'add' and 'help' both parse a CLI and return a schema. 'add' stores it; 'help' may re-parse. The LLM cannot distinguish when to call which. This violates the single-responsibility principle.
No error recovery guidance. If the 'run' command times out after 10 seconds, the tool returns nothing to the LLM except 'await asyncio.wait_for(...timeout=timeout)' which may raise an unhandled asyncio.TimeoutError (code truncated). The LLM has no guidance on retry, alternatives, or why the command failed.
Security: The 'run' tool accepts arbitrary shell arguments in 'cmd_args' and constructs a subprocess. While shlex.split() is used for escaping, there is no rate limiting, timeout enforcement at the handler level (only subprocess level), or permission checks. A compromised LLM could invoke destructive commands repeatedly.
Naming ambiguity: 'cmd' is vague. Does it mean a command name (bash), a tool identifier (git), or a full invocation? Compare to production pattern 'verb_noun', e.g., 'execute_command' or 'run_cli'. The bare 'cmd' forces the LLM to guess.
No state documentation. The server maintains a global 'clis' dict that persists CLI schemas across calls, but the tool descriptions do not explain this side effect. The LLM does not know that calling 'add' once caches the schema for future 'help' and 'run' calls.