Unified.to · Capability

Unified.to API — martech

Unified.to API — martech. 19 operations. Lead operation: List all campaigns. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Tomartech

What You Can Do

GET
Listmartechcampaigns — List all campaigns
/v1/martech/{connection-id}/campaign
POST
Createmartechcampaign — Create a campaign
/v1/martech/{connection-id}/campaign
DELETE
Removemartechcampaign — Remove a campaign
/v1/martech/{connection-id}/campaign/{id}
GET
Getmartechcampaign — Retrieve a campaign
/v1/martech/{connection-id}/campaign/{id}
PATCH
Patchmartechcampaign — Update a campaign
/v1/martech/{connection-id}/campaign/{id}
PUT
Updatemartechcampaign — Update a campaign
/v1/martech/{connection-id}/campaign/{id}
GET
Listmartechlists — List all lists
/v1/martech/{connection-id}/list
POST
Createmartechlist — Create a list
/v1/martech/{connection-id}/list
DELETE
Removemartechlist — Remove a list
/v1/martech/{connection-id}/list/{id}
GET
Getmartechlist — Retrieve a list
/v1/martech/{connection-id}/list/{id}
PATCH
Patchmartechlist — Update a list
/v1/martech/{connection-id}/list/{id}
PUT
Updatemartechlist — Update a list
/v1/martech/{connection-id}/list/{id}
GET
Listmartechmembers — List all members
/v1/martech/{connection-id}/member
POST
Createmartechmember — Create a member
/v1/martech/{connection-id}/member
DELETE
Removemartechmember — Remove a member
/v1/martech/{connection-id}/member/{id}
GET
Getmartechmember — Retrieve a member
/v1/martech/{connection-id}/member/{id}
PATCH
Patchmartechmember — Update a member
/v1/martech/{connection-id}/member/{id}
PUT
Updatemartechmember — Update a member
/v1/martech/{connection-id}/member/{id}
GET
Listmartechreports — List all reports
/v1/martech/{connection-id}/report

MCP Tools

list-all-campaigns

List all campaigns

read-only idempotent
create-campaign

Create a campaign

remove-campaign

Remove a campaign

idempotent
retrieve-campaign

Retrieve a campaign

read-only idempotent
update-campaign

Update a campaign

idempotent
update-campaign-2

Update a campaign

idempotent
list-all-lists

List all lists

read-only idempotent
create-list

Create a list

remove-list

Remove a list

idempotent
retrieve-list

Retrieve a list

read-only idempotent
update-list

Update a list

idempotent
update-list-2

Update a list

idempotent
list-all-members

List all members

read-only idempotent
create-member

Create a member

remove-member

Remove a member

idempotent
retrieve-member

Retrieve a member

read-only idempotent
update-member

Update a member

idempotent
update-member-2

Update a member

idempotent
list-all-reports

List all reports

read-only idempotent

Capability Spec

marketing-martech.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — martech
  description: 'Unified.to  API — martech. 19 operations. Lead operation: List all campaigns. Self-contained Naftiko capability
    covering one Unified To business surface.'
  tags:
  - Unified To
  - martech
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-martech
    baseUri: https://api.unified.to
    description: Unified.to  API — martech business capability. Self-contained, no shared references.
    resources:
    - name: martech-connection_id-campaign
      path: /martech/{connection_id}/campaign
      operations:
      - name: listmartechcampaigns
        method: GET
        description: List all campaigns
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: list_id
          in: query
          type: string
          description: The list ID to filter by
        - name: member_id
          in: query
          type: string
          description: The member ID to filter by
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createmartechcampaign
        method: POST
        description: Create a campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-campaign-id
      path: /martech/{connection_id}/campaign/{id}
      operations:
      - name: removemartechcampaign
        method: DELETE
        description: Remove a campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Campaign
          required: true
      - name: getmartechcampaign
        method: GET
        description: Retrieve a campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Campaign
          required: true
      - name: patchmartechcampaign
        method: PATCH
        description: Update a campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Campaign
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatemartechcampaign
        method: PUT
        description: Update a campaign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Campaign
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-list
      path: /martech/{connection_id}/list
      operations:
      - name: listmartechlists
        method: GET
        description: List all lists
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createmartechlist
        method: POST
        description: Create a list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-list-id
      path: /martech/{connection_id}/list/{id}
      operations:
      - name: removemartechlist
        method: DELETE
        description: Remove a list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the List
          required: true
      - name: getmartechlist
        method: GET
        description: Retrieve a list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the List
          required: true
      - name: patchmartechlist
        method: PATCH
        description: Update a list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the List
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatemartechlist
        method: PUT
        description: Update a list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the List
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-member
      path: /martech/{connection_id}/member
      operations:
      - name: listmartechmembers
        method: GET
        description: List all members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: list_id
          in: query
          type: string
          description: The list ID to filter by
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createmartechmember
        method: POST
        description: Create a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-member-id
      path: /martech/{connection_id}/member/{id}
      operations:
      - name: removemartechmember
        method: DELETE
        description: Remove a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Member
          required: true
      - name: getmartechmember
        method: GET
        description: Retrieve a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Member
          required: true
      - name: patchmartechmember
        method: PATCH
        description: Update a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Member
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatemartechmember
        method: PUT
        description: Update a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Member
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: martech-connection_id-report
      path: /martech/{connection_id}/report
      operations:
      - name: listmartechreports
        method: GET
        description: List all reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: campaign_id
          in: query
          type: string
          description: The campaign ID to filter by
        - name: list_id
          in: query
          type: string
          description: The list ID to filter by
        - name: start_gte
          in: query
          type: string
          description: The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: end_lt
          in: query
          type: string
          description: The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: marketing-martech-rest
    port: 8080
    description: REST adapter for Unified.to  API — martech. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/martech/{connection-id}/campaign
      name: martech-connection-id-campaign
      description: REST surface for martech-connection_id-campaign.
      operations:
      - method: GET
        name: listmartechcampaigns
        description: List all campaigns
        call: marketing-martech.listmartechcampaigns
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          list_id: rest.list_id
          member_id: rest.member_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmartechcampaign
        description: Create a campaign
        call: marketing-martech.createmartechcampaign
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/campaign/{id}
      name: martech-connection-id-campaign-id
      description: REST surface for martech-connection_id-campaign-id.
      operations:
      - method: DELETE
        name: removemartechcampaign
        description: Remove a campaign
        call: marketing-martech.removemartechcampaign
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmartechcampaign
        description: Retrieve a campaign
        call: marketing-martech.getmartechcampaign
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchmartechcampaign
        description: Update a campaign
        call: marketing-martech.patchmartechcampaign
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatemartechcampaign
        description: Update a campaign
        call: marketing-martech.updatemartechcampaign
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/list
      name: martech-connection-id-list
      description: REST surface for martech-connection_id-list.
      operations:
      - method: GET
        name: listmartechlists
        description: List all lists
        call: marketing-martech.listmartechlists
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmartechlist
        description: Create a list
        call: marketing-martech.createmartechlist
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/list/{id}
      name: martech-connection-id-list-id
      description: REST surface for martech-connection_id-list-id.
      operations:
      - method: DELETE
        name: removemartechlist
        description: Remove a list
        call: marketing-martech.removemartechlist
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmartechlist
        description: Retrieve a list
        call: marketing-martech.getmartechlist
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchmartechlist
        description: Update a list
        call: marketing-martech.patchmartechlist
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatemartechlist
        description: Update a list
        call: marketing-martech.updatemartechlist
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/member
      name: martech-connection-id-member
      description: REST surface for martech-connection_id-member.
      operations:
      - method: GET
        name: listmartechmembers
        description: List all members
        call: marketing-martech.listmartechmembers
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          list_id: rest.list_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmartechmember
        description: Create a member
        call: marketing-martech.createmartechmember
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/member/{id}
      name: martech-connection-id-member-id
      description: REST surface for martech-connection_id-member-id.
      operations:
      - method: DELETE
        name: removemartechmember
        description: Remove a member
        call: marketing-martech.removemartechmember
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmartechmember
        description: Retrieve a member
        call: marketing-martech.getmartechmember
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchmartechmember
        description: Update a member
        call: marketing-martech.patchmartechmember
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatemartechmember
        description: Update a member
        call: marketing-martech.updatemartechmember
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/martech/{connection-id}/report
      name: martech-connection-id-report
      description: REST surface for martech-connection_id-report.
      operations:
      - method: GET
        name: listmartechreports
        description: List all reports
        call: marketing-martech.listmartechreports
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          campaign_id: rest.campaign_id
          list_id: rest.list_id
          start_gte: rest.start_gte
          end_lt: rest.end_lt
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-martech-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified.to  API — martech. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-campaigns
      description: List all campaigns
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-martech.listmartechcampaigns
      with:
        limit: tools.limit
        offset: tools.offset
        updated_gte: tools.updated_gte
        sort: tools.sort
        order: tools.order
        query: tools.query
        list_id: tools.list_id
        member_id: tools.member_id
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
      outputParameters:
      - type: object
        mapping: $.
    - name: create-campaign
      description: Create a campaign
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-martech.createmartechcampaign
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-campaign
      description: Remove a campaign
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: marketing-martech.removemartechcampaign
      with:
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-campaign
      description: Retrieve a campaign
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-martech.getmartechcampaign
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-campaign
      description: Update a campaign
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: marketing-martech.patchmartechcampaign
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-campaign-2
      description: Update a campaign
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: marketing-martech.updatemartechcampaign
      with:
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-lists
      description: List all lists
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-martech.listmartechlists
      with:
        limit: tools.limit
        offset: tools.offset
        updated_gte: tools.updated_gte
        sort: tools.sort
        order: tools.order
        query: tools.query
        fields: tools.fields
        raw: tools.raw
        connection_id: tools.connection_id
      outputParameters:
      - type: object
        mapping: $.
   

# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/capabilities/marketing-martech.yaml