Starwood Hotel Search API — Availability

Starwood Hotel Search API — Availability. 1 operations. Lead operation: Get Hotel Availability. Self-contained Naftiko capability covering one Starwood Hotels And Resorts business surface.

Run with Naftiko Starwood Hotels And ResortsAvailability

What You Can Do

GET
Gethotelavailability — Get Hotel Availability
/v1/v1/hotels/{hotelid}/availability

MCP Tools

get-hotel-availability

Get Hotel Availability

read-only idempotent

Capability Spec

starwood-hotel-search-availability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Starwood Hotel Search API — Availability
  description: 'Starwood Hotel Search API — Availability. 1 operations. Lead operation: Get Hotel Availability. Self-contained
    Naftiko capability covering one Starwood Hotels And Resorts business surface.'
  tags:
  - Starwood Hotels And Resorts
  - Availability
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STARWOOD_HOTELS_AND_RESORTS_API_KEY: STARWOOD_HOTELS_AND_RESORTS_API_KEY
capability:
  consumes:
  - type: http
    namespace: starwood-hotel-search-availability
    baseUri: https://www.starwoodhotels.com/api
    description: Starwood Hotel Search API — Availability business capability. Self-contained, no shared references.
    resources:
    - name: v1-hotels-hotelId-availability
      path: /v1/hotels/{hotelId}/availability
      operations:
      - name: gethotelavailability
        method: GET
        description: Get Hotel Availability
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: hotelId
          in: path
          type: string
          description: Unique Starwood hotel identifier
          required: true
        - name: arrivalDate
          in: query
          type: string
          description: Check-in date in YYYY-MM-DD format
          required: true
        - name: departureDate
          in: query
          type: string
          description: Check-out date in YYYY-MM-DD format
          required: true
        - name: adults
          in: query
          type: integer
          description: Number of adult guests
  exposes:
  - type: rest
    namespace: starwood-hotel-search-availability-rest
    port: 8080
    description: REST adapter for Starwood Hotel Search API — Availability. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/hotels/{hotelid}/availability
      name: v1-hotels-hotelid-availability
      description: REST surface for v1-hotels-hotelId-availability.
      operations:
      - method: GET
        name: gethotelavailability
        description: Get Hotel Availability
        call: starwood-hotel-search-availability.gethotelavailability
        with:
          hotelId: rest.hotelId
          arrivalDate: rest.arrivalDate
          departureDate: rest.departureDate
          adults: rest.adults
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: starwood-hotel-search-availability-mcp
    port: 9090
    transport: http
    description: MCP adapter for Starwood Hotel Search API — Availability. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-hotel-availability
      description: Get Hotel Availability
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: starwood-hotel-search-availability.gethotelavailability
      with:
        hotelId: tools.hotelId
        arrivalDate: tools.arrivalDate
        departureDate: tools.departureDate
        adults: tools.adults
      outputParameters:
      - type: object
        mapping: $.