naftiko: 1.0.0-alpha2 info: label: Aflac Enterprise Connect API — Groups description: 'Aflac Enterprise Connect API — Groups. 2 operations. Lead operation: Aflac List Groups. Self-contained Naftiko capability covering one Aflac business surface.' tags: - Aflac - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AFLAC_API_KEY: AFLAC_API_KEY capability: consumes: - type: http namespace: enterprise-connect-groups baseUri: https://api.enterprise-connect.aflac.com/v1 description: Aflac Enterprise Connect API — Groups business capability. Self-contained, no shared references. resources: - name: groups path: /groups operations: - name: listgroups method: GET description: Aflac List Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of results to return. - name: offset in: query type: integer description: Number of results to skip. - name: groups-group_id path: /groups/{group_id} operations: - name: getgroup method: GET description: Aflac Get Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: Unique employer group identifier. required: true authentication: type: bearer token: '{{env.AFLAC_API_KEY}}' exposes: - type: rest namespace: enterprise-connect-groups-rest port: 8080 description: REST adapter for Aflac Enterprise Connect API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups name: groups description: REST surface for groups. operations: - method: GET name: listgroups description: Aflac List Groups call: enterprise-connect-groups.listgroups with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/groups/{group-id} name: groups-group-id description: REST surface for groups-group_id. operations: - method: GET name: getgroup description: Aflac Get Group call: enterprise-connect-groups.getgroup with: group_id: rest.group_id outputParameters: - type: object mapping: $. - type: mcp namespace: enterprise-connect-groups-mcp port: 9090 transport: http description: MCP adapter for Aflac Enterprise Connect API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: aflac-list-groups description: Aflac List Groups hints: readOnly: true destructive: false idempotent: true call: enterprise-connect-groups.listgroups with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: aflac-get-group description: Aflac Get Group hints: readOnly: true destructive: false idempotent: true call: enterprise-connect-groups.getgroup with: group_id: tools.group_id outputParameters: - type: object mapping: $.