Math & Numbers
Adjust and format number precision, decimal places, and scientific notation with various rounding and padding options
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/number-precision-adjuster' \
-H 'Content-Type: application/json' \
-d '{"numbersInput":"Enter numbers separated by commas, spaces, or newlines:\n3.141592653589793, 2.718281828459045, 1.414213562373095\n42.123456789 89.987654321 0.001234567","precisionMode":"decimal","decimalPlaces":2,"significantFigures":3,"roundingMethod":"normal","paddingMethod":"none","scientificNotationThreshold":0,"showOriginal":true,"showSteps":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/number-precision-adjuster| Name | Type | Required | Description |
|---|---|---|---|
| numbersInput | textarea | Yes | — |
| precisionMode | select | Yes | — |
| decimalPlaces | number | No | — |
| significantFigures | number | No | — |
| roundingMethod | select | Yes | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-number-precision-adjuster": {
"name": "number-precision-adjuster",
"description": "Adjust and format number precision, decimal places, and scientific notation with various rounding and padding options",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=number-precision-adjuster",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "number-precision-adjuster",
"arguments": {
"numbersInput": "Enter numbers separated by commas, spaces, or newlines:\n3.141592653589793, 2.718281828459045, 1.414213562373095\n42.123456789 89.987654321 0.001234567",
"precisionMode": "decimal",
"decimalPlaces": 2,
"significantFigures": 3,
"roundingMethod": "normal",
"paddingMethod": "none",
"scientificNotationThreshold": 0,
"showOriginal": true,
"showSteps": false
}
}
}| paddingMethod |
| select |
| Yes |
| — |
| scientificNotationThreshold | number | No | — |
| showOriginal | checkbox | No | — |
| showSteps | checkbox | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]