FastAPI-based server providing MCP tools for AWS resource management and operations across CloudFormation, Auto Scaling, SSM, CloudWatch, Lambda, and general AWS resources
This server has critical gaps across naming, descriptions, and schemas. Tool names lack clear action verbs (scale_group, deploy_stack are acceptable but list_resources is generic). Most parameter descriptions are minimal (1-5 words). Input schemas are present but sparse, many lack proper type constraints and validation guidance. No output schemas documented. Error handling is basic HTTP exceptions without recovery guidance. The server exposes AWS operations but lacks the LLM-optimized structure needed for reliable agent integration.
Deploy a CloudFormation stack
Get EC2 CPU utilization metrics for the past hour
Invoke an AWS Lambda function with a payload
List all AWS resources including EC2 instances, RDS databases, IAM users, ECS clusters, S3 buckets, ALBs, and Route53 records
Run an SSM command on EC2 instances
Scale an Auto Scaling Group to a desired capacity
No output schemas documented. LLMs cannot predict response structure, forcing them to guess at field names for downstream tool chaining. E.g., deploy_stack returns {message, stack_id} but no schema tells the agent what to expect.
Parameter descriptions are too brief (1-5 words). E.g., 'The name of the Auto Scaling Group' lacks context on format, constraints, or when to use this tool vs alternatives. Baseline is 72 chars; these average ~20.
list_resources has no input parameters but returns 8 different resource types with inconsistent error handling (some return 'Error: {e}' strings mixed with structured data). No pagination, no limit, no filtering. Violates response-shaper and paginated-result patterns.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 35 | 2026-07-28+ | v2 |
Get the status of a CloudFormation stack
Error handling is generic HTTP exceptions without recovery guidance. E.g., HTTPException(status_code=400, detail=str(e)) gives the LLM no actionable next step. Should categorize as retryable vs user-fixable and suggest alternatives.
No input validation or constraint documentation. E.g., desired_capacity accepts any integer but should specify min/max bounds. Parameters lack enums, regex patterns, or format hints. Invites hallucinated invalid values from LLMs.