naftiko: 1.0.0-alpha2 info: label: Contentstack Content Delivery API — Global Fields description: 'Contentstack Content Delivery API — Global Fields. 2 operations. Lead operation: Get all global fields. Self-contained Naftiko capability covering one Contentstack business surface.' tags: - Contentstack - Global Fields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY capability: consumes: - type: http namespace: content-delivery-global-fields baseUri: https://cdn.contentstack.io/v3 description: Contentstack Content Delivery API — Global Fields business capability. Self-contained, no shared references. resources: - name: global_fields path: /global_fields operations: - name: getallglobalfields method: GET description: Get all global fields outputRawFormat: json outputParameters: - name: result type: object value: $. - name: global_fields-global_field_uid path: /global_fields/{global_field_uid} operations: - name: getsingleglobalfield method: GET description: Get a single global field outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: api_key value: '{{env.CONTENTSTACK_API_KEY}}' placement: header exposes: - type: rest namespace: content-delivery-global-fields-rest port: 8080 description: REST adapter for Contentstack Content Delivery API — Global Fields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/global-fields name: global-fields description: REST surface for global_fields. operations: - method: GET name: getallglobalfields description: Get all global fields call: content-delivery-global-fields.getallglobalfields outputParameters: - type: object mapping: $. - path: /v1/global-fields/{global-field-uid} name: global-fields-global-field-uid description: REST surface for global_fields-global_field_uid. operations: - method: GET name: getsingleglobalfield description: Get a single global field call: content-delivery-global-fields.getsingleglobalfield outputParameters: - type: object mapping: $. - type: mcp namespace: content-delivery-global-fields-mcp port: 9090 transport: http description: MCP adapter for Contentstack Content Delivery API — Global Fields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-global-fields description: Get all global fields hints: readOnly: true destructive: false idempotent: true call: content-delivery-global-fields.getallglobalfields outputParameters: - type: object mapping: $. - name: get-single-global-field description: Get a single global field hints: readOnly: true destructive: false idempotent: true call: content-delivery-global-fields.getsingleglobalfield outputParameters: - type: object mapping: $.