Utilities
Pegue las partidas de su factura: clasifica y explica cargo al cliente, demanda, precios por franjas TOU, riders de transporte/distribución, fondos renovables, desacople, capacity tag; convierte kWh↔Btu↔therm↔Ccf↔m³↔toneladas-hora con factores EIA; detecta cargos fijos ocultos y proyecta ahorros por gestión de demanda.
Llama a esta herramienta desde tu código en tres lenguajes.
curl -X POST 'http://127.0.0.1:3003/es/api/tools/csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer' \
-H 'Content-Type: application/json' \
-d '{"billLines":"Customer Charge; 14.75; 1; $/mo\nOff-Peak Energy Charge; 79.17; 2100; kWh @ 0.0377\nOn-Peak Energy Charge; 245.10; 1140; kWh @ 0.215\nDemand Charge; 285.20; 12.4; kW @ 23.00\nTransmission Service Rider; 25.92; 3240; kWh\nRenewable Portfolio Standard (RPS); 8.10; 3240; kWh\nDecoupling Rider; 4.60; 1; $/mo\nGrid Access Charge; 2.50; 1; $/mo\nMunicipal Franchise Fee; 20.15; 1; 6.5% of base\nState Sales Tax; 11.83; 1; 1.9%","serviceType":"electric","billingDays":30,"usageKwh":3240,"demandKw":12.4,"onPeakKwh":1140,"offPeakKwh":2100,"gasUsageCcf":0,"waterUsageCcf":0,"taxRatePct":0}'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST http://127.0.0.1:3003/es/api/tools/csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| billLines | textarea | Sí | — |
| serviceType | select | No | — |
| billingDays | number | No | — |
| usageKwh | number | No | — |
| demandKw | number | No | — |
| onPeakKwh | number | No | — |
| offPeakKwh | number | No | — |
| gasUsageCcf | number | No | — |
| waterUsageCcf | number | No | — |
| taxRatePct | number | No | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer": {
"name": "csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"description": "Pegue las partidas de su factura: clasifica y explica cargo al cliente, demanda, precios por franjas TOU, riders de transporte/distribución, fondos renovables, desacople, capacity tag; convierte kWh↔Btu↔therm↔Ccf↔m³↔toneladas-hora con factores EIA; detecta cargos fijos ocultos y proyecta ahorros por gestión de demanda.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"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": "csr-cfl-cfl-mhc-hfa-btu-ton-hours-utility-bill-line-item-validator-and-rgp-peak-explainer",
"arguments": {
"billLines": "Customer Charge; 14.75; 1; $/mo\nOff-Peak Energy Charge; 79.17; 2100; kWh @ 0.0377\nOn-Peak Energy Charge; 245.10; 1140; kWh @ 0.215\nDemand Charge; 285.20; 12.4; kW @ 23.00\nTransmission Service Rider; 25.92; 3240; kWh\nRenewable Portfolio Standard (RPS); 8.10; 3240; kWh\nDecoupling Rider; 4.60; 1; $/mo\nGrid Access Charge; 2.50; 1; $/mo\nMunicipal Franchise Fee; 20.15; 1; 6.5% of base\nState Sales Tax; 11.83; 1; 1.9%",
"serviceType": "electric",
"billingDays": 30,
"usageKwh": 3240,
"demandKw": 12.4,
"onPeakKwh": 1140,
"offPeakKwh": 2100,
"gasUsageCcf": 0,
"waterUsageCcf": 0,
"taxRatePct": 0
}
}
}¿Dudas o problemas? Contacta con [email protected]