A Rust MCP server middleware that provides tool call execution, prompt management, resource handling, and session management with support for server→client elicitation
This Rust MCP server implements 2 tools with basic schemas visible in source code, but lacks critical quality markers expected of production tools. Both tools have short, generic descriptions (27 and 28 chars respectively) that fall well below the 194-char baseline and do not explain WHEN or WHY to use them. Input schemas are present with parameter types and descriptions, but output schemas are completely absent, the codebase shows output parameters are fetched via `get_output_params()` but no concrete output structure is documented in the tool registry. The server uses a custom HTTP transport (my-http-server crate) with elicitation support, indicating some sophistication, but tool definitions themselves are minimal. Examples show tools are registered in demo_server.rs with only name, description, and input parameters, no documented return types or error handling guidance. The architecture supports context-aware execution and error reporting, but these capabilities are not reflected in the tool definitions visible to agents.
Echoes the provided text back
Searches for a pattern
Output schemas completely undocumented. Code shows `get_output_params()` is called but no concrete output field definitions are visible in tool registry. LLMs cannot plan downstream calls or extract structured data without knowing return types.
Tool descriptions are critically short (27 - 28 characters) and generic. 'Echoes the provided text back' and 'Searches for a pattern' lack context for WHEN to use each tool, what it modifies, and how it differs from similar tools. Baseline for A+ tools is 194 chars; these fall below the 34-char p10.
No error handling guidance in tool definitions. The ToolCallExecutor code shows deserialization errors are caught and reported, but tools do not document what error conditions are possible, whether failures are retryable, or how LLMs should recover.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 45 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | 2025-03-26+ | v1 |
'search' tool parameter 'project' lacks constraint documentation. No enum of valid projects, no format string, no guidance on whether it accepts project names, IDs, or keys. This forces LLMs to guess valid values.
No documentation of tool composition. If 'search' returns a project_id, does 'echo' accept it? Are there downstream tools that consume the output of these tools? The schema gaps make chaining unclear.