simplify
Pack: newton · Endpoint: https://gateway.pipeworx.io/newton/mcp
Reduce a mathematical expression to its simplest form. Input algebraic notation (e.g., “2^2+2(2)”). Returns simplified result.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
expression | string | yes | Mathematical expression to simplify (e.g., “2^2+2(2)”, “x^2+2x+1”) |
Example call
Arguments
{
"expression": "2^2+2(2)"
}
curl
curl -X POST https://gateway.pipeworx.io/newton/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"simplify","arguments":{"expression":"2^2+2(2)"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('simplify', {
"expression": "2^2+2(2)"
});
More examples
{
"expression": "x^2+2x+1"
}
Response shape
Always returns: operation, input, result
| Field | Type | Description |
|---|---|---|
operation | string | Operation name (simplify) |
input | string | The input expression |
result | string | null | Simplified mathematical expression or null |
Full JSON Schema
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"description": "Operation name (simplify)"
},
"input": {
"type": "string",
"description": "The input expression"
},
"result": {
"type": [
"string",
"null"
],
"description": "Simplified mathematical expression or null"
}
},
"required": [
"operation",
"input",
"result"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"newton": {
"url": "https://gateway.pipeworx.io/newton/mcp"
}
}
}
See Getting Started for client-specific install steps.