Two tools present with minimal-quality definitions. Both tools have functional but brief descriptions (around 50 chars each, below the 194-char baseline), and parameters lack detailed guidance on constraints, formats, or valid ranges. Input schemas exist but are sparse, latitude/longitude lack bounds; state parameter lacks validation hint for 2-letter requirement. No output schema documentation. Error handling is implicit (returns strings on failure) but provides no recovery guidance. The server lacks pagination, batch operations, and proper parameter constraint declarations (e.g., state should be an enum of valid US state codes, latitude/longitude should have min/max bounds). Overall, this is a functional but D-tier implementation with significant pattern gaps.
Get weather alerts for a US state. Args: state: Two-letter US state code (e.g. CA, NY)
Get weather forecast for a location. Args: latitude: Latitude of the location longitude: Longitude of the location
Parameter descriptions lack constraints and validation rules. The 'state' parameter says 'Two-letter US state code (e.g. CA, NY)', this is an example, not a constraint. Should declare state as enum with all 50 US state codes or provide explicit validation hint. Latitude/longitude lack bounds (±90 for lat, ±180 for lon) or precision guidance.
Tool descriptions are too brief (50 chars each; baseline is 194 chars). 'Get weather alerts for a US state' lacks context on when to call this vs get_forecast, what data is returned, or prerequisites. Missing: 'When should the LLM call it instead of a similar tool? What does it return?' guidance.
No output schema documentation. Both tools return unstructured strings. LLMs cannot plan downstream calls or extract structured data. Should document the JSON structure of returned alerts (event, area, severity, description, instructions) and forecast periods (name, temperature, wind, forecast).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 42 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 42 | - | v1 |
Error handling provides no recovery guidance. When 'Unable to fetch alerts or no alerts found' is returned, the LLM has no hint on whether to retry, call a different tool, or ask the user. Error responses should classify as retryable/user-fixable/fatal and suggest next steps.
Parameter descriptions in docstrings use example values ('e.g. CA, NY', 'e.g. 2024-01-15'). LLMs latch onto examples and may reuse them literally in real calls. Should replace examples with formal constraints (enums, regex patterns, min/max).
Missing pagination for alerts list. If a state has 50+ active alerts, returning all as a single concatenated string wastes context and may exceed token limits. Should add limit/offset parameters and return structured results with a count.
Latitude/longitude parameters lack range documentation in input schema descriptions. Should explicitly state: 'Latitude must be between -90 and 90; longitude between -180 and 180. Precision: up to 4 decimal places recommended.'