naftiko: 1.0.0-alpha2 info: label: Gremlin API — notification-settings description: 'Gremlin API — notification-settings. 2 operations. Lead operation: Returns a team''s notification settings. Self-contained Naftiko capability covering one Gremlin business surface.' tags: - Gremlin - notification-settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GREMLIN_API_KEY: GREMLIN_API_KEY capability: consumes: - type: http namespace: gremlin-notification-settings baseUri: https://api.gremlin.com/v1 description: Gremlin API — notification-settings business capability. Self-contained, no shared references. resources: - name: notification-settings path: /notification-settings operations: - name: getnotificationsettings method: GET description: Returns a team's notification settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: putnotificationsettings method: PATCH description: Updates a team's notification settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teamId in: query type: string description: Required when using company session token. required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: gremlin-notification-settings-rest port: 8080 description: REST adapter for Gremlin API — notification-settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/notification-settings name: notification-settings description: REST surface for notification-settings. operations: - method: GET name: getnotificationsettings description: Returns a team's notification settings call: gremlin-notification-settings.getnotificationsettings outputParameters: - type: object mapping: $. - method: PATCH name: putnotificationsettings description: Updates a team's notification settings call: gremlin-notification-settings.putnotificationsettings with: teamId: rest.teamId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gremlin-notification-settings-mcp port: 9090 transport: http description: MCP adapter for Gremlin API — notification-settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-team-s-notification-settings description: Returns a team's notification settings hints: readOnly: true destructive: false idempotent: true call: gremlin-notification-settings.getnotificationsettings outputParameters: - type: object mapping: $. - name: updates-team-s-notification-settings description: Updates a team's notification settings hints: readOnly: false destructive: false idempotent: true call: gremlin-notification-settings.putnotificationsettings with: teamId: tools.teamId body: tools.body outputParameters: - type: object mapping: $.