A lightweight MCP server implementation with multiple transport options (SSE, stdio, streamable HTTP) exposing basic arithmetic and weather tools
nanoMCP exposes 9 tools across three transport implementations (STDIO, SSE, Streamable HTTP). All tools have basic schemas and descriptions, but quality is severely limited. Tool names lack action verbs (add, multiply, weather are bare nouns or generic). Descriptions are extremely brief (10-30 chars), below the 50-200 char LLM-optimized baseline. No parameter descriptions exist, only type definitions. No output schema documentation. No error handling guidance. The server demonstrates protocol awareness but fails fundamental tool design patterns.
Add two numbers
两数相加
Add two numbers
Multiply two numbers
两数相乘
Multiply two numbers
查询城市天气
Get weather for a city
Get weather for a city
Tool names lack action verbs. 'add', 'multiply', 'weather' are bare nouns or generic terms. LLMs cannot infer intent from names alone. Should be 'calculate_sum', 'calculate_product', 'get_weather_forecast'.
Descriptions are 10-30 characters, far below the 50-200 char LLM-optimized baseline. 'Add two numbers' and '两数相加' provide no context for WHEN to use the tool or what it returns. Descriptions must explain purpose, prerequisites, and output.
No parameter descriptions. Schema defines types (number, string) but LLMs cannot infer what 'a', 'b', or 'city' mean without descriptions. Every parameter must have a description explaining its role and constraints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 32 | 2026-07-28+ | v2 |
No output schema documentation. Tools return text content but LLMs do not know the structure or fields to expect. Must document return type, fields, and format (e.g., 'Returns: {result: number}' or 'Returns: {city: string, condition: string, temperature: number}').
No error handling or recovery guidance. If a tool fails (invalid input, service error), the LLM receives no actionable next step. Must include error classification (retryable vs user-fixable) and recovery hints.