naftiko: 1.0.0-alpha2 info: label: SpotHero Parking API — Rates description: 'SpotHero Parking API — Rates. 1 operations. Lead operation: Get Facility Rates. Self-contained Naftiko capability covering one Spothero business surface.' tags: - Spothero - Rates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPOTHERO_API_KEY: SPOTHERO_API_KEY capability: consumes: - type: http namespace: parking-rates baseUri: https://api.spothero.com/v2 description: SpotHero Parking API — Rates business capability. Self-contained, no shared references. resources: - name: facilities-facility_id-rates path: /facilities/{facility_id}/rates operations: - name: getfacilityrates method: GET description: Get Facility Rates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: facility_id in: path type: string description: Unique identifier for the parking facility required: true - name: starts in: query type: string description: Start time for rate calculation in ISO 8601 format - name: ends in: query type: string description: End time for rate calculation in ISO 8601 format authentication: type: apikey key: X-API-Key value: '{{env.SPOTHERO_API_KEY}}' placement: header exposes: - type: rest namespace: parking-rates-rest port: 8080 description: REST adapter for SpotHero Parking API — Rates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/facilities/{facility-id}/rates name: facilities-facility-id-rates description: REST surface for facilities-facility_id-rates. operations: - method: GET name: getfacilityrates description: Get Facility Rates call: parking-rates.getfacilityrates with: facility_id: rest.facility_id starts: rest.starts ends: rest.ends outputParameters: - type: object mapping: $. - type: mcp namespace: parking-rates-mcp port: 9090 transport: http description: MCP adapter for SpotHero Parking API — Rates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-facility-rates description: Get Facility Rates hints: readOnly: true destructive: false idempotent: true call: parking-rates.getfacilityrates with: facility_id: tools.facility_id starts: tools.starts ends: tools.ends outputParameters: - type: object mapping: $.