A demonstration MCP server repository containing three FastMCP servers: a Math server providing arithmetic operations, a Weather server providing weather data, and a Pump Telemetry server providing sensor statistics. Includes an agent that orchestrates these servers using LangGraph and Azure OpenAI.
This is a multi-server demo with 9 basic math/utility tools. Tool naming follows verb_noun convention (add, multiply, divide, etc.), which is good. However, descriptions are inconsistent in quality and depth. Most lack sufficient context for LLM selection. Parameter descriptions exist but are minimal. Input schemas are present and properly typed (integers, strings), but lack constraints and comprehensive documentation. Output schemas are not documented. Error handling is basic, divide() mentions ValueError for zero division, factorial() and fibonacci() check for negative inputs, but error messages lack recovery guidance. No tool annotations (readOnlyHint, destructiveHint). No pagination, batching, or composition patterns. This is a demonstration server, not production-grade, but the core definitions are sound enough for simple use cases.
Add two numbers Returns: int: The sum of a and b
This function performs division of two integers and returns the result as a float. Returns: float: The result of dividing a by b Raises: ValueError: If b is zero
Calculate the factorial of a number Args: n (int): The non-negative integer to calculate factorial for Returns: int: The factorial of n (n!) Raises: ValueError: If n is negative
Calculate the nth Fibonacci number Args: n (int): The non-negative integer position in the Fibonacci sequence Returns: int: The nth Fibonacci number Raises: ValueError: If n is negative
Get telemetry data statistic for a physical measure on the pump. Measures must be either 'temperature' or 'flow_rate'. Statistic must be a valid pandas time-series aggregation function.
Get weather for location.
Minimal tool descriptions lack context for LLM selection. 'Add two numbers' (add, multiply) and 'Get weather for location' (get_weather) provide no guidance on when to use vs similar tools or what preconditions exist.
No output schema documentation. Tools return simple types (int, float, str) but LLMs cannot plan downstream calls or extract structured results without explicit return schemas.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). These are simple read-only tools but lack explicit metadata signaling safety classification to clients.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 64 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 46 | - | v1 |
Multiply two numbers Returns: int: The product of a and b
Raise a number to the power of another Args: a (int): The base number b (int): The exponent Returns: int: The result of a raised to the power of b
Subtract two numbers Args: a (int): The number to subtract from b (int): The number to subtract Returns: int: The result of a minus b
Error messages lack recovery guidance. divide() raises 'Cannot divide by zero', but does not suggest alternative approaches (e.g., 'Try a different divisor' or 'Use subtraction for difference'). factorial() and fibonacci() reject negative inputs with ValueError but do not hint at valid ranges.
No input constraints or enums. get_telemetry accepts 'measure' and 'statistic' as free-form strings, then validates inside the function. Valid values should be declared as enum constraints in the schema.
Inconsistent parameter documentation depth. subtract() and power() have detailed Args docstrings; add() and multiply() lack Args sections entirely. This creates inconsistent LLM guidance.