Marketo · Capability

Marketo Engage Rest API — Name.json

Marketo Engage Rest API — Name.json. 2 operations. Lead operation: Marketo Get Smart List by Name. Self-contained Naftiko capability covering one Marketo business surface.

Run with Naftiko MarketoName.json

What You Can Do

GET
Getsmartlistbynameusingget — Marketo Get Smart List by Name
/v1/asset/v1/smartlist/byname-json
GET
Getstaticlistbynameusingget — Marketo Get Static List by Name
/v1/asset/v1/staticlist/byname-json

MCP Tools

marketo-get-smart-list-name

Marketo Get Smart List by Name

read-only idempotent
marketo-get-static-list-name

Marketo Get Static List by Name

read-only idempotent

Capability Spec

engage-rest-name-json.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Marketo Engage Rest API — Name.json
  description: 'Marketo Engage Rest API — Name.json. 2 operations. Lead operation: Marketo Get Smart List by Name. Self-contained
    Naftiko capability covering one Marketo business surface.'
  tags:
  - Marketo
  - Name.json
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MARKETO_API_KEY: MARKETO_API_KEY
capability:
  consumes:
  - type: http
    namespace: engage-rest-name-json
    baseUri: https://localhost:8080
    description: Marketo Engage Rest API — Name.json business capability. Self-contained, no shared references.
    resources:
    - name: rest-asset-v1-smartList-byName.json
      path: /rest/asset/v1/smartList/byName.json
      operations:
      - name: getsmartlistbynameusingget
        method: GET
        description: Marketo Get Smart List by Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: Name of smart list to retrieve
          required: true
    - name: rest-asset-v1-staticList-byName.json
      path: /rest/asset/v1/staticList/byName.json
      operations:
      - name: getstaticlistbynameusingget
        method: GET
        description: Marketo Get Static List by Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: Name of static list to retrieve
          required: true
  exposes:
  - type: rest
    namespace: engage-rest-name-json-rest
    port: 8080
    description: REST adapter for Marketo Engage Rest API — Name.json. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/asset/v1/smartlist/byname-json
      name: rest-asset-v1-smartlist-byname-json
      description: REST surface for rest-asset-v1-smartList-byName.json.
      operations:
      - method: GET
        name: getsmartlistbynameusingget
        description: Marketo Get Smart List by Name
        call: engage-rest-name-json.getsmartlistbynameusingget
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/asset/v1/staticlist/byname-json
      name: rest-asset-v1-staticlist-byname-json
      description: REST surface for rest-asset-v1-staticList-byName.json.
      operations:
      - method: GET
        name: getstaticlistbynameusingget
        description: Marketo Get Static List by Name
        call: engage-rest-name-json.getstaticlistbynameusingget
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: engage-rest-name-json-mcp
    port: 9090
    transport: http
    description: MCP adapter for Marketo Engage Rest API — Name.json. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: marketo-get-smart-list-name
      description: Marketo Get Smart List by Name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engage-rest-name-json.getsmartlistbynameusingget
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: marketo-get-static-list-name
      description: Marketo Get Static List by Name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engage-rest-name-json.getstaticlistbynameusingget
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.