A .NET-based MCP server demonstrating tool registration and HTTP transport
Single-tool server with solid fundamentals but significant gaps in completeness. The GetRandomNumber tool has a clear action verb, proper parameter types, and documented descriptions meeting baseline requirements. However, the tool lacks output schema documentation, error handling guidance, and detailed parameter constraints. The descriptions are adequate but brief (minimum 10 chars met; tool description is 93 chars, in acceptable range). Parameter descriptions are present and meaningful. No security concerns given the read-only nature. The server implements proper tool registration via [McpServerTool] attribute with ASP.NET Core integration, but the minimal scope (1 tool) and lack of output schema documentation prevent higher scoring.
Generates a random number between the specified minimum and maximum values.
No output schema documented. Callers cannot infer the return type structure or plan downstream operations. Documentation should state: 'Returns: integer, the randomly generated number in range [min, max)'.
Parameter range constraints not explicitly stated in descriptions. Current description says 'Minimum value (inclusive)' and 'Maximum value (exclusive)' but lacks example values or typical ranges. Should clarify: 'min and max must be integers; max must be > min' or specify practical bounds.
No error handling documentation. The tool lacks guidance on invalid inputs (e.g., max <= min). Responses should include actionable error messages like 'Invalid range: max (50) must be greater than min (100)' rather than generic exceptions.
Tool description is functional but minimal (93 chars, below baseline average of 194 chars). Should explain WHEN to use it and what distinguishes it from alternatives. Current text lacks context about use cases.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 8 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 43 | - | v1 |