naftiko: 1.0.0-alpha2 info: label: Mailchimp Transactional API — Metadata description: 'Mailchimp Transactional API — Metadata. 4 operations. Lead operation: Mailchimp Add a Metadata Field. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Metadata created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: transactional-metadata baseUri: https://mandrillapp.com/api/1.0 description: Mailchimp Transactional API — Metadata business capability. Self-contained, no shared references. resources: - name: metadata-add path: /metadata/add operations: - name: postmetadataadd method: POST description: Mailchimp Add a Metadata Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: metadata-delete path: /metadata/delete operations: - name: postmetadatadelete method: POST description: Mailchimp Delete a Metadata Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: metadata-list path: /metadata/list operations: - name: postmetadatalist method: POST description: Mailchimp List Metadata Fields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: metadata-update path: /metadata/update operations: - name: postmetadataupdate method: POST description: Mailchimp Update a Metadata Field 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: X-MC-ApiKey value: '{{env.MAILCHIMP_API_KEY}}' placement: header exposes: - type: rest namespace: transactional-metadata-rest port: 8080 description: REST adapter for Mailchimp Transactional API — Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/metadata/add name: metadata-add description: REST surface for metadata-add. operations: - method: POST name: postmetadataadd description: Mailchimp Add a Metadata Field call: transactional-metadata.postmetadataadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metadata/delete name: metadata-delete description: REST surface for metadata-delete. operations: - method: POST name: postmetadatadelete description: Mailchimp Delete a Metadata Field call: transactional-metadata.postmetadatadelete with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metadata/list name: metadata-list description: REST surface for metadata-list. operations: - method: POST name: postmetadatalist description: Mailchimp List Metadata Fields call: transactional-metadata.postmetadatalist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metadata/update name: metadata-update description: REST surface for metadata-update. operations: - method: POST name: postmetadataupdate description: Mailchimp Update a Metadata Field call: transactional-metadata.postmetadataupdate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: transactional-metadata-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Transactional API — Metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-add-metadata-field description: Mailchimp Add a Metadata Field hints: readOnly: false destructive: false idempotent: false call: transactional-metadata.postmetadataadd with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-metadata-field description: Mailchimp Delete a Metadata Field hints: readOnly: false destructive: false idempotent: false call: transactional-metadata.postmetadatadelete with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-list-metadata-fields description: Mailchimp List Metadata Fields hints: readOnly: true destructive: false idempotent: false call: transactional-metadata.postmetadatalist with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-update-metadata-field description: Mailchimp Update a Metadata Field hints: readOnly: false destructive: false idempotent: false call: transactional-metadata.postmetadataupdate with: body: tools.body outputParameters: - type: object mapping: $.