Two tools with identical parameter structure and minimal descriptions. Both tools have basic schemas (region: string) but lack depth. Descriptions are 60-65 chars, below the 194-char baseline for production tools. No output schema documented. Error handling returns raw strings instead of structured guidance. No parameter constraints (e.g., enum for region). Tools delegate to subprocess/AWS CLI without input validation or sanitization, creating injection risk. No pagination support despite potentially large result sets.
Lists all EC2 instances in a specific AWS region.
Lists all VPCs in a specific AWS region.
No output schema documented. Tools return raw JSON or formatted strings without declaring structure to LLM. LLM cannot plan downstream calls or extract required fields reliably.
Descriptions are 60-65 characters, well below 194-char baseline. 'Lists all EC2 instances in a specific AWS region' lacks context on when to use, what data is returned, or dependencies. LLM cannot distinguish from similar tools.
Region parameter accepts free-form string with no enum constraint or validation. LLM can pass invalid regions (e.g., 'us-fake-1'). Should declare valid AWS regions as enum or validate with clear error message.
Subprocess calls to AWS CLI are not sanitized. Region parameter is passed directly to shell command without escaping. Malicious input could inject commands. Use boto3 SDK instead or validate region against whitelist.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | <=2025-11-25 | v2 |
Error responses return raw strings ('Error: AWS CLI is not installed...') instead of structured guidance. LLM cannot parse error type or determine if retry is safe. Should return JSON with error_code, message, and recovery_hint.