Mailchimp · Capability
Mailchimp Marketing API — Facebook
Mailchimp Marketing API — Facebook. 5 operations. Lead operation: Mailchimp List Facebook Ads. Self-contained Naftiko capability covering one Mailchimp business surface.
What You Can Do
GET
Getallfacebookads
— Mailchimp List Facebook Ads
/v1/facebook-ads
GET
Getfacebookadsid
— Mailchimp Get Facebook Ad Info
/v1/facebook-ads/{outreach-id}
GET
Getreportingfacebookads
— Mailchimp List Facebook Ads Reports
/v1/reporting/facebook-ads
GET
Getreportingfacebookadsid
— Mailchimp Get Facebook Ad Report
/v1/reporting/facebook-ads/{outreach-id}
GET
Getreportingfacebookadsidecommerceproductactivity
— Mailchimp List Facebook Ecommerce Report
/v1/reporting/facebook-ads/{outreach-id}/ecommerce-product-activity
MCP Tools
mailchimp-list-facebook-ads
Mailchimp List Facebook Ads
read-only
idempotent
mailchimp-get-facebook-ad-info
Mailchimp Get Facebook Ad Info
read-only
idempotent
mailchimp-list-facebook-ads-reports
Mailchimp List Facebook Ads Reports
read-only
idempotent
mailchimp-get-facebook-ad-report
Mailchimp Get Facebook Ad Report
read-only
idempotent
mailchimp-list-facebook-ecommerce-report
Mailchimp List Facebook Ecommerce Report
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Mailchimp Marketing API — Facebook
description: 'Mailchimp Marketing API — Facebook. 5 operations. Lead operation: Mailchimp List Facebook Ads. Self-contained
Naftiko capability covering one Mailchimp business surface.'
tags:
- Mailchimp
- Facebook
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
baseUri: https://server.api.mailchimp.com/3.0
description: Mailchimp Marketing API — Facebook 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.
- name: facebook-ads-outreach_id
path: /facebook-ads/{outreach_id}
operations:
- name: getfacebookadsid
method: GET
description: Mailchimp Get Facebook Ad Info
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
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.
exposes:
- type: rest
namespace: marketing-facebook-rest
port: 8080
description: REST adapter for Mailchimp Marketing API — Facebook. 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.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: $.
- path: /v1/facebook-ads/{outreach-id}
name: facebook-ads-outreach-id
description: REST surface for facebook-ads-outreach_id.
operations:
- method: GET
name: getfacebookadsid
description: Mailchimp Get Facebook Ad Info
call: marketing-facebook.getfacebookadsid
with:
fields: rest.fields
outreach_id: rest.outreach_id
exclude_fields: rest.exclude_fields
outputParameters:
- type: object
mapping: $.
- 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-facebook.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-facebook.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-facebook.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: $.
- type: mcp
namespace: marketing-facebook-mcp
port: 9090
transport: http
description: MCP adapter for Mailchimp Marketing API — Facebook. 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.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: $.
- name: mailchimp-get-facebook-ad-info
description: Mailchimp Get Facebook Ad Info
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-facebook.getfacebookadsid
with:
fields: tools.fields
outreach_id: tools.outreach_id
exclude_fields: tools.exclude_fields
outputParameters:
- type: object
mapping: $.
- name: mailchimp-list-facebook-ads-reports
description: Mailchimp List Facebook Ads Reports
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-facebook.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-facebook.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-facebook.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: $.