A simple Math MCP server that provides basic arithmetic operations (add, multiply) for use with LangGraph agents
This is a minimal proof-of-concept MCP server with two simple arithmetic tools. While the tools are correctly registered with FastMCP and have basic descriptions, they fail multiple critical quality benchmarks. Tool descriptions are extremely terse (10 - 15 chars), far below the 50 - 200 char baseline for LLM-optimized tools. Parameter descriptions exist but are generic single-word summaries ('First number', 'Second number'). No output schemas are documented. There is no error handling guidance, no parameter constraints, no context on when to use add vs. multiply, and no information about edge cases (overflow, negative numbers, division by zero in a hypothetical division tool). The tools are trivial implementations (plain arithmetic), which limits assessment surface area, but even simple tools benefit from richer metadata to guide LLM selection and reasoning.
Add two numbers
Multiply two numbers
Tool descriptions are far too short (10 - 15 characters). Rubric baseline is 50 - 200 chars for LLM-optimized descriptions. Current descriptions ('Add two numbers', 'Multiply two numbers') lack context on when to use each tool, what they return, or any edge case guidance.
Parameter descriptions are minimal ('First number', 'Second number'). Rubric requires descriptions to explain what the parameter controls, expected format, range, and constraints. For numeric parameters, include min/max bounds. Current descriptions provide zero actionable guidance.
No output schema is documented. Rubric requires all tools to document return types and structure. Source code shows both tools return int, but this is not formally declared in the tool metadata or available to clients. LLMs cannot plan downstream operations without knowing what fields to expect.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 39 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 37 | - | v1 |
No error handling guidance. No description of what happens on edge cases (integer overflow, very large inputs, negative numbers). No recovery hints. Rubric pattern:recovery-guide requires error responses to tell the LLM what to do next.
No parameter constraints documented. Rubric requires format, range, and constraints in parameter descriptions. E.g., 'a (integer, range -2^31 to 2^31-1, represents the first operand)' vs current bare 'First number'.