Math & Numbers
Dilatación lineal y volumétrica de un material isótropo. Lineal: ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumétrica: ΔV = 3α·V₀·ΔT. Incluye α típicos de acero carbono/aleado, aluminio, cobre, inox austenítico, titanio y vidrio; o personalizado. ΔT en K u °C, L en mm, V en mm³.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'https://api.elysiatools.com/es/api/tools/thermal-expansion-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"linear","material":"carbonSteel","customAlpha":0,"length":1000,"volume":0,"deltaT":100,"decimalPlaces":4}'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-expansion-calculator| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| mode | select | No | — |
| material | select | No | Material preset supplies typical linear expansion coefficient α. Choose 'Custom' to enter α. |
| customAlpha | number | No | Linear thermal expansion coefficient α in 1/K. Required only when Material is 'Custom'. Typical: steel ≈ 12e-6, aluminum ≈ 23e-6. |
| length | number | No | Original (unstressed) length in mm. Required in 'linear' mode. |
| volume | number |
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-expansion-calculator": {
"name": "thermal-expansion-calculator",
"description": "Dilatación lineal y volumétrica de un material isótropo. Lineal: ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumétrica: ΔV = 3α·V₀·ΔT. Incluye α típicos de acero carbono/aleado, aluminio, cobre, inox austenítico, titanio y vidrio; o personalizado. ΔT en K u °C, L en mm, V en mm³.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-expansion-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": "thermal-expansion-calculator",
"arguments": {
"mode": "linear",
"material": "carbonSteel",
"customAlpha": 0,
"length": 1000,
"volume": 0,
"deltaT": 100,
"decimalPlaces": 4
}
}
}| No |
| Original (unstressed) volume in mm³. Required in 'volumetric' mode. |
| deltaT | number | Sí | Temperature change ΔT in K or °C (same magnitude). Positive = heating (expansion), negative = cooling (contraction). |
| decimalPlaces | number | No | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}¿Dudas o problemas? Contacta con [email protected]