Math & Numbers
Number Precision Adjuster
Adjust and format number precision, decimal places, and scientific notation with various rounding and padding options
text· Text resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
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}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/number-precision-adjusterParameters
| Name | Type | Required | Description |
|---|---|---|---|
| numbersInput | textarea | Yes | — |
| precisionMode | select | Yes | — |
| decimalPlaces | number | No | — |
| significantFigures | number | No | — |
| roundingMethod | select | Yes | — |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"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"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"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
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).