iec-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IEC_LOGIN_URL | No | The link handed out, when the page sits behind a reverse proxy. When set, the page starts with the server. | http://localhost:<port>/ |
| IEC_CONFIG_DIR | No | Where the session is saved | ~/.config/iec-mcp |
| IEC_LOGIN_HOST | No | Address the sign-in page listens on | 127.0.0.1 |
| IEC_LOGIN_PORT | No | Port the sign-in page listens on; a free one is used if another copy holds it | 8766 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| iec_loginA | Get the link where the user signs in to IEC (ID number and one-time code are typed on that page, never in the chat). Returns the status when already signed in. |
| iec_session_statusA | Whether this server is signed in to IEC, since when, until when, and the sign-in link when it is not. |
| iec_logoutB | Sign out of IEC here: forget the saved session. |
| get_customerB | The signed-in IEC customer: BP number, accounts, name and contact details. |
| list_contractsC | The customer's electricity contracts (one per address) with debt and due date. |
| get_electric_billC | The current bill summary of a contract. |
| list_invoicesC | A contract's invoices: amounts, paid status, billing periods and consumption. |
| get_invoice_pdfB | Download one invoice as a PDF (base64). |
| list_metersC | The meters on a contract, with deviceNumber and deviceCode. |
| get_last_meter_readingB | The last reading of each meter on a contract. |
| get_consumptionB | Smart-meter consumption (kWh): one day in 15-minute steps, or a week / month of daily totals. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool targets a distinct resource or session action: auth trio (iec_login/iec_session_status/iec_logout), customer, contracts, bills, invoices, PDF, meters, readings, and consumption are clearly separated. The only mild proximity is get_electric_bill vs list_invoices, but the descriptions frame one as a current summary and the other as a per-period invoice list, which is enough to choose correctly.
The dominant pattern is a consistent verb_noun snake_case (get_customer, list_contracts, get_invoice_pdf, etc.), which reads predictably. The deviation is the iec_ prefix reserved for the three session/auth tools, a minor but noticeable inconsistency rather than a readability problem.
Eleven tools is well within the ideal range and each one maps to a concrete self-service need (auth, account lookup, contracts, billing, invoices, metering, consumption). Nothing feels redundant or padded; the surface is scoped to a single utility-customer domain.
Coverage spans the full read lifecycle of an electricity account plus session management and an invoice download, so common agent workflows have no dead ends. Minor gaps remain around write/action operations (payments, contract or tariff detail beyond the summary) that an agent might expect for a customer portal.