naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Questions description: 'Mailchimp Marketing API — Questions. 3 operations. Lead operation: Mailchimp List Survey Question Reports. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Questions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-questions baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Questions business capability. Self-contained, no shared references. resources: - 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. exposes: - type: rest namespace: marketing-questions-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Questions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - 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-questions.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-questions.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-questions.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: $. - type: mcp namespace: marketing-questions-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Questions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-list-survey-question-reports description: Mailchimp List Survey Question Reports hints: readOnly: true destructive: false idempotent: true call: marketing-questions.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-questions.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-questions.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: $.