A collection of mock services for the MCP Workshop, providing weather, quote, and datetime functionality through HTTP REST endpoints and MCP protocol support
The server defines 9 tools with mostly complete schemas and descriptions. All tools have input schemas with proper JSON Schema structure and enum constraints where appropriate. Descriptions are present and reasonably clear (30-80 characters), though they could be more LLM-optimized. Parameter descriptions are clear and specific. However, output schemas are completely undocumented, there is no schema documentation for what these tools return, which is a critical gap for downstream chaining and LLM planning. Additionally, error handling is not evident from the code samples provided. All tools are READ_ONLY (good security posture), but the descriptions do not explicitly state this. Tool naming follows verb_noun conventions well (get_, filter_, compare_, convert_). The parameter naming is clear (city, category, timezone, etc.) with appropriate type hints.
Convert time between timezones
Get current time in specified timezone
Get filtered quotes by specific category
Get filtered quotes by language (Thai, English, or mixed)
Get filtered quotes by mood context (stressed, sad, motivated, or any)
Get a random inspirational quote with optional filtering
Compare weather conditions between multiple cities
Get current weather information for a specified city
Output schemas completely undocumented. No documentation of what fields tools return, making it impossible for LLMs to plan downstream chaining or extract required data (e.g., what fields does quote_get_random return? Is there a 'quote' field? 'author'? 'category'?).
Error handling not documented in code samples. No evidence of explicit error responses, recovery guidance, or error classification (retryable vs. user-fixable vs. fatal). For example, what happens if an invalid timezone is passed to datetime_get_time? The partial code shows an HTTPException but no guidance to LLM on what to do next.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 47 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 49 | 2024-11-05+ | v1 |
Get 3-day weather forecast for a specified city
Descriptions do not explicitly state that all tools are READ_ONLY and safe to call repeatedly. While Risk field is marked READ_ONLY in metadata, LLMs see the description text first. E.g., 'Get a random inspirational quote' does not signal idempotence or safety.
Weather tools accept 'city' as a free-form string with no validation hints. 'city' parameter description says 'e.g., bangkok, london, tokyo', these are examples in text, not an enum. LLMs may pass invalid city names or require trial-and-error. Should either enumerate common cities or document format/validation rules.
datetime_convert_time has optional 'datetime' parameter but no guidance on what happens when it is omitted. Description says 'optional, defaults to current time' but this is vague, does 'current' mean UTC, the source timezone, or the target timezone?