naftiko: 1.0.0-alpha2 info: label: Gladly REST API — Business Hours description: Gladly REST API — Business Hours. 5 operations. Self-contained Naftiko capability covering the Business Hours business surface of the Gladly Customer Service Platform. tags: - Gladly - Business Hours - Customer Service created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: GLADLY_ORGANIZATION: GLADLY_ORGANIZATION GLADLY_AGENT_EMAIL: GLADLY_AGENT_EMAIL GLADLY_API_TOKEN: GLADLY_API_TOKEN capability: consumes: - type: http namespace: gladly-business-hours baseUri: https://{{env.GLADLY_ORGANIZATION}}.gladly.com description: Gladly REST API — Business Hours business capability. resources: - name: api-v1-business-hours path: /api/v1/business-hours operations: - name: getBusinessHours method: GET description: List Business Hours outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: createBusinessHours method: POST description: Create Business Hours outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true description: Request body (JSON). - name: api-v1-business-hours-businessHoursId path: /api/v1/business-hours/{businessHoursId} operations: - name: getBusinessHoursById method: GET description: Get Business Hours outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: updateBusinessHours method: PUT description: Update Business Hours outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true description: Request body (JSON). - name: deleteBusinessHours method: DELETE description: Delete Business Hours outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] authentication: type: basic username: '{{env.GLADLY_AGENT_EMAIL}}' password: '{{env.GLADLY_API_TOKEN}}' exposes: - type: rest namespace: gladly-business-hours-rest port: 8080 description: REST adapter for Gladly Business Hours. resources: - path: /v1/api/v1/business-hours name: api-v1-business-hours description: REST surface for api-v1-business-hours. operations: - method: GET name: getBusinessHours description: List Business Hours call: gladly-business-hours.getBusinessHours with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/business-hours name: api-v1-business-hours description: REST surface for api-v1-business-hours. operations: - method: POST name: createBusinessHours description: Create Business Hours call: gladly-business-hours.createBusinessHours with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/business-hours/{businessHoursId} name: api-v1-business-hours-businessHoursId description: REST surface for api-v1-business-hours-businessHoursId. operations: - method: GET name: getBusinessHoursById description: Get Business Hours call: gladly-business-hours.getBusinessHoursById with: {} outputParameters: - type: object mapping: $. - path: /v1/api/v1/business-hours/{businessHoursId} name: api-v1-business-hours-businessHoursId description: REST surface for api-v1-business-hours-businessHoursId. operations: - method: PUT name: updateBusinessHours description: Update Business Hours call: gladly-business-hours.updateBusinessHours with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/business-hours/{businessHoursId} name: api-v1-business-hours-businessHoursId description: REST surface for api-v1-business-hours-businessHoursId. operations: - method: DELETE name: deleteBusinessHours description: Delete Business Hours call: gladly-business-hours.deleteBusinessHours with: {} outputParameters: - type: object mapping: $. - type: mcp namespace: gladly-business-hours-mcp port: 9090 transport: http description: MCP adapter for Gladly Business Hours. tools: - name: gladly-getBusinessHours description: List Business Hours hints: readOnly: true destructive: false idempotent: true call: gladly-business-hours.getBusinessHours with: {} outputParameters: - type: object mapping: $. - name: gladly-createBusinessHours description: Create Business Hours hints: readOnly: false destructive: false idempotent: false call: gladly-business-hours.createBusinessHours with: body: tools.body outputParameters: - type: object mapping: $. - name: gladly-getBusinessHoursById description: Get Business Hours hints: readOnly: true destructive: false idempotent: true call: gladly-business-hours.getBusinessHoursById with: {} outputParameters: - type: object mapping: $. - name: gladly-updateBusinessHours description: Update Business Hours hints: readOnly: false destructive: false idempotent: true call: gladly-business-hours.updateBusinessHours with: body: tools.body outputParameters: - type: object mapping: $. - name: gladly-deleteBusinessHours description: Delete Business Hours hints: readOnly: false destructive: true idempotent: true call: gladly-business-hours.deleteBusinessHours with: {} outputParameters: - type: object mapping: $.