naftiko: 1.0.0-alpha2 info: label: Marketo Engage Rest API — Static description: 'Marketo Engage Rest API — Static. 6 operations. Lead operation: Marketo Get Static List by Name. Self-contained Naftiko capability covering one Marketo business surface.' tags: - Marketo - Static 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-static baseUri: https://localhost:8080 description: Marketo Engage Rest API — Static business capability. Self-contained, no shared references. resources: - 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 - name: rest-asset-v1-staticList-id}.json path: /rest/asset/v1/staticList/{id}.json operations: - name: getstaticlistbyidusingget method: GET description: Marketo Get Static List by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of the static list to retrieve required: true - name: updatestaticlistusingpost method: POST description: Marketo Update Static List Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of static list to update required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-asset-v1-staticList-id-delete.json path: /rest/asset/v1/staticList/{id}/delete.json operations: - name: deletestaticlistbyidusingpost method: POST description: Marketo Delete Static List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Id of the static list to delete required: true - name: rest-asset-v1-staticLists.json path: /rest/asset/v1/staticLists.json operations: - name: getstaticlistsusingget method: GET description: Marketo Get Static Lists outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: folder in: query type: string description: JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' - name: offset in: query type: integer description: Integer offset for paging - name: maxReturn in: query type: integer description: Maximum number of static lists to return. Max 200, default 20. - name: earliestUpdatedAt in: query type: string description: Exclude static lists prior to this date. Must be valid ISO-8601 string. See D - name: latestUpdatedAt in: query type: string description: Exclude static lists after this date. Must be valid ISO-8601 string. See Date - name: createstaticlistusingpost method: POST description: Marketo Create Static List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: engage-rest-static-rest port: 8080 description: REST adapter for Marketo Engage Rest API — Static. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - 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-static.getstaticlistbynameusingget with: name: rest.name outputParameters: - type: object mapping: $. - path: /v1/asset/v1/staticlist/id-json name: rest-asset-v1-staticlist-id-json description: REST surface for rest-asset-v1-staticList-id}.json. operations: - method: GET name: getstaticlistbyidusingget description: Marketo Get Static List by Id call: engage-rest-static.getstaticlistbyidusingget with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: updatestaticlistusingpost description: Marketo Update Static List Metadata call: engage-rest-static.updatestaticlistusingpost with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/asset/v1/staticlist/{id}/delete-json name: rest-asset-v1-staticlist-id-delete-json description: REST surface for rest-asset-v1-staticList-id-delete.json. operations: - method: POST name: deletestaticlistbyidusingpost description: Marketo Delete Static List call: engage-rest-static.deletestaticlistbyidusingpost with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/asset/v1/staticlists-json name: rest-asset-v1-staticlists-json description: REST surface for rest-asset-v1-staticLists.json. operations: - method: GET name: getstaticlistsusingget description: Marketo Get Static Lists call: engage-rest-static.getstaticlistsusingget with: folder: rest.folder offset: rest.offset maxReturn: rest.maxReturn earliestUpdatedAt: rest.earliestUpdatedAt latestUpdatedAt: rest.latestUpdatedAt outputParameters: - type: object mapping: $. - method: POST name: createstaticlistusingpost description: Marketo Create Static List call: engage-rest-static.createstaticlistusingpost with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: engage-rest-static-mcp port: 9090 transport: http description: MCP adapter for Marketo Engage Rest API — Static. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: marketo-get-static-list-name description: Marketo Get Static List by Name hints: readOnly: true destructive: false idempotent: true call: engage-rest-static.getstaticlistbynameusingget with: name: tools.name outputParameters: - type: object mapping: $. - name: marketo-get-static-list-id description: Marketo Get Static List by Id hints: readOnly: true destructive: false idempotent: true call: engage-rest-static.getstaticlistbyidusingget with: id: tools.id outputParameters: - type: object mapping: $. - name: marketo-update-static-list-metadata description: Marketo Update Static List Metadata hints: readOnly: true destructive: false idempotent: false call: engage-rest-static.updatestaticlistusingpost with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: marketo-delete-static-list description: Marketo Delete Static List hints: readOnly: false destructive: false idempotent: false call: engage-rest-static.deletestaticlistbyidusingpost with: id: tools.id outputParameters: - type: object mapping: $. - name: marketo-get-static-lists description: Marketo Get Static Lists hints: readOnly: true destructive: false idempotent: true call: engage-rest-static.getstaticlistsusingget with: folder: tools.folder offset: tools.offset maxReturn: tools.maxReturn earliestUpdatedAt: tools.earliestUpdatedAt latestUpdatedAt: tools.latestUpdatedAt outputParameters: - type: object mapping: $. - name: marketo-create-static-list description: Marketo Create Static List hints: readOnly: false destructive: false idempotent: false call: engage-rest-static.createstaticlistusingpost with: body: tools.body outputParameters: - type: object mapping: $.