Weather Data provider from the city name. Provides weather information, user resources, and weather-based prompts via MCP protocol.
Single tool with minimal documentation. The get_weather tool has a verb-based name (good), but the description is only 22 characters, below the 34 char p10 baseline and lacks context about what the tool returns or when to use it. Input schema is visible (city: string) but the description for the city parameter is missing entirely. No output schema documented. Error handling is present in the code but does not follow recovery-guide pattern, it returns a hardcoded fallback ('0°C, Very cold and high chance of snow') rather than guiding the LLM on what went wrong or how to fix it. Tool annotations are present (readOnlyHint, idempotentHint) which is a strength, but the overall information architecture is sparse.
Get weather for a city
Tool description is only 22 characters; lacks WHEN to use and WHAT it returns. Rubric baseline expects 34 - 392 chars. Description must explain: 'Get current weather conditions for a city. Returns temperature and weather condition. Supports Delhi, London, Tokyo, Shimla; unknown cities default to cold warning.'
Parameter 'city' has no description. Rubric requires every parameter to have a non-empty description explaining what it controls. Add: 'City name to retrieve weather for (e.g., Delhi, London, Tokyo, Shimla). Case-insensitive.'
No output schema documented. Rubric requires all tools to document return types. Tool returns {content: [{type: 'text', text: string}]} but this is not declared in schema. LLM cannot plan downstream actions or extract fields without knowing output structure.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 37 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 28 | - | v1 |
Error handling does not follow recovery-guide pattern. When city is not found, the tool returns a hardcoded fallback message ('0°C, Very cold and high chance of snow') instead of telling the LLM what went wrong or how to recover. Should return: {error: 'City not found: {city}. Try one of: Delhi, London, Tokyo, Shimla.'} or similar.
No enum constraint on 'city' parameter. Tool accepts only 4 cities (delhi, london, tokyo, shimla) but input schema declares city as generic string. Should use enum: ['delhi', 'london', 'tokyo', 'shimla'] or at minimum document allowed values in description.