Math & Numbers
Conversión de conductividad térmica: W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(hr·ft·°F) (1=1,7307347). Conversión vía W/(m·K), con los tres equivalentes. Ref.: cobre≈401, aluminio≈237, acero≈50, agua≈0,6, aire≈0,026.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/thermal-conductivity-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"W/(m·K)","value":401,"outputUnit":"kcal/(m·h·°C)","decimalPlaces":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/thermal-conductivity-converter| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| inputUnit | select | No | — |
| value | number | Sí | Thermal conductivity in the selected Input unit. Must be non-negative. |
| outputUnit | select | No | — |
| decimalPlaces | 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-thermal-conductivity-converter": {
"name": "thermal-conductivity-converter",
"description": "Conversión de conductividad térmica: W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(hr·ft·°F) (1=1,7307347). Conversión vía W/(m·K), con los tres equivalentes. Ref.: cobre≈401, aluminio≈237, acero≈50, agua≈0,6, aire≈0,026.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-conductivity-converter",
"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": "thermal-conductivity-converter",
"arguments": {
"inputUnit": "W/(m·K)",
"value": 401,
"outputUnit": "kcal/(m·h·°C)",
"decimalPlaces": 6
}
}
}¿Dudas o problemas? Contacta con [email protected]