Amadeus · Capability

Flight Delay Prediction — Flight Delay Prediction

Flight Delay Prediction — Flight Delay Prediction. 1 operation(s). Lead operation: Amadeus Return the Delay Segment Where the Flight is Likely to Lay.. Self-contained Naftiko capability covering one Amadeus business surface.

Run with Naftiko AmadeusTravelFlight Delay Prediction

What You Can Do

GET
Getflightdelayprediction — Amadeus Return the Delay Segment Where the Flight is Likely to Lay.
/v1/travel/predictions/flight-delay

MCP Tools

return-delay-segment-where-flight

Amadeus Return the Delay Segment Where the Flight is Likely to Lay.

read-only idempotent

Capability Spec

flight-delay-prediction-flight-delay-prediction.yaml Raw ↑
naftiko: "1.0.0-alpha2"
info:
  label: "Flight Delay Prediction — Flight Delay Prediction"
  description: 'Flight Delay Prediction — Flight Delay Prediction. 1 operation(s). Lead operation: Amadeus Return the Delay Segment Where the Flight is Likely to Lay.. Self-contained Naftiko capability covering one Amadeus business surface.'
  tags:
    - Amadeus
    - Travel
    - Flight Delay Prediction
  created: "2026-05-29"
  modified: "2026-05-29"
binds:
  - namespace: env
    keys:
      AMADEUS_TOKEN: AMADEUS_TOKEN
capability:
  consumes:
    - type: http
      namespace: flight-delay-prediction-flight-delay-prediction
      baseUri: https://test.api.amadeus.com/v1
      description: Flight Delay Prediction — Flight Delay Prediction business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.AMADEUS_TOKEN}}'
      resources:
        - name: travel-predictions-flight-delay
          path: /travel/predictions/flight-delay
          operations:
            - name: getFlightDelayPrediction
              method: GET
              description: Amadeus Return the Delay Segment Where the Flight is Likely to Lay.
              inputParameters:
                - name: originLocationCode
                  in: query
                  type: string
                  required: true
                  description: city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris
                - name: destinationLocationCode
                  in: query
                  type: string
                  required: true
                  description: city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris
                - name: departureDate
                  in: query
                  type: string
                  required: true
                  description: the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2019-12-25
                - name: departureTime
                  in: query
                  type: string
                  required: true
                  description: local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00
                - name: arrivalDate
                  in: query
                  type: string
                  required: true
                  description: the date on which the traveler will arrive to the destination from the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2019-12-25
                - name: arrivalTime
                  in: query
                  type: string
                  required: true
                  description: local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g. 13:22:00
                - name: aircraftCode
                  in: query
                  type: string
                  required: true
                  description: IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)
                - name: carrierCode
                  in: query
                  type: string
                  required: true
                  description: airline / carrier code
                - name: flightNumber
                  in: query
                  type: string
                  required: true
                  description: flight number as assigned by the carrier
                - name: duration
                  in: query
                  type: string
                  required: true
                  description: flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flight-delay-prediction-flight-delay-prediction-rest
      port: 8080
      description: REST adapter for Flight Delay Prediction — Flight Delay Prediction. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/travel/predictions/flight-delay
          name: travel-predictions-flight-delay
          description: REST surface for travel-predictions-flight-delay.
          operations:
            - method: GET
              name: getFlightDelayPrediction
              description: Amadeus Return the Delay Segment Where the Flight is Likely to Lay.
              call: flight-delay-prediction-flight-delay-prediction.getFlightDelayPrediction
              with:
                originLocationCode: rest.originLocationCode
                destinationLocationCode: rest.destinationLocationCode
                departureDate: rest.departureDate
                departureTime: rest.departureTime
                arrivalDate: rest.arrivalDate
                arrivalTime: rest.arrivalTime
                aircraftCode: rest.aircraftCode
                carrierCode: rest.carrierCode
                flightNumber: rest.flightNumber
                duration: rest.duration
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flight-delay-prediction-flight-delay-prediction-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flight Delay Prediction — Flight Delay Prediction. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: return-delay-segment-where-flight
          description: Amadeus Return the Delay Segment Where the Flight is Likely to Lay.
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flight-delay-prediction-flight-delay-prediction.getFlightDelayPrediction
          with:
            originLocationCode: tools.originLocationCode
            destinationLocationCode: tools.destinationLocationCode
            departureDate: tools.departureDate
            departureTime: tools.departureTime
            arrivalDate: tools.arrivalDate
            arrivalTime: tools.arrivalTime
            aircraftCode: tools.aircraftCode
            carrierCode: tools.carrierCode
            flightNumber: tools.flightNumber
            duration: tools.duration
          outputParameters:
            - type: object
              mapping: $.