Xcel Energy · Capability

Xcel Energy Green Button Connect My Data API — ReadingType

Xcel Energy Green Button Connect My Data API — ReadingType. 1 operations. Lead operation: Retrieve a ReadingType. Self-contained Naftiko capability covering one Xcel Energy business surface.

Run with Naftiko Xcel EnergyReadingType

What You Can Do

GET
Getreadingtype — Retrieve a ReadingType
/v1/readingtype/{readingtypeid}

MCP Tools

retrieve-readingtype

Retrieve a ReadingType

read-only idempotent

Capability Spec

green-button-readingtype.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Xcel Energy Green Button Connect My Data API — ReadingType
  description: 'Xcel Energy Green Button Connect My Data API — ReadingType. 1 operations. Lead operation: Retrieve a ReadingType.
    Self-contained Naftiko capability covering one Xcel Energy business surface.'
  tags:
  - Xcel Energy
  - ReadingType
  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: green-button-readingtype
    baseUri: https://api.xcelenergy.com/DataCustodian/espi/1_1/resource
    description: Xcel Energy Green Button Connect My Data API — ReadingType business capability. Self-contained, no shared
      references.
    resources:
    - name: ReadingType-readingTypeId
      path: /ReadingType/{readingTypeId}
      operations:
      - name: getreadingtype
        method: GET
        description: Retrieve a ReadingType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.XCEL_ENERGY_API_KEY}}'
  exposes:
  - type: rest
    namespace: green-button-readingtype-rest
    port: 8080
    description: REST adapter for Xcel Energy Green Button Connect My Data API — ReadingType. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/readingtype/{readingtypeid}
      name: readingtype-readingtypeid
      description: REST surface for ReadingType-readingTypeId.
      operations:
      - method: GET
        name: getreadingtype
        description: Retrieve a ReadingType
        call: green-button-readingtype.getreadingtype
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: green-button-readingtype-mcp
    port: 9090
    transport: http
    description: MCP adapter for Xcel Energy Green Button Connect My Data API — ReadingType. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: retrieve-readingtype
      description: Retrieve a ReadingType
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: green-button-readingtype.getreadingtype
      outputParameters:
      - type: object
        mapping: $.