naftiko: 1.0.0-alpha2 info: label: Google Calendar API — User Settings description: 'Google Calendar API — User Settings. 3 operations. Lead operation: Google List Calendar Settings. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - User Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: calendar-user-settings baseUri: https://www.googleapis.com/calendar/v3 description: Google Calendar API — User Settings business capability. Self-contained, no shared references. resources: - name: users-me-settings path: /users/me/settings operations: - name: googlelistcalendarsettings method: GET description: Google List Calendar Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: Authorization in: header type: string - name: users-me-settings-watch path: /users/me/settings/watch operations: - name: googlewatchcalendarsettings method: POST description: Google Watch Calendar Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Accept in: header type: string - name: Authorization in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: users-me-settings-setting path: /users/me/settings/{setting} operations: - name: googlegetcalendarsettings method: GET description: Google Get Calendar Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: setting in: path type: string required: true - name: Authorization in: header type: string exposes: - type: rest namespace: calendar-user-settings-rest port: 8080 description: REST adapter for Google Calendar API — User Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/me/settings name: users-me-settings description: REST surface for users-me-settings. operations: - method: GET name: googlelistcalendarsettings description: Google List Calendar Settings call: calendar-user-settings.googlelistcalendarsettings with: Accept: rest.Accept Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/users/me/settings/watch name: users-me-settings-watch description: REST surface for users-me-settings-watch. operations: - method: POST name: googlewatchcalendarsettings description: Google Watch Calendar Settings call: calendar-user-settings.googlewatchcalendarsettings with: Content-Type: rest.Content-Type Accept: rest.Accept Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/me/settings/{setting} name: users-me-settings-setting description: REST surface for users-me-settings-setting. operations: - method: GET name: googlegetcalendarsettings description: Google Get Calendar Settings call: calendar-user-settings.googlegetcalendarsettings with: Accept: rest.Accept setting: rest.setting Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: calendar-user-settings-mcp port: 9090 transport: http description: MCP adapter for Google Calendar API — User Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-list-calendar-settings description: Google List Calendar Settings hints: readOnly: true destructive: false idempotent: true call: calendar-user-settings.googlelistcalendarsettings with: Accept: tools.Accept Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: google-watch-calendar-settings description: Google Watch Calendar Settings hints: readOnly: false destructive: false idempotent: false call: calendar-user-settings.googlewatchcalendarsettings with: Content-Type: tools.Content-Type Accept: tools.Accept Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: google-get-calendar-settings description: Google Get Calendar Settings hints: readOnly: true destructive: false idempotent: true call: calendar-user-settings.googlegetcalendarsettings with: Accept: tools.Accept setting: tools.setting Authorization: tools.Authorization outputParameters: - type: object mapping: $.