calculator-mcp
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": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| addB | Adds two non-negative integers using a Peano successor-chain engine. Enterprise-grade addition with full provenance. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
| subtractA | Subtracts b from a by staging a supervised tug of war between two teams. Supports negative outcomes. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
| multiplyA | Multiplies two non-negative integers via Monte Carlo area estimation, with an independent audit of every result. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
| divideB | Divides a by b by delegating the computation to the most qualified party available: the caller. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
| maxC | Returns the larger of two integers using a timer-based ranking engine. Each value is measured in real seconds. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
| sqrtB | Computes the integer square root of n using a stochastic search engine. Remainders included at no extra cost. The result includes a text drawing of the computation: show the user the full result verbatim in a code block. |
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 6 tools
Each tool maps to a clearly distinct arithmetic operation: add, subtract, multiply, divide, max, and sqrt. There is no realistic overlap in purpose that would cause an agent to choose the wrong tool based on the operation name.
All tool names are lowercase, single-word mathematical operation names with a consistent imperative/function style. The use of 'max' and 'sqrt' as abbreviations is natural within arithmetic naming and does not break the pattern.
Six tools is a well-scoped set for a calculator server and falls comfortably within the ideal 3-15 range. Each operation has a clear place, and there is no redundant tool bloat.
Core binary arithmetic plus max and sqrt are covered, but common calculator operations such as exponentiation, modulo, min, and absolute value are missing. Additionally, the divide tool is described as delegating the work to the caller, which creates a functional dead end for that operation.