naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Feedback description: 'Mailchimp Marketing API — Feedback. 5 operations. Lead operation: Mailchimp List Campaign Feedback. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Feedback created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-feedback baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Feedback business capability. Self-contained, no shared references. resources: - name: campaigns-campaign_id-feedback path: /campaigns/{campaign_id}/feedback operations: - name: getcampaignsidfeedback method: GET description: Mailchimp List Campaign Feedback outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: postcampaignsidfeedback method: POST description: Mailchimp Add Campaign Feedback outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: body in: body type: object required: true - name: campaigns-campaign_id-feedback-feedback_id path: /campaigns/{campaign_id}/feedback/{feedback_id} operations: - name: getcampaignsidfeedbackid method: GET description: Mailchimp Get Campaign Feedback Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. - name: exclude_fields in: query type: array description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. - name: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: feedback_id in: path type: string description: The unique id for the feedback message. required: true - name: patchcampaignsidfeedbackid method: PATCH description: Mailchimp Update Campaign Feedback Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: feedback_id in: path type: string description: The unique id for the feedback message. required: true - name: body in: body type: object required: true - name: deletecampaignsidfeedbackid method: DELETE description: Mailchimp Delete Campaign Feedback Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: feedback_id in: path type: string description: The unique id for the feedback message. required: true exposes: - type: rest namespace: marketing-feedback-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Feedback. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/campaigns/{campaign-id}/feedback name: campaigns-campaign-id-feedback description: REST surface for campaigns-campaign_id-feedback. operations: - method: GET name: getcampaignsidfeedback description: Mailchimp List Campaign Feedback call: marketing-feedback.getcampaignsidfeedback with: fields: rest.fields exclude_fields: rest.exclude_fields campaign_id: rest.campaign_id outputParameters: - type: object mapping: $. - method: POST name: postcampaignsidfeedback description: Mailchimp Add Campaign Feedback call: marketing-feedback.postcampaignsidfeedback with: campaign_id: rest.campaign_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/campaigns/{campaign-id}/feedback/{feedback-id} name: campaigns-campaign-id-feedback-feedback-id description: REST surface for campaigns-campaign_id-feedback-feedback_id. operations: - method: GET name: getcampaignsidfeedbackid description: Mailchimp Get Campaign Feedback Message call: marketing-feedback.getcampaignsidfeedbackid with: fields: rest.fields exclude_fields: rest.exclude_fields campaign_id: rest.campaign_id feedback_id: rest.feedback_id outputParameters: - type: object mapping: $. - method: PATCH name: patchcampaignsidfeedbackid description: Mailchimp Update Campaign Feedback Message call: marketing-feedback.patchcampaignsidfeedbackid with: campaign_id: rest.campaign_id feedback_id: rest.feedback_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecampaignsidfeedbackid description: Mailchimp Delete Campaign Feedback Message call: marketing-feedback.deletecampaignsidfeedbackid with: campaign_id: rest.campaign_id feedback_id: rest.feedback_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-feedback-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Feedback. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-campaign-feedback description: Mailchimp List Campaign Feedback hints: readOnly: true destructive: false idempotent: true call: marketing-feedback.getcampaignsidfeedback with: fields: tools.fields exclude_fields: tools.exclude_fields campaign_id: tools.campaign_id outputParameters: - type: object mapping: $. - name: mailchimp-add-campaign-feedback description: Mailchimp Add Campaign Feedback hints: readOnly: false destructive: false idempotent: false call: marketing-feedback.postcampaignsidfeedback with: campaign_id: tools.campaign_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-campaign-feedback-message description: Mailchimp Get Campaign Feedback Message hints: readOnly: true destructive: false idempotent: true call: marketing-feedback.getcampaignsidfeedbackid with: fields: tools.fields exclude_fields: tools.exclude_fields campaign_id: tools.campaign_id feedback_id: tools.feedback_id outputParameters: - type: object mapping: $. - name: mailchimp-update-campaign-feedback-message description: Mailchimp Update Campaign Feedback Message hints: readOnly: false destructive: false idempotent: true call: marketing-feedback.patchcampaignsidfeedbackid with: campaign_id: tools.campaign_id feedback_id: tools.feedback_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-campaign-feedback-message description: Mailchimp Delete Campaign Feedback Message hints: readOnly: false destructive: true idempotent: true call: marketing-feedback.deletecampaignsidfeedbackid with: campaign_id: tools.campaign_id feedback_id: tools.feedback_id outputParameters: - type: object mapping: $.