A simple MCP server for network diagnostics and greeting utilities
Two tools with minimal definitions. Both have verb-noun naming (ping_ip, hello) which is good, but descriptions are extremely brief (10-30 chars, well below the 34-char p10 baseline). No parameter descriptions provided, parameters lack context for LLM selection. No output schemas documented. No error handling guidance. No input validation or constraints. The ping_ip tool exposes subprocess execution risk without sanitization guidance.
Simple hello world tool
Ping an IP address and return latency in milliseconds.
Parameter descriptions missing entirely. The 'ip' parameter in ping_ip and 'name' parameter in hello have no descriptions explaining format, constraints, or expected values. LLMs cannot infer whether 'ip' accepts IPv4, IPv6, hostnames, or CIDR ranges.
Tool descriptions are under 20 characters (ping_ip: 'Ping an IP address and return latency in milliseconds.' is 54 chars but lacks WHEN to use it or prerequisites; hello: 'Simple hello world tool' is 23 chars and provides no context). Descriptions should be 50-200 chars and answer: what, when, and what it returns.
No output schemas documented. ping_ip returns a dict with 'ip', 'latency_ms', 'status' fields, but this structure is not declared in the tool definition. LLMs cannot plan downstream calls or extract fields reliably without documented return types.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 35 | 2026-07-28+ | v2 |
No error handling or recovery guidance. ping_ip catches CalledProcessError but returns a bare dict with status='unreachable'. No guidance on what the LLM should do next (retry? ask user? try a different IP?). No actionable error messages.
Security risk: ping_ip passes user-supplied 'ip' directly to subprocess.check_output() without validation. Vulnerable to command injection if 'ip' contains shell metacharacters. No input sanitization or format validation (IPv4/IPv6/hostname constraints).