MCP Math 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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| addA | Add two numbers a + b |
| sqrtA | Calculate the square root of a number (rounded to two decimals) |
| subtractB | Subtract b from a (a - b) |
| squareC | Calculate the square of a number |
| multiplyC | Multiply two numbers a * b |
| gcmA | Calculate the greatest common measure (GCD) of two numbers |
| lcmA | Calculate the least common multiple of two numbers |
| divideC | Divide a by b (a / b) |
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 8 tools
Every tool has a clearly distinct mathematical operation with no overlap in purpose. The descriptions specify unique functions like addition, division, GCD, LCM, multiplication, square root, squaring, and subtraction, making misselection highly unlikely.
The naming is mostly consistent with a simple verb-based pattern (e.g., add, divide, multiply, subtract), but there are minor deviations: 'gcm' and 'lcm' use acronyms instead of full names, and 'sqrt' is an abbreviation, which slightly breaks the pattern while remaining readable.
With 8 tools, the server is well-scoped for a basic math utility, covering essential arithmetic and number theory operations. Each tool earns its place without redundancy, and the count is neither too sparse nor overwhelming for the domain.
The tool set covers core arithmetic operations (add, subtract, multiply, divide) and key number theory functions (GCD, LCM, square, square root), with minor gaps such as lacking advanced operations like exponentiation or trigonometric functions, but agents can work around this for basic math tasks.