naftiko: 1.0.0-alpha2 info: label: Fastly Account API — IAM User Groups description: 'Fastly Account API — IAM User Groups. 2 operations. Lead operation: List IAM user groups. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - IAM User Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: account-iam-user-groups baseUri: https://api.fastly.com description: Fastly Account API — IAM User Groups business capability. Self-contained, no shared references. resources: - name: user-groups path: /user-groups operations: - name: listusergroups method: GET description: List IAM user groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: per_page in: query type: integer description: The number of items per page. - name: cursor in: query type: string description: The cursor for pagination. - name: createusergroup method: POST description: Create an IAM user group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: account-iam-user-groups-rest port: 8080 description: REST adapter for Fastly Account API — IAM User Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/user-groups name: user-groups description: REST surface for user-groups. operations: - method: GET name: listusergroups description: List IAM user groups call: account-iam-user-groups.listusergroups with: per_page: rest.per_page cursor: rest.cursor outputParameters: - type: object mapping: $. - method: POST name: createusergroup description: Create an IAM user group call: account-iam-user-groups.createusergroup with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: account-iam-user-groups-mcp port: 9090 transport: http description: MCP adapter for Fastly Account API — IAM User Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-iam-user-groups description: List IAM user groups hints: readOnly: true destructive: false idempotent: true call: account-iam-user-groups.listusergroups with: per_page: tools.per_page cursor: tools.cursor outputParameters: - type: object mapping: $. - name: create-iam-user-group description: Create an IAM user group hints: readOnly: false destructive: false idempotent: false call: account-iam-user-groups.createusergroup with: body: tools.body outputParameters: - type: object mapping: $.