naftiko: 1.0.0-alpha2 info: label: Calendly Scheduling API — Groups description: 'Calendly Scheduling API — Groups. 2 operations. Lead operation: List group relationships. Self-contained Naftiko capability covering one Calendly business surface.' tags: - Calendly - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CALENDLY_API_KEY: CALENDLY_API_KEY capability: consumes: - type: http namespace: scheduling-groups baseUri: https://api.calendly.com description: Calendly Scheduling API — Groups business capability. Self-contained, no shared references. resources: - name: group_relationships path: /group_relationships operations: - name: listgrouprelationships method: GET description: List group relationships outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group in: query type: string description: The URI of the group to list relationships for. - name: organization in: query type: string description: The URI of the organization. required: true - name: groups path: /groups operations: - name: listgroups method: GET description: List groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization in: query type: string description: The URI of the organization whose groups to list. required: true authentication: type: bearer token: '{{env.CALENDLY_API_KEY}}' exposes: - type: rest namespace: scheduling-groups-rest port: 8080 description: REST adapter for Calendly Scheduling API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/group-relationships name: group-relationships description: REST surface for group_relationships. operations: - method: GET name: listgrouprelationships description: List group relationships call: scheduling-groups.listgrouprelationships with: group: rest.group organization: rest.organization outputParameters: - type: object mapping: $. - path: /v1/groups name: groups description: REST surface for groups. operations: - method: GET name: listgroups description: List groups call: scheduling-groups.listgroups with: organization: rest.organization outputParameters: - type: object mapping: $. - type: mcp namespace: scheduling-groups-mcp port: 9090 transport: http description: MCP adapter for Calendly Scheduling API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-group-relationships description: List group relationships hints: readOnly: true destructive: false idempotent: true call: scheduling-groups.listgrouprelationships with: group: tools.group organization: tools.organization outputParameters: - type: object mapping: $. - name: list-groups description: List groups hints: readOnly: true destructive: false idempotent: true call: scheduling-groups.listgroups with: organization: tools.organization outputParameters: - type: object mapping: $.