A simple MCP Server that exposes the nslookup command functionality
Single tool 'nslookup' has a clear action verb and acceptable description (89 chars), but lacks critical depth. Input schema is present with proper types and descriptions for both parameters. However, output schema is completely undocumented, the tool returns a formatted string with no structured field definitions, violating the pattern:tool-description requirement that 'LLMs need to know what fields to expect.' Error handling exists but is generic ('nslookup command failed') without recovery guidance. The tool is read-only and safe, but the definition quality falls short of production standards due to missing output documentation and lack of error categorization.
Performs DNS lookups using the nslookup command. Supports both forward and reverse DNS lookups.
Output schema completely undocumented. Tool returns a formatted string with no structured field definitions. LLMs cannot plan downstream operations or extract specific data from the response.
Error messages lack recovery guidance. 'nslookup command failed: <stderr>' tells the LLM nothing about what to do next. Should categorize errors (retryable vs user-fixable) and suggest alternatives.
Tool description (89 chars) is below the production baseline of 194 chars. Lacks context on WHEN to use this tool vs alternatives, what prerequisites exist, and what the output structure contains.
No input validation or constraint documentation. 'hostname' parameter accepts any string; no guidance on valid formats (FQDN, IPv4, IPv6). 'server' parameter similarly unconstrained.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | <=2025-11-25 | v2 |
Prompt feature defined but not integrated with tool. The nslookup_prompt() function duplicates tool logic instead of composing the tool result. Violates pattern:tool-chain composition principle.