mcp-math-tools
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calculateB | Evaluate a mathematical expression safely. Supports: +, -, *, /, ^ (power), % (modulo), sqrt(), abs(), floor(), ceil(), round(), log() (base 10), ln() (natural), sin(), cos(), tan(), min(), max(), pow(), pi, e. Supports named variables. |
| convert_unitsA | Convert a value between units. Supported categories: length (m, ft, in, km, mi, cm, mm, yd), weight (kg, lb, oz, g, mg, ton), temperature (C, F, K), data (B, KB, MB, GB, TB), time (s, min, h, d, week), speed (m/s, km/h, mph, knots). |
| statisticsA | Calculate statistics on a dataset. Operations: mean, median, mode, variance, stddev, min, max, range, percentile, correlation. For percentile provide the 'percentile' parameter (0-100). For correlation provide a second dataset 'dataY'. |
| format_numberA | Format a number in various ways: currency ($1,234.56), percentage (0.15 -> 15%), scientific notation, binary, octal, hexadecimal, significant figures, thousands separator. |
| percentage_calcA | Common percentage calculations. Operations: percent_of (X% of Y), what_percent (X is what % of Y), percentage_change (old to new), tip (bill + tip% + optional split), discount (price - discount%), markup (cost + markup%). |
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 5 tools
Each tool has a clearly defined primary purpose: expression evaluation, unit conversion, statistical analysis, number formatting, and percentage calculations. There is minor overlap where calculate can handle some percentage and min/max operations, but the descriptions make the intended use cases distinguishable.
Tool names are all lowercase and snake_case, which is readable, but they mix verb-led names like convert_units and format_number with noun-led names like statistics and percentage_calc. The use of both 'calculate' and 'calc' for the same concept also breaks consistency.
Five tools is well-scoped for a math-focused server. Each tool addresses a distinct common math need without unnecessary redundancy or excessive surface area.
The server covers core math operations, unit conversions, statistics, number formatting, and percent calculations, which are the most common use cases. It could be expanded with features like random number generation or matrix operations, but these are not obvious gaps for the stated purpose.