A Model Context Protocol (MCP) server implementation using FastMCP with FastAPI integration
This is a quickstart template server with 3 tools. All tools have explicit definitions in mcp_native_server.py with descriptions in Japanese and proper type hints. However, the descriptions are very brief (16-25 chars), input schemas are inferred from function signatures rather than explicitly documented, and there is no output schema documentation. Parameter descriptions are minimal. The server demonstrates working tool registration via FastMCP decorators but lacks the comprehensive schema and description quality expected of production tools.
2つの数値を足し算する
メッセージをそのまま返す
2つの数値を掛け算する
Output schemas are not documented. While function return types are declared in Python (float for add/multiply, dict for echo), there is no explicit schema documentation showing what fields clients should expect. LLMs cannot plan downstream tool usage without knowing output structure.
Parameter descriptions are minimal (7-14 chars: 'First number', 'Second number', 'Message to echo'). E.g., 'a' should document: 'The first operand (any real number, positive or negative)' to guide LLM input selection.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 45 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 32 | - | v1 |
Tool names lack context-specific action verbs. 'add' and 'multiply' are bare function names, not verb-noun pairs like 'compute_sum' or 'compute_product'. While technically functional, they do not follow the 90% A+ baseline of starting with explicit action verbs. 'echo' is similarly generic; 'echo_message' would be clearer.
No error handling guidance. Tools do not return structured error responses or recovery hints. If 'add' receives non-numeric input, the server will likely crash or return a generic exception rather than 'Invalid input for a: expected float, got string' with a recovery suggestion.