Async Model Context Protocol (MCP) server implementation in C++23 with support for HTTP and STDIO transports
All 5 tools have minimal definitions. Tool names (echo, calculator, greeter, real_tool, test) lack action verbs and are generic/vague. Descriptions are trivial (10-20 chars), far below the 194-char baseline. No input schemas visible in source, all tools registered with JSON(nullptr). No parameter descriptions, no output schema documentation, no error handling guidance. This is a proof-of-concept implementation, not production-ready.
A simple calculator
Echoes back the input
Greets someone
A real tool
Test tool
All tools registered with JSON(nullptr), no input schemas present. Cannot validate parameters or guide LLM on what arguments to pass.
Tool descriptions are trivial (10-20 chars). Baseline is 194 chars. LLMs cannot determine when/why to select these tools. E.g. 'Echoes back the input' does not explain use case or output format.
Tool names lack action verbs. 'echo', 'calculator', 'greeter', 'test' are generic. Should be 'echo_message', 'calculate_expression', 'greet_user', 'run_test' to signal intent.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 30 | 2026-07-28+ | v2 |
'real_tool' is maximally vague. Does not convey what the tool does. Rename to reflect actual functionality (e.g. 'fetch_data', 'process_request').
No output schema documentation. LLMs cannot plan downstream calls or extract expected fields. Tool handlers return args directly (co_return args), unclear what structure clients should expect.