naftiko: 1.0.0-alpha2 info: label: Unified CRM API — Lists description: 'Unified CRM API — Lists. 2 operations. Lead operation: List lists. Self-contained Naftiko capability covering one Supaglue business surface.' tags: - Supaglue - Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPAGLUE_API_KEY: SUPAGLUE_API_KEY capability: consumes: - type: http namespace: crm-lists baseUri: https://api.supaglue.io/crm/v2 description: Unified CRM API — Lists business capability. Self-contained, no shared references. resources: - name: lists path: /lists operations: - name: listlists method: GET description: List lists outputRawFormat: json outputParameters: - name: result type: object value: $. - name: lists-list_id path: /lists/{list_id} operations: - name: listlistmemberships method: GET description: List list memberships outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.SUPAGLUE_API_KEY}}' placement: header exposes: - type: rest namespace: crm-lists-rest port: 8080 description: REST adapter for Unified CRM API — Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lists name: lists description: REST surface for lists. operations: - method: GET name: listlists description: List lists call: crm-lists.listlists outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id} name: lists-list-id description: REST surface for lists-list_id. operations: - method: GET name: listlistmemberships description: List list memberships call: crm-lists.listlistmemberships outputParameters: - type: object mapping: $. - type: mcp namespace: crm-lists-mcp port: 9090 transport: http description: MCP adapter for Unified CRM API — Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-lists description: List lists hints: readOnly: true destructive: false idempotent: true call: crm-lists.listlists outputParameters: - type: object mapping: $. - name: list-list-memberships description: List list memberships hints: readOnly: true destructive: false idempotent: true call: crm-lists.listlistmemberships outputParameters: - type: object mapping: $.