MCP server with OAuth authentication and a simple arithmetic tool
Single tool 'add' has critical definition gaps. Input schema present (Zod: {a: number, b: number}) but parameter descriptions are null, violates the requirement that every parameter needs a description. Tool description is missing entirely (null in schema). No output schema documented. Tool is trivial (arithmetic) but fails basic quality standards: descriptions are mandatory per pattern:tool-description, and null descriptions score 0. The server demonstrates HTTP transport and basic MCP SDK usage but lacks production-grade tool definition practices.
Tool 'add' has no description. LLMs cannot determine when or why to select this tool without a description.
Both input parameters (a, b) have null descriptions. Every parameter must have a non-empty description explaining what it controls.
No output schema documented. LLMs need to know what fields to expect in the response to plan downstream calls.
Tool name 'add' is generic and does not follow verb_noun convention. Consider 'calculate_sum' or 'add_numbers' for clarity.
No error handling guidance. If inputs are invalid (non-numeric), the response should guide the LLM on recovery.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | 2026-07-28+ | v2 |