Math & Numbers
Suma, resta, multiplica y divide valores en notacion cientifica y devuelve formas decimal, cientifica y de ingenieria
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/scientific-notation-calculator' \
-H 'Content-Type: application/json' \
-d '{"operandA":"3.2e5","operandB":"4.5e3","operation":"multiply","significantFigures":6}'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/scientific-notation-calculator| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| operandA | text | No | — |
| operandB | text | No | — |
| operation | select | No | — |
| significantFigures | number | No | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-scientific-notation-calculator": {
"name": "scientific-notation-calculator",
"description": "Suma, resta, multiplica y divide valores en notacion cientifica y devuelve formas decimal, cientifica y de ingenieria",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=scientific-notation-calculator",
"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": "scientific-notation-calculator",
"arguments": {
"operandA": "3.2e5",
"operandB": "4.5e3",
"operation": "multiply",
"significantFigures": 6
}
}
}¿Dudas o problemas? Contacta con [email protected]