Math & Numbers
Practice significant-figure rules with step-by-step feedback: count sig figs, round to N sig figs, convert to scientific notation, and propagate through +/−/×/÷.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/significant-figures-sandbox' \
-H 'Content-Type: application/json' \
-d '{"number":"0.005030","mode":"practice","guess":4,"roundN":0,"sciDigits":0,"opA":"e.g. 12.5","opB":"e.g. 3.20","operation":"+"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/significant-figures-sandbox| Name | Type | Required | Description |
|---|---|---|---|
| number | text | Yes | The number to analyse. Accepts integers, decimals, leading zeros, and scientific notation (1.23e4, 1.23E4, 1.23×10^4). |
| mode | select | No | Practice gives feedback on your sig-fig guess. Round rounds to N sig figs. Propagate applies the +/−/×/÷ rule to two operands. |
| guess | number | No | Practice mode only: enter your guess to get correct/incorrect feedback. |
| roundN | number | No | Round mode only: how many sig figs to round to. Defaults to the number's own count. |
| sciDigits |
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-significant-figures-sandbox": {
"name": "significant-figures-sandbox",
"description": "Practice significant-figure rules with step-by-step feedback: count sig figs, round to N sig figs, convert to scientific notation, and propagate through +/−/×/÷.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=significant-figures-sandbox",
"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": "significant-figures-sandbox",
"arguments": {
"number": "0.005030",
"mode": "practice",
"guess": 4,
"roundN": 0,
"sciDigits": 0,
"opA": "e.g. 12.5",
"opB": "e.g. 3.20",
"operation": "+"
}
}
}Questions or issues? Contact [email protected]
| number |
| No |
| Round mode only: how many sig figs to show in scientific notation. Defaults to the round-to value. |
| opA | text | No | Propagate mode only: first measured value. |
| opB | text | No | Propagate mode only: second measured value. |
| operation | select | No | Propagate mode only: the operation to apply. |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}