Xcel Energy · Capability

Xcel Energy Smart Meter IEEE 2030.5 API — Subscription

Xcel Energy Smart Meter IEEE 2030.5 API — Subscription. 3 operations. Lead operation: List Subscriptions. Self-contained Naftiko capability covering one Xcel Energy business surface.

Run with Naftiko Xcel EnergySubscription

What You Can Do

GET
Listsubscriptions — List Subscriptions
/v1/sub
POST
Createsubscription — Create a Subscription
/v1/sub
DELETE
Deletesubscription — Delete a Subscription
/v1/sub/{subid}

MCP Tools

list-subscriptions

List Subscriptions

read-only idempotent
create-subscription

Create a Subscription

delete-subscription

Delete a Subscription

idempotent

Capability Spec

smart-meter-subscription.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Xcel Energy Smart Meter IEEE 2030.5 API — Subscription
  description: 'Xcel Energy Smart Meter IEEE 2030.5 API — Subscription. 3 operations. Lead operation: List Subscriptions.
    Self-contained Naftiko capability covering one Xcel Energy business surface.'
  tags:
  - Xcel Energy
  - Subscription
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    XCEL_ENERGY_API_KEY: XCEL_ENERGY_API_KEY
capability:
  consumes:
  - type: http
    namespace: smart-meter-subscription
    baseUri: https://{meterHost}
    description: Xcel Energy Smart Meter IEEE 2030.5 API — Subscription business capability. Self-contained, no shared references.
    resources:
    - name: sub
      path: /sub
      operations:
      - name: listsubscriptions
        method: GET
        description: List Subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsubscription
        method: POST
        description: Create a Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sub-subId
      path: /sub/{subId}
      operations:
      - name: deletesubscription
        method: DELETE
        description: Delete a Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: smart-meter-subscription-rest
    port: 8080
    description: REST adapter for Xcel Energy Smart Meter IEEE 2030.5 API — Subscription. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/sub
      name: sub
      description: REST surface for sub.
      operations:
      - method: GET
        name: listsubscriptions
        description: List Subscriptions
        call: smart-meter-subscription.listsubscriptions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsubscription
        description: Create a Subscription
        call: smart-meter-subscription.createsubscription
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sub/{subid}
      name: sub-subid
      description: REST surface for sub-subId.
      operations:
      - method: DELETE
        name: deletesubscription
        description: Delete a Subscription
        call: smart-meter-subscription.deletesubscription
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: smart-meter-subscription-mcp
    port: 9090
    transport: http
    description: MCP adapter for Xcel Energy Smart Meter IEEE 2030.5 API — Subscription. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-subscriptions
      description: List Subscriptions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: smart-meter-subscription.listsubscriptions
      outputParameters:
      - type: object
        mapping: $.
    - name: create-subscription
      description: Create a Subscription
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: smart-meter-subscription.createsubscription
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-subscription
      description: Delete a Subscription
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: smart-meter-subscription.deletesubscription
      outputParameters:
      - type: object
        mapping: $.