Thai Lottery MCP Server for checking lottery numbers and listing prizes
This server has 2 tools with minimal but visible definitions. Both tools are registered via FastMCP decorators with descriptions and basic schemas. However, the definitions are severely lacking in depth and completeness. Tool descriptions are vague and under-sized (check_number: 36 chars, list_prizes: 32 chars). Input schemas are nearly empty, check_number accepts a bare string with minimal documentation; list_prizes has no input parameters at all. No output schemas are documented. No error handling guidance is visible. No parameter constraints (enums, ranges, formats). The tools lack the richness needed for LLM-driven composition. Based on baseline rubric (avg tool desc: 194 chars, avg params: 4, 100% A+ tools have documented return types), this server falls well below production quality.
Check the lottery number for the prize
List all available prizes
Tool descriptions are critically short (32 - 36 chars). Rubric baseline is 194 chars. Descriptions lack context on when/why to use each tool, what they return, and prerequisite knowledge. LLMs cannot reliably select these tools without richer prompting.
No input parameter descriptions. 'number' parameter in check_number has a 30-char description but lacks format guidance (expected length, allowed characters, examples of valid numbers). Rubric demands: 'The project key (2-10 uppercase letters, e.g. PROJ)' style clarity. Without it, LLMs may pass invalid input.
No output schemas documented. Both tools return plain strings, but LLMs need to know the structure to parse results and plan downstream steps. Baseline: 100% of A+ tools have documented return types. Current: 0%.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 36 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 30 | - | v1 |
No error handling or recovery guidance. If check_number receives invalid input (e.g., 'abc' instead of a 6-digit number), the tool will return a generic failure. LLMs need actionable errors: 'Invalid lottery number. Expected 6 digits, e.g. 123456. Try again or call list_prizes() for available numbers.'
No constraints on input parameters. The 'number' parameter accepts any string; no enum, regex, or length constraint prevents hallucinated invalid values. Rubric: 'When a parameter has a regex pattern, length limit, or character restriction, state it in the description.'
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite both tools being READ_ONLY. While the risk metadata is correct in the spec, the tools lack FastMCP annotations or schema hints that would signal safety to clients and agents.