naftiko: 1.0.0-alpha2 info: label: GitLab API — plan_limits description: 'GitLab API — plan_limits. 2 operations. Lead operation: Get current plan limits. Self-contained Naftiko capability covering one Gitlab Ci business surface.' tags: - Gitlab Ci - plan_limits created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITLAB_CI_API_KEY: GITLAB_CI_API_KEY capability: consumes: - type: http namespace: gitlab-ci-plan-limits baseUri: https://gitlab.com description: GitLab API — plan_limits business capability. Self-contained, no shared references. resources: - name: api-v4-application-plan_limits path: /api/v4/application/plan_limits operations: - name: getapiv4applicationplanlimits method: GET description: Get current plan limits outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: plan_name in: query type: string description: 'Name of the plan to get the limits from. Default: default.' - name: putapiv4applicationplanlimits method: PUT description: Change plan limits outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: putApiV4ApplicationPlanLimits in: body type: string required: true exposes: - type: rest namespace: gitlab-ci-plan-limits-rest port: 8080 description: REST adapter for GitLab API — plan_limits. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v4/application/plan-limits name: api-v4-application-plan-limits description: REST surface for api-v4-application-plan_limits. operations: - method: GET name: getapiv4applicationplanlimits description: Get current plan limits call: gitlab-ci-plan-limits.getapiv4applicationplanlimits with: plan_name: rest.plan_name outputParameters: - type: object mapping: $. - method: PUT name: putapiv4applicationplanlimits description: Change plan limits call: gitlab-ci-plan-limits.putapiv4applicationplanlimits with: putApiV4ApplicationPlanLimits: rest.putApiV4ApplicationPlanLimits outputParameters: - type: object mapping: $. - type: mcp namespace: gitlab-ci-plan-limits-mcp port: 9090 transport: http description: MCP adapter for GitLab API — plan_limits. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-current-plan-limits description: Get current plan limits hints: readOnly: true destructive: false idempotent: true call: gitlab-ci-plan-limits.getapiv4applicationplanlimits with: plan_name: tools.plan_name outputParameters: - type: object mapping: $. - name: change-plan-limits description: Change plan limits hints: readOnly: false destructive: false idempotent: true call: gitlab-ci-plan-limits.putapiv4applicationplanlimits with: putApiV4ApplicationPlanLimits: tools.putApiV4ApplicationPlanLimits outputParameters: - type: object mapping: $.