naftiko: 1.0.0-alpha2 info: label: Marriott Developer API — Reservations description: 'Marriott Developer API — Reservations. 2 operations. Lead operation: Create a reservation. Self-contained Naftiko capability covering one Marriott International business surface.' tags: - Marriott International - Reservations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MARRIOTT_INTERNATIONAL_API_KEY: MARRIOTT_INTERNATIONAL_API_KEY capability: consumes: - type: http namespace: developer-reservations baseUri: https://devportalprod.marriott.com description: Marriott Developer API — Reservations business capability. Self-contained, no shared references. resources: - name: reservations path: /reservations operations: - name: createreservation method: POST description: Create a reservation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: reservations-confirmationNumber path: /reservations/{confirmationNumber} operations: - name: getreservation method: GET description: Get reservation details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: confirmationNumber in: path type: string description: The reservation confirmation number. required: true authentication: type: bearer token: '{{env.MARRIOTT_INTERNATIONAL_API_KEY}}' exposes: - type: rest namespace: developer-reservations-rest port: 8080 description: REST adapter for Marriott Developer API — Reservations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/reservations name: reservations description: REST surface for reservations. operations: - method: POST name: createreservation description: Create a reservation call: developer-reservations.createreservation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/reservations/{confirmationnumber} name: reservations-confirmationnumber description: REST surface for reservations-confirmationNumber. operations: - method: GET name: getreservation description: Get reservation details call: developer-reservations.getreservation with: confirmationNumber: rest.confirmationNumber outputParameters: - type: object mapping: $. - type: mcp namespace: developer-reservations-mcp port: 9090 transport: http description: MCP adapter for Marriott Developer API — Reservations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-reservation description: Create a reservation hints: readOnly: false destructive: false idempotent: false call: developer-reservations.createreservation with: body: tools.body outputParameters: - type: object mapping: $. - name: get-reservation-details description: Get reservation details hints: readOnly: true destructive: false idempotent: true call: developer-reservations.getreservation with: confirmationNumber: tools.confirmationNumber outputParameters: - type: object mapping: $.