A simple MCP server that provides basic mathematical operations
All four tools (add, subtract, multiply, divide) lack descriptions entirely, scoring 0 on description dimension. Input schemas are present with type definitions (int, int) but parameters 'a' and 'b' have null descriptions, violating the requirement that every parameter must have a non-empty description. Tool names are simple verbs but lack context about their purpose. The divide tool has a critical bug: it performs float division (a / b) but declares return type as int, creating a type mismatch. No output schema documentation. No error handling for division by zero. No tool annotations. Schemas are minimal but technically present.
All tools lack descriptions. MCP spec requires non-empty tool descriptions so LLMs can determine when to select each tool.
All parameter descriptions are null. Every input parameter must have a non-empty description explaining what it controls.
divide() performs float division (a / b) but declares return type as int, causing type mismatch and potential runtime errors.
No error handling for division by zero. Tool will crash if b=0 instead of returning a user-friendly error message.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 29 | 2026-07-28+ | v2 |
No output schema documentation. LLMs cannot plan downstream operations without knowing what fields are returned.