A C# .NET Model Context Protocol server implementation demonstrating calculator and echo tools
This server has critical definition quality gaps across all three tools. All tools lack parameter descriptions entirely, violating the core requirement that every parameter needs a description explaining what it controls (pattern:tool-description). Tool descriptions are present but minimal and in Turkish, making them inaccessible to English-speaking development teams. The codebase shows decorator-based tool registration (@McpServerTool) but provides zero parameter documentation. The Echo tool is defined in Program.cs (not a dedicated tool file), further reducing visibility and maintainability.
Girilen metni geri döndürür...
İki sayının çarpımını döndürür...
İki sayının toplamını döndürür...
All parameters completely lack descriptions. The Sum and Multiply tools accept 'number1' and 'number2' with zero documentation of their purpose, valid ranges, or constraints. The Echo tool's 'message' parameter has no description. This violates the core pattern:tool-description requirement that every parameter needs a non-empty description explaining what it controls.
Tool descriptions are in Turkish ('İki sayının toplamını döndürür...', 'Girilen metni geri döndürür...') instead of English, making them inaccessible to international teams and LLMs typically trained on English documentation.
Input schemas are inferred from C# method signatures via @McpServerTool attributes rather than explicitly defined. While schemas are technically present (integer types for Sum/Multiply, string for Echo), there is no visible JSON Schema registration with property descriptions, min/max bounds, or enums.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 28 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 14 | - | v1 |
No parameter constraints specified. Numeric parameters (number1, number2) have no documented minimum, maximum, or valid range. Without constraints, LLMs can pass unbounded values (e.g. 999999999999) that may cause overflow or unexpected behavior. Unbounded numbers let LLMs pass absurd values that break APIs or cause timeouts.'
Tool naming is generic and lacks action verbs. 'Sum' and 'Multiply' are nouns describing mathematical operations, not action-oriented verb names like 'add_numbers' or 'compute_product'.
No documented output schema for any tool. LLMs need to know what fields and types to expect in responses (e.g. does Sum return just an integer, or an object with {result: integer, unit: string}?). Per pattern:tool: 'Document the output schema. LLMs need to know what fields to expect so they can plan downstream tool calls and extract the right data.'
No error handling guidance. Tools do not document what happens if parameters are invalid, missing, or cause runtime errors. There are no recovery hints like 'Invalid input: number1 must be an integer between -2147483648 and 2147483647.' Per pattern:recovery-guide: 'Error responses must tell the LLM what to do next.'
Echo tool is defined in MCP.Client/Program.cs, not in a dedicated tool file like CalculatorTool.cs. This breaks the expected tooling structure and makes it harder to discover and maintain tool definitions. Tool definitions should be co-located with their implementation in dedicated tool modules.