The server provides two tools with explicit registration, schemas, and descriptions. Tool naming follows verb-noun conventions (get_systeminfo, exec_command), which is good. Both tools have input schemas with typed parameters and descriptions. However, output schema handling is inconsistent: get_systeminfo has a well-defined output schema with Zod validation, while exec_command lacks an output schema entirely. Error handling is present but minimal, exec_command catches errors but doesn't guide recovery or categorize error types. Parameter descriptions are functional but brief (average ~50 chars), below the baseline of 72 chars. The exec_command tool exposes significant security risks (command injection, no input validation) that are not addressed in descriptions or validation. Overall, this is a functional but below-average implementation lacking depth in error guidance and security documentation.
exec command in terminal
get system info, about osInfo, cpuInfo and memInfo
exec_command lacks output schema documentation. Tool returns text in content[0].text but provides no formal schema definition to the LLM about structure or fields.
exec_command exposes command injection risk. Parameters 'command', 'args', 'env', and 'cwd' are passed directly to spawn() with shell:true, with no input validation or sanitization. LLMs can inject shell metacharacters, paths with '..', or arbitrary environment variables. Description does not warn of these constraints.
exec_command description is vague about side effects and safety. It says 'exec command in terminal' but does not indicate that this is IRREVERSIBLE (can delete files, change system state, etc.). Agents need explicit warnings about destructive operations.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | 2025-06-18+ | v2 |
| 2026-03-09 | D | 52 | - | v1 |
exec_command error handling is minimal. Errors are caught and returned as isError:true with text, but do not guide recovery. E.g., a timeout or exit code 127 (command not found) should suggest 'Command not found. Check PATH or run from a directory with the executable.'
get_systeminfo parameter 'fields' description could be more explicit about defaults. It says 'fields to get, default is all' but does not specify what 'all' means or list the enum values in the description itself (they're only in the schema).