calculator-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| addA | Add two numbers together. Args: a: The first number. b: The second number. Returns: The sum of a and b. |
| subtractA | Subtract the second number from the first. Args: a: The number to subtract from. b: The number to subtract. Returns: The result of a minus b. |
| multiplyA | Multiply two numbers together. Args: a: The first number. b: The second number. Returns: The product of a and b. |
| divideA | Divide the first number by the second. Args: a: The number to be divided (the dividend). b: The number to divide by (the divisor). Must not be zero. Returns: The result of a divided by b. Raises: DivisionByZeroError: If b is zero. |
| powerA | Raise a number to a power. Args: base: The base number. exponent: The power to raise the base to. Returns: base raised to the power of exponent. Raises: InvalidPowerOperationError: If the result would be complex, or if the computation overflows. |
| square_rootA | Compute the square root of a number. Args: number: The number to take the square root of. Must be non-negative. Returns: The square root of number. Raises: NegativeSquareRootError: If number is negative. |
| modulusA | Compute the remainder when dividing a by b. Args: a: The dividend. b: The divisor. Must not be zero. Returns: The remainder of a divided by b. Raises: DivisionByZeroError: If b is zero. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool performs a distinct mathematical operation: add, subtract, multiply, divide, modulus, square_root, and power. There is no overlap or ambiguity between them, so an agent will never have to guess which tool to use for a given operation.
The names are clear and short, but not perfectly uniform: add, subtract, multiply, divide, and power are verbs, while modulus and square_root are nouns. However, this is a common and readable convention for math operations, and the intent is obvious.
With 7 tools, the server is well-scoped for a calculator. It covers basic arithmetic plus modulus, square root, and power, which is a reasonable and expected set for the purpose without unnecessary bloat.
The core arithmetic and common math operations are present, providing good coverage for a calculator server. Minor omissions like absolute value or factorial exist, but they are not essential for the primary purpose and agents can typically work around them.