A simple MCP server implementation using FastAPI that provides a greeting tool via JSON-RPC over HTTP
Single tool 'greet' has critical definition gaps. Tool name lacks action verb (should be 'send_greeting' or similar). Description is minimal (16 chars, below 20-char threshold). Parameter 'name' has no description (null in schema). No output schema documented. No error handling guidance. Fails 6+ core patterns from the rubric.
Greets the user
Tool name 'greet' lacks action verb. Should start with verb (e.g., 'send_greeting', 'generate_greeting'). LLMs infer intent from names, bare nouns are ambiguous.
Description 'Greets the user' is 16 characters, below 20-char minimum. Lacks WHAT, WHEN, and WHY context. Does not state if this modifies state or is read-only.
Parameter 'name' has null description in schema. LLMs cannot infer what 'name' means, is it a user name, display name, or identifier? Must add explicit description.
No output schema documented. Response structure is inferred from code (returns {message: string}). LLMs need explicit schema to plan downstream calls and extract fields.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 27 | 2026-07-28+ | v2 |
No error handling or recovery guidance. If 'name' is empty or invalid, tool returns no actionable error. LLM cannot self-correct or retry intelligently.