naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Abuse description: 'Mailchimp Marketing API — Abuse. 4 operations. Lead operation: Mailchimp List Abuse Reports. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Abuse created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-abuse baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Abuse business capability. Self-contained, no shared references. resources: - name: lists-list_id-abuse-reports path: /lists/{list_id}/abuse-reports operations: - name: getlistsidabusereports method: GET description: Mailchimp List Abuse Reports 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: count in: query type: integer description: The number of records to return. Default value is 10. Maximum value is 1000 - name: offset in: query type: integer description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. D - name: list_id in: path type: string description: The unique ID for the list. required: true - name: lists-list_id-abuse-reports-report_id path: /lists/{list_id}/abuse-reports/{report_id} operations: - name: getlistsidabusereportsid method: GET description: Mailchimp Get Abuse Report 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: count in: query type: integer description: The number of records to return. Default value is 10. Maximum value is 1000 - name: offset in: query type: integer description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. D - name: list_id in: path type: string description: The unique ID for the list. required: true - name: report_id in: path type: string description: The id for the abuse report. required: true - name: reports-campaign_id-abuse-reports path: /reports/{campaign_id}/abuse-reports operations: - name: getreportsidabusereportsid method: GET description: Mailchimp List Abuse Reports 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: reports-campaign_id-abuse-reports-report_id path: /reports/{campaign_id}/abuse-reports/{report_id} operations: - name: getreportsidabusereportsidid method: GET description: Mailchimp Get Abuse Report 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: report_id in: path type: string description: The id for the abuse report. required: true exposes: - type: rest namespace: marketing-abuse-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Abuse. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lists/{list-id}/abuse-reports name: lists-list-id-abuse-reports description: REST surface for lists-list_id-abuse-reports. operations: - method: GET name: getlistsidabusereports description: Mailchimp List Abuse Reports call: marketing-abuse.getlistsidabusereports with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset list_id: rest.list_id outputParameters: - type: object mapping: $. - path: /v1/lists/{list-id}/abuse-reports/{report-id} name: lists-list-id-abuse-reports-report-id description: REST surface for lists-list_id-abuse-reports-report_id. operations: - method: GET name: getlistsidabusereportsid description: Mailchimp Get Abuse Report call: marketing-abuse.getlistsidabusereportsid with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset list_id: rest.list_id report_id: rest.report_id outputParameters: - type: object mapping: $. - path: /v1/reports/{campaign-id}/abuse-reports name: reports-campaign-id-abuse-reports description: REST surface for reports-campaign_id-abuse-reports. operations: - method: GET name: getreportsidabusereportsid description: Mailchimp List Abuse Reports call: marketing-abuse.getreportsidabusereportsid with: fields: rest.fields exclude_fields: rest.exclude_fields campaign_id: rest.campaign_id outputParameters: - type: object mapping: $. - path: /v1/reports/{campaign-id}/abuse-reports/{report-id} name: reports-campaign-id-abuse-reports-report-id description: REST surface for reports-campaign_id-abuse-reports-report_id. operations: - method: GET name: getreportsidabusereportsidid description: Mailchimp Get Abuse Report call: marketing-abuse.getreportsidabusereportsidid with: fields: rest.fields exclude_fields: rest.exclude_fields campaign_id: rest.campaign_id report_id: rest.report_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-abuse-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Abuse. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-abuse-reports description: Mailchimp List Abuse Reports hints: readOnly: true destructive: false idempotent: true call: marketing-abuse.getlistsidabusereports with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset list_id: tools.list_id outputParameters: - type: object mapping: $. - name: mailchimp-get-abuse-report description: Mailchimp Get Abuse Report hints: readOnly: true destructive: false idempotent: true call: marketing-abuse.getlistsidabusereportsid with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset list_id: tools.list_id report_id: tools.report_id outputParameters: - type: object mapping: $. - name: mailchimp-list-abuse-reports-2 description: Mailchimp List Abuse Reports hints: readOnly: true destructive: false idempotent: true call: marketing-abuse.getreportsidabusereportsid with: fields: tools.fields exclude_fields: tools.exclude_fields campaign_id: tools.campaign_id outputParameters: - type: object mapping: $. - name: mailchimp-get-abuse-report-2 description: Mailchimp Get Abuse Report hints: readOnly: true destructive: false idempotent: true call: marketing-abuse.getreportsidabusereportsidid with: fields: tools.fields exclude_fields: tools.exclude_fields campaign_id: tools.campaign_id report_id: tools.report_id outputParameters: - type: object mapping: $.