Mailchimp · Capability

Mailchimp Marketing API — History

Mailchimp Marketing API — History. 2 operations. Lead operation: Mailchimp List Growth History Data. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpHistory

What You Can Do

GET
Getlistsidgrowthhistory — Mailchimp List Growth History Data
/v1/lists/{list-id}/growth-history
GET
Getlistsidgrowthhistoryid — Mailchimp Get Growth History by Month
/v1/lists/{list-id}/growth-history/{month}

MCP Tools

mailchimp-list-growth-history-data

Mailchimp List Growth History Data

read-only idempotent
mailchimp-get-growth-history-month

Mailchimp Get Growth History by Month

read-only idempotent

Capability Spec

marketing-history.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — History
  description: 'Mailchimp Marketing API  — History. 2 operations. Lead operation: Mailchimp List Growth History Data. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - History
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-history
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — History business capability. Self-contained, no shared references.
    resources:
    - name: lists-list_id-growth-history
      path: /lists/{list_id}/growth-history
      operations:
      - name: getlistsidgrowthhistory
        method: GET
        description: Mailchimp List Growth History Data
        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: 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: lists-list_id-growth-history-month
      path: /lists/{list_id}/growth-history/{month}
      operations:
      - name: getlistsidgrowthhistoryid
        method: GET
        description: Mailchimp Get Growth History by Month
        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: list_id
          in: path
          type: string
          description: The unique ID for the list.
          required: true
        - name: month
          in: path
          type: string
          description: A specific month of list growth history.
          required: true
  exposes:
  - type: rest
    namespace: marketing-history-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — History. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/lists/{list-id}/growth-history
      name: lists-list-id-growth-history
      description: REST surface for lists-list_id-growth-history.
      operations:
      - method: GET
        name: getlistsidgrowthhistory
        description: Mailchimp List Growth History Data
        call: marketing-history.getlistsidgrowthhistory
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
          list_id: rest.list_id
          sort_field: rest.sort_field
          sort_dir: rest.sort_dir
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lists/{list-id}/growth-history/{month}
      name: lists-list-id-growth-history-month
      description: REST surface for lists-list_id-growth-history-month.
      operations:
      - method: GET
        name: getlistsidgrowthhistoryid
        description: Mailchimp Get Growth History by Month
        call: marketing-history.getlistsidgrowthhistoryid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          list_id: rest.list_id
          month: rest.month
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-history-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — History. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-list-growth-history-data
      description: Mailchimp List Growth History Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-history.getlistsidgrowthhistory
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        count: tools.count
        offset: tools.offset
        list_id: tools.list_id
        sort_field: tools.sort_field
        sort_dir: tools.sort_dir
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-growth-history-month
      description: Mailchimp Get Growth History by Month
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-history.getlistsidgrowthhistoryid
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        list_id: tools.list_id
        month: tools.month
      outputParameters:
      - type: object
        mapping: $.