naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Reporting description: 'Mailchimp Marketing API — Reporting. 12 operations. Lead operation: Mailchimp List Facebook Ads Reports. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Reporting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-reporting baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Reporting business capability. Self-contained, no shared references. resources: - name: reporting-facebook-ads path: /reporting/facebook-ads operations: - name: getreportingfacebookads method: GET description: Mailchimp List Facebook Ads 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: sort_field in: query type: string description: Returns files sorted by the specified field. - name: sort_dir in: query type: string description: Determines the order direction for sorted results. - name: reporting-facebook-ads-outreach_id path: /reporting/facebook-ads/{outreach_id} operations: - name: getreportingfacebookadsid method: GET description: Mailchimp Get Facebook Ad 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: outreach_id in: path type: string description: The outreach id. required: true - 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: reporting-facebook-ads-outreach_id-ecommerce-product-activity path: /reporting/facebook-ads/{outreach_id}/ecommerce-product-activity operations: - name: getreportingfacebookadsidecommerceproductactivity method: GET description: Mailchimp List Facebook Ecommerce 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: outreach_id in: path type: string description: The outreach id. required: true - name: sort_field in: query type: string description: Returns files sorted by the specified field. - name: reporting-landing-pages path: /reporting/landing-pages operations: - name: getreportinglandingpages method: GET description: Mailchimp List Landing Pages 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: reporting-landing-pages-outreach_id path: /reporting/landing-pages/{outreach_id} operations: - name: getreportinglandingpagesid method: GET description: Mailchimp Get Landing Page 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: outreach_id in: path type: string description: The outreach id. required: true - 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: reporting-surveys path: /reporting/surveys operations: - name: getreportingsurveys method: GET description: Mailchimp List Survey 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: reporting-surveys-survey_id path: /reporting/surveys/{survey_id} operations: - name: getreportingsurveysid method: GET description: Mailchimp Get Survey 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: survey_id in: path type: string description: The ID of the survey. required: true - name: reporting-surveys-survey_id-questions path: /reporting/surveys/{survey_id}/questions operations: - name: getreportingsurveysidquestions method: GET description: Mailchimp List Survey Question 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: survey_id in: path type: string description: The ID of the survey. required: true - name: reporting-surveys-survey_id-questions-question_id path: /reporting/surveys/{survey_id}/questions/{question_id} operations: - name: getreportingsurveysidquestionsid method: GET description: Mailchimp Get Survey Question 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: survey_id in: path type: string description: The ID of the survey. required: true - name: question_id in: path type: string description: The ID of the survey question. required: true - name: reporting-surveys-survey_id-questions-question_id-answers path: /reporting/surveys/{survey_id}/questions/{question_id}/answers operations: - name: getreportingsurveysidquestionsidanswers method: GET description: Mailchimp List Answers for Question 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: survey_id in: path type: string description: The ID of the survey. required: true - name: question_id in: path type: string description: The ID of the survey question. required: true - name: respondent_familiarity_is in: query type: string description: Filter survey responses by familiarity of the respondents. - name: reporting-surveys-survey_id-responses path: /reporting/surveys/{survey_id}/responses operations: - name: getreportingsurveysidresponses method: GET description: Mailchimp List Survey Responses 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: survey_id in: path type: string description: The ID of the survey. required: true - name: answered_question in: query type: integer description: The ID of the question that was answered. - name: chose_answer in: query type: string description: The ID of the option chosen to filter responses on. - name: respondent_familiarity_is in: query type: string description: Filter survey responses by familiarity of the respondents. - name: reporting-surveys-survey_id-responses-response_id path: /reporting/surveys/{survey_id}/responses/{response_id} operations: - name: getreportingsurveysidresponsesid method: GET description: Mailchimp Get Survey Response outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: survey_id in: path type: string description: The ID of the survey. required: true - name: response_id in: path type: string description: The ID of the survey response. required: true exposes: - type: rest namespace: marketing-reporting-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Reporting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/reporting/facebook-ads name: reporting-facebook-ads description: REST surface for reporting-facebook-ads. operations: - method: GET name: getreportingfacebookads description: Mailchimp List Facebook Ads Reports call: marketing-reporting.getreportingfacebookads with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset sort_field: rest.sort_field sort_dir: rest.sort_dir outputParameters: - type: object mapping: $. - path: /v1/reporting/facebook-ads/{outreach-id} name: reporting-facebook-ads-outreach-id description: REST surface for reporting-facebook-ads-outreach_id. operations: - method: GET name: getreportingfacebookadsid description: Mailchimp Get Facebook Ad Report call: marketing-reporting.getreportingfacebookadsid with: fields: rest.fields outreach_id: rest.outreach_id exclude_fields: rest.exclude_fields outputParameters: - type: object mapping: $. - path: /v1/reporting/facebook-ads/{outreach-id}/ecommerce-product-activity name: reporting-facebook-ads-outreach-id-ecommerce-product-activity description: REST surface for reporting-facebook-ads-outreach_id-ecommerce-product-activity. operations: - method: GET name: getreportingfacebookadsidecommerceproductactivity description: Mailchimp List Facebook Ecommerce Report call: marketing-reporting.getreportingfacebookadsidecommerceproductactivity with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset outreach_id: rest.outreach_id sort_field: rest.sort_field outputParameters: - type: object mapping: $. - path: /v1/reporting/landing-pages name: reporting-landing-pages description: REST surface for reporting-landing-pages. operations: - method: GET name: getreportinglandingpages description: Mailchimp List Landing Pages Reports call: marketing-reporting.getreportinglandingpages with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/reporting/landing-pages/{outreach-id} name: reporting-landing-pages-outreach-id description: REST surface for reporting-landing-pages-outreach_id. operations: - method: GET name: getreportinglandingpagesid description: Mailchimp Get Landing Page Report call: marketing-reporting.getreportinglandingpagesid with: fields: rest.fields outreach_id: rest.outreach_id exclude_fields: rest.exclude_fields outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys name: reporting-surveys description: REST surface for reporting-surveys. operations: - method: GET name: getreportingsurveys description: Mailchimp List Survey Reports call: marketing-reporting.getreportingsurveys with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id} name: reporting-surveys-survey-id description: REST surface for reporting-surveys-survey_id. operations: - method: GET name: getreportingsurveysid description: Mailchimp Get Survey Report call: marketing-reporting.getreportingsurveysid with: fields: rest.fields exclude_fields: rest.exclude_fields survey_id: rest.survey_id outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id}/questions name: reporting-surveys-survey-id-questions description: REST surface for reporting-surveys-survey_id-questions. operations: - method: GET name: getreportingsurveysidquestions description: Mailchimp List Survey Question Reports call: marketing-reporting.getreportingsurveysidquestions with: fields: rest.fields exclude_fields: rest.exclude_fields survey_id: rest.survey_id outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id}/questions/{question-id} name: reporting-surveys-survey-id-questions-question-id description: REST surface for reporting-surveys-survey_id-questions-question_id. operations: - method: GET name: getreportingsurveysidquestionsid description: Mailchimp Get Survey Question Report call: marketing-reporting.getreportingsurveysidquestionsid with: fields: rest.fields exclude_fields: rest.exclude_fields survey_id: rest.survey_id question_id: rest.question_id outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id}/questions/{question-id}/answers name: reporting-surveys-survey-id-questions-question-id-answers description: REST surface for reporting-surveys-survey_id-questions-question_id-answers. operations: - method: GET name: getreportingsurveysidquestionsidanswers description: Mailchimp List Answers for Question call: marketing-reporting.getreportingsurveysidquestionsidanswers with: fields: rest.fields exclude_fields: rest.exclude_fields survey_id: rest.survey_id question_id: rest.question_id respondent_familiarity_is: rest.respondent_familiarity_is outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id}/responses name: reporting-surveys-survey-id-responses description: REST surface for reporting-surveys-survey_id-responses. operations: - method: GET name: getreportingsurveysidresponses description: Mailchimp List Survey Responses call: marketing-reporting.getreportingsurveysidresponses with: fields: rest.fields exclude_fields: rest.exclude_fields survey_id: rest.survey_id answered_question: rest.answered_question chose_answer: rest.chose_answer respondent_familiarity_is: rest.respondent_familiarity_is outputParameters: - type: object mapping: $. - path: /v1/reporting/surveys/{survey-id}/responses/{response-id} name: reporting-surveys-survey-id-responses-response-id description: REST surface for reporting-surveys-survey_id-responses-response_id. operations: - method: GET name: getreportingsurveysidresponsesid description: Mailchimp Get Survey Response call: marketing-reporting.getreportingsurveysidresponsesid with: survey_id: rest.survey_id response_id: rest.response_id outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-reporting-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Reporting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-facebook-ads-reports description: Mailchimp List Facebook Ads Reports hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingfacebookads with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset sort_field: tools.sort_field sort_dir: tools.sort_dir outputParameters: - type: object mapping: $. - name: mailchimp-get-facebook-ad-report description: Mailchimp Get Facebook Ad Report hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingfacebookadsid with: fields: tools.fields outreach_id: tools.outreach_id exclude_fields: tools.exclude_fields outputParameters: - type: object mapping: $. - name: mailchimp-list-facebook-ecommerce-report description: Mailchimp List Facebook Ecommerce Report hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingfacebookadsidecommerceproductactivity with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset outreach_id: tools.outreach_id sort_field: tools.sort_field outputParameters: - type: object mapping: $. - name: mailchimp-list-landing-pages-reports description: Mailchimp List Landing Pages Reports hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportinglandingpages with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset outputParameters: - type: object mapping: $. - name: mailchimp-get-landing-page-report description: Mailchimp Get Landing Page Report hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportinglandingpagesid with: fields: tools.fields outreach_id: tools.outreach_id exclude_fields: tools.exclude_fields outputParameters: - type: object mapping: $. - name: mailchimp-list-survey-reports description: Mailchimp List Survey Reports hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveys with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset outputParameters: - type: object mapping: $. - name: mailchimp-get-survey-report description: Mailchimp Get Survey Report hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysid with: fields: tools.fields exclude_fields: tools.exclude_fields survey_id: tools.survey_id outputParameters: - type: object mapping: $. - name: mailchimp-list-survey-question-reports description: Mailchimp List Survey Question Reports hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysidquestions with: fields: tools.fields exclude_fields: tools.exclude_fields survey_id: tools.survey_id outputParameters: - type: object mapping: $. - name: mailchimp-get-survey-question-report description: Mailchimp Get Survey Question Report hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysidquestionsid with: fields: tools.fields exclude_fields: tools.exclude_fields survey_id: tools.survey_id question_id: tools.question_id outputParameters: - type: object mapping: $. - name: mailchimp-list-answers-question description: Mailchimp List Answers for Question hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysidquestionsidanswers with: fields: tools.fields exclude_fields: tools.exclude_fields survey_id: tools.survey_id question_id: tools.question_id respondent_familiarity_is: tools.respondent_familiarity_is outputParameters: - type: object mapping: $. - name: mailchimp-list-survey-responses description: Mailchimp List Survey Responses hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysidresponses with: fields: tools.fields exclude_fields: tools.exclude_fields survey_id: tools.survey_id answered_question: tools.answered_question chose_answer: tools.chose_answer respondent_familiarity_is: tools.respondent_familiarity_is outputParameters: - type: object mapping: $. - name: mailchimp-get-survey-response description: Mailchimp Get Survey Response hints: readOnly: true destructive: false idempotent: true call: marketing-reporting.getreportingsurveysidresponsesid with: survey_id: tools.survey_id response_id: tools.response_id outputParameters: - type: object mapping: $.