naftiko: 1.0.0-alpha2 info: label: Mailchimp Transactional API — Templates description: 'Mailchimp Transactional API — Templates. 8 operations. Lead operation: Mailchimp Add a New Template. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: transactional-templates baseUri: https://mandrillapp.com/api/1.0 description: Mailchimp Transactional API — Templates business capability. Self-contained, no shared references. resources: - name: templates-add path: /templates/add operations: - name: posttemplatesadd method: POST description: Mailchimp Add a New Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-delete path: /templates/delete operations: - name: posttemplatesdelete method: POST description: Mailchimp Delete a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-info path: /templates/info operations: - name: posttemplatesinfo method: POST description: Mailchimp Get Template Info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-list path: /templates/list operations: - name: posttemplateslist method: POST description: Mailchimp List Templates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-publish path: /templates/publish operations: - name: posttemplatespublish method: POST description: Mailchimp Publish a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-render path: /templates/render operations: - name: posttemplatesrender method: POST description: Mailchimp Render a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-time-series path: /templates/time-series operations: - name: posttemplatestimeseries method: POST description: Mailchimp Get Template Time Series outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: templates-update path: /templates/update operations: - name: posttemplatesupdate method: POST description: Mailchimp Update a Template 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-templates-rest port: 8080 description: REST adapter for Mailchimp Transactional API — Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/templates/add name: templates-add description: REST surface for templates-add. operations: - method: POST name: posttemplatesadd description: Mailchimp Add a New Template call: transactional-templates.posttemplatesadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/delete name: templates-delete description: REST surface for templates-delete. operations: - method: POST name: posttemplatesdelete description: Mailchimp Delete a Template call: transactional-templates.posttemplatesdelete with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/info name: templates-info description: REST surface for templates-info. operations: - method: POST name: posttemplatesinfo description: Mailchimp Get Template Info call: transactional-templates.posttemplatesinfo with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/list name: templates-list description: REST surface for templates-list. operations: - method: POST name: posttemplateslist description: Mailchimp List Templates call: transactional-templates.posttemplateslist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/publish name: templates-publish description: REST surface for templates-publish. operations: - method: POST name: posttemplatespublish description: Mailchimp Publish a Template call: transactional-templates.posttemplatespublish with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/render name: templates-render description: REST surface for templates-render. operations: - method: POST name: posttemplatesrender description: Mailchimp Render a Template call: transactional-templates.posttemplatesrender with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/time-series name: templates-time-series description: REST surface for templates-time-series. operations: - method: POST name: posttemplatestimeseries description: Mailchimp Get Template Time Series call: transactional-templates.posttemplatestimeseries with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/templates/update name: templates-update description: REST surface for templates-update. operations: - method: POST name: posttemplatesupdate description: Mailchimp Update a Template call: transactional-templates.posttemplatesupdate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: transactional-templates-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Transactional API — Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-add-new-template description: Mailchimp Add a New Template hints: readOnly: false destructive: false idempotent: false call: transactional-templates.posttemplatesadd with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-template description: Mailchimp Delete a Template hints: readOnly: false destructive: false idempotent: false call: transactional-templates.posttemplatesdelete with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-template-info description: Mailchimp Get Template Info hints: readOnly: true destructive: false idempotent: false call: transactional-templates.posttemplatesinfo with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-list-templates description: Mailchimp List Templates hints: readOnly: true destructive: false idempotent: false call: transactional-templates.posttemplateslist with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-publish-template description: Mailchimp Publish a Template hints: readOnly: false destructive: false idempotent: false call: transactional-templates.posttemplatespublish with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-render-template description: Mailchimp Render a Template hints: readOnly: false destructive: false idempotent: false call: transactional-templates.posttemplatesrender with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-template-time-series description: Mailchimp Get Template Time Series hints: readOnly: true destructive: false idempotent: false call: transactional-templates.posttemplatestimeseries with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-update-template description: Mailchimp Update a Template hints: readOnly: false destructive: false idempotent: false call: transactional-templates.posttemplatesupdate with: body: tools.body outputParameters: - type: object mapping: $.