The whoami tool has a valid name starting with a verb, but critical quality gaps severely limit production readiness. The tool description is adequate (67 chars, within 10-1024 range), but the input schema is completely empty (no parameters defined), and there is no documented output schema. The tool returns a string on success but a dict on error, creating inconsistent output types that LLMs cannot reliably parse. No error handling guidance, no parameter validation, and no security considerations are evident. The implementation lacks the structured output, error classification, and recovery guidance required for agent integration.
Returns the username of the current system user as my identity.
No input schema defined. Tool has empty input parameters {} with no type definitions or descriptions.
Inconsistent output types. Tool returns string on success but dict with 'error' key on exception. LLMs cannot reliably parse or chain this output. Must return consistent structured type.
No output schema documented. LLMs need explicit schema to understand return type and plan downstream operations. Must document: returns string (username) or error object with 'error' field.
No error handling guidance. Exception handler returns raw error message without recovery hints. Should guide LLM: 'Failed to fetch username: [reason]. This is a system-level issue; verify the container has proper user context.'
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 35 | 2026-07-28+ | v2 |
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Requires local subprocess invocation, limiting integration scenarios.