Math & Numbers
Practica las reglas de cifras significativas con retroalimentación paso a paso: cuenta, redondea a N cifras, convierte a notación científica y propaga en +/−/×/÷.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/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":"+"}'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/significant-figures-sandbox| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| number | text | Sí | 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 |
Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-significant-figures-sandbox": {
"name": "significant-figures-sandbox",
"description": "Practica las reglas de cifras significativas con retroalimentación paso a paso: cuenta, redondea a N cifras, convierte a notación científica y propaga en +/−/×/÷.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=significant-figures-sandbox",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"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": "+"
}
}
}| 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. |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}¿Dudas o problemas? Contacta con [email protected]