Mailchimp · Capability

Mailchimp Marketing API — Facebook Ads

Mailchimp Marketing API — Facebook Ads. 1 operations. Lead operation: Mailchimp List Facebook Ads. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpFacebook Ads

What You Can Do

GET
Getallfacebookads — Mailchimp List Facebook Ads
/v1/facebook-ads

MCP Tools

mailchimp-list-facebook-ads

Mailchimp List Facebook Ads

read-only idempotent

Capability Spec

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