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