math-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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| evaluateA | Evaluate a mathematical expression and return its numeric value. Supports Example: |
| descriptive_statisticsA | Return summary statistics for a list of numbers. Includes count, sum, min, max, mean, median, population and sample
standard deviation, and variance. Requires at least one value (sample
stdev/variance require at least two and are |
| is_primeA | Return whether the integer n is a prime number. Uses trial division up to sqrt(n). Values below 2 are not prime. |
| prime_factorizationA | Return the prime factorization of a positive integer n. The result is a list of |
| gcd_lcmA | Return the greatest common divisor and least common multiple. Accepts two or more integers, e.g. |
| solve_quadraticA | Solve Reports the discriminant and the (real or complex) roots. Requires
|
| convert_baseA | Convert an integer number from one base to another.
|
| matrix_multiplyA | Return the matrix product Columns of A must match rows of B. Matrices are lists of rows. |
| matrix_transposeB | Return the transpose of a matrix. |
| matrix_determinantB | Return the determinant of a square matrix. |
| matrix_inverseB | Return the inverse of a square, non-singular matrix. |
| solve_linear_systemA | Solve |
| simplify_expressionB | Simplify a symbolic expression, e.g. |
| expand_expressionA | Expand a symbolic expression, e.g. |
| factor_expressionA | Factor a symbolic expression, e.g. |
| differentiateB | Differentiate expression w.r.t. variable (optionally to a higher order). |
| integrateB | Return the indefinite integral of expression w.r.t. variable. |
| solve_symbolic_equationB | Solve an equation for a variable, e.g. Accepts a bare expression (assumed |
| definite_integralB | Definite integral of expression from lower to upper. Bounds are expressions, so |
| limitA | Limit of expression as variable -> point ( direction: |
| taylor_seriesB | Taylor series of expression about point up to order terms (O-term dropped). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| solve_step_by_step | Prompt: solve a math problem step by step using the math tools. |
| solve_linear_system_prompt | Prompt: turn a set of linear equations into a matrix solve. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| constants_index | List the mathematical constants available as ``math://constants/{name}``. |
TDQS
Scored across 21 tools
Most tools target clearly distinct mathematical operations, but a few boundaries overlap: solve_quadratic is a special case of solve_symbolic_equation, matrix_inverse is closely related to solve_linear_system, and evaluate vs simplify_expression could be confused by less careful agents. Descriptions generally clarify the intended use, so misselection is unlikely but possible.
All names use snake_case and are domain-readable, which is a strong baseline. However, the set mixes verb phrases (evaluate, differentiate, integrate), noun phrases (taylor_series, descriptive_statistics, definite_integral), and bare operation names (limit), so the pattern is not fully predictable.
21 tools is above the ideal 3-15 range, but the math domain is broad and each tool covers a distinct operation across calculus, algebra, matrices, number theory, and statistics. The count is slightly heavy yet still reasonable for a comprehensive math toolkit.
The surface covers core algebra, calculus, linear algebra, number theory, statistics, and base conversion with no obvious dead ends. Minor gaps remain, such as matrix addition/eigenvalues, general polynomial manipulation beyond quadratic solving, complex arithmetic, and numerical root-finding.