A simple MCP server providing calculator tools with basic arithmetic operations
Two tools with minimal descriptions and basic schemas. 'add' (9 chars) and 'calculate' (10 chars) descriptions are below the 20-char hard floor. Both tools lack parameter descriptions entirely, the schema shows types but no guidance on what each parameter controls or when to use one tool vs. the other. No output schema documented. Error handling is minimal (divide-by-zero returns text, not structured error). Tools are simple arithmetic operations with no composition risk, but the definitions fail to meet LLM-optimization baselines (target 50-200 chars for descriptions, 100% param annotation coverage).
Simple addition tool
Calculator tool with multiple operations
Tool descriptions below 20-character hard floor. 'add' = 'Simple addition tool' (20 chars, borderline); 'calculate' = 'Calculator tool with multiple operations' (40 chars). Both fail to explain WHEN to use each tool, what they return, or prerequisites. LLMs cannot distinguish between them.
Zero parameter descriptions. Schema shows types (a: number, b: number, operation: enum) but no text explaining what each parameter controls, valid ranges, or format expectations. LLMs must infer intent from names alone, increasing misuse risk.
No output schema documented. Callers cannot predict response structure. Responses are text-only ({'type': 'text', 'text': String(result)}), but this is not declared in tool metadata. Agents cannot plan downstream operations or extract structured data.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 37 | 2026-07-28+ | v2 |
Error handling returns unstructured text ('Error: Cannot divide by zero') instead of actionable error guidance. No error classification (retryable vs. fatal). LLM receives a text message, not a structured error with recovery hints.
Naming ambiguity: 'add' and 'calculate' with operation='add' overlap. LLM must reason about which to call. 'calculate' is generic (could mean any operation); 'add' is specific but redundant when 'calculate' exists. Violates single-responsibility principle.