

Complex Mathematics Engine
Core Utility
Available ActionsEach successful request consumes credits as outlined below.
calculate5cr
Details
A universal math engine that intelligently executes mathematical and scientific expressions. An agent can submit a single expression string to solve a wide range of problems without needing to select a specific engine, ranging from simple arithmetic to advanced symbolic mathematics, numerical array operations, and scientific computing. It integrates three powerful computation backends: SymPy for symbolic mathematics including differentiation, integration, limits, series expansions, equation solving, and algebraic simplification; NumPy for numerical operations on arrays and matrices including linear algebra, element-wise operations, and statistical aggregations; and SciPy for scientific computing including probability distributions, optimization, curve fitting, special functions, and numerical integration. The engine automatically detects the appropriate back end based on expression syntax, or users can specify a preferred engine explicitly. Expressions support intuitive syntax including Unicode math symbols like π, ∞, and √ which are automatically converted, as well as caret notation for exponentiation. Symbolic results preserve variables and can be further manipulated, while numerical results are returned as JSON-serializable values with full precision. Built-in security validation prevents code injection while allowing access to a comprehensive library of mathematical functions. Results include execution timing, the engine used, and metadata about the computation including detected variables for symbolic expressions.
Use Cases
Calculus, Solve Derivative, Calculate Integral, Find Limit of Function, Algebra, Solve Equation for Variable, Simplify Polynomial, Factor Expression, Expand Formula, Linear Algebra, Matrix Multiplication, Invert Matrix, Solve Linear System, Calculate Determinant, Find Eigenvalues, Statistics, Calculate Mean, Find Standard Deviation, Compute Median, Linear Regression Fitting, Optimization, Find Minimum of Function, Numerical Optimization, Array Operations, Vector Math, Element-wise Calculation, Array Sorting, Symbolic differentiation, derivative calculation, calculus derivative, symbolic integration, integral calculation, definite integral, indefinite integral, limit calculation, limit evaluation, series expansion, Taylor series, equation solving, algebraic equation solver, system of equations, expression simplification, algebraic simplification, polynomial factoring, expression expansion, symbolic algebra, computer algebra system, CAS calculation, NumPy array calculation, matrix multiplication, dot product, cross product, linear algebra operations, matrix determinant, matrix inverse, eigenvalue calculation, array mean calculation, standard deviation, statistical aggregation, numerical computation, vector operations, array manipulation, reshape array, transpose matrix, SciPy statistics, probability distribution, normal distribution CDF, statistical hypothesis testing, curve fitting, optimization, minimize function, special functions, Bessel functions, gamma function, numerical integration, quadrature, interpolation, scientific computing, engineering calculation, physics calculation, mathematical expression parser, safe math evaluation, sandboxed calculator, AI agent math, LLM calculator integration, automated computation, workflow math operations, API calculator, programmatic math evaluation
Actions(1)
calculate5cr2 params(1 required)Evaluate a mathematical expression using SymPy (symbolic), NumPy (numerical/arrays), or SciPy (statistics/optimization). Supports calculus, linear algebra, statistics, and more.
calculate5cr2 params(1 required)Evaluate a mathematical expression using SymPy (symbolic), NumPy (numerical/arrays), or SciPy (statistics/optimization). Supports calculus, linear algebra, statistics, and more.
expressionrequiredstringMathematical expression to compute. Supports SymPy, NumPy, and SciPy syntax. Examples: diff(x**2, x), np.mean([1,2,3]), stats.norm.cdf(0), solve(x**2 - 4, x). Max 50000 characters.
engine_hintstringForce a specific computation engine. 'auto' (default) automatically detects the best engine based on the expression.
Values:
autosympynumpyscipy
Default:
autoFrequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 689df4ac8ee2d1dd79e9035b ("Complex Mathematics Engine"). Then call the same tool with action 'call_tool', tool_id 689df4ac8ee2d1dd79e9035b, and the parameters needed for my request.
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.









