A Model Context Protocol server that provides weather information and prompts for weather-related interactions
Single tool 'get_weather' has a clear, verb-prefixed name and adequate schema with typed input parameters. Description is present (145 chars) and explains the tool's purpose. However, the schema lacks explicit output documentation, and error handling guidance is absent. The tool's implementation is simple (hardcoded 44°F response per comments), which limits real-world applicability but doesn't penalize definition quality. Parameter descriptions are minimal but present. No per-tool security or permission declarations. Overall, this is a functional but basic definition that meets core MCP requirements without excelling at LLM guidance or error recovery patterns.
Get current weather information for a specified city. Returns temperature data for the requested location.
Missing output schema documentation. Tool definition shows input schema but does not declare expected output structure (e.g., temperature, unit, timestamp fields). LLMs cannot plan downstream operations or validate responses without knowing what fields to expect.
Error handling lacks recovery guidance. The tool provides no documentation of failure modes or how to respond if city is not found, API is unreachable, or input is invalid. Responses should guide the agent to retry, use a different city, or call a discovery tool.
Parameter description for 'city' is functional but minimal (32 chars). While examples are provided ('New York', 'London', 'Tokyo'), the description does not state whether the tool accepts partial names, aliases, or only exact matches. Format and validation rules are underdocumented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | 2025-06-18+ | v2 |
| 2026-03-09 | F | 36 | - | v1 |
No constraints on input. The 'city' parameter accepts any string with no enum or regex validation. LLMs may pass invalid city names, coordinate strings, or multi-word queries without clear guidance on what constitutes a valid city.
No tool composition guidance. The single tool is isolated. Documentation does not indicate how this tool fits into broader workflows (e.g., use get_weather before calling send_alert or create_travel_plan). Prompts are declared but not shown in the provided code.