Starwood Hotel Search API — Properties

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

Run with Naftiko Starwood Hotels And ResortsProperties

What You Can Do

GET
Gethotelbyid — Get Hotel by ID
/v1/v1/hotels/{hotelid}

MCP Tools

get-hotel-id

Get Hotel by ID

read-only idempotent

Capability Spec

starwood-hotel-search-properties.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Starwood Hotel Search API — Properties
  description: 'Starwood Hotel Search API — Properties. 1 operations. Lead operation: Get Hotel by ID. Self-contained Naftiko
    capability covering one Starwood Hotels And Resorts business surface.'
  tags:
  - Starwood Hotels And Resorts
  - Properties
  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-properties
    baseUri: https://www.starwoodhotels.com/api
    description: Starwood Hotel Search API — Properties business capability. Self-contained, no shared references.
    resources:
    - name: v1-hotels-hotelId
      path: /v1/hotels/{hotelId}
      operations:
      - name: gethotelbyid
        method: GET
        description: Get Hotel by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: hotelId
          in: path
          type: string
          description: Unique Starwood hotel identifier
          required: true
  exposes:
  - type: rest
    namespace: starwood-hotel-search-properties-rest
    port: 8080
    description: REST adapter for Starwood Hotel Search API — Properties. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/hotels/{hotelid}
      name: v1-hotels-hotelid
      description: REST surface for v1-hotels-hotelId.
      operations:
      - method: GET
        name: gethotelbyid
        description: Get Hotel by ID
        call: starwood-hotel-search-properties.gethotelbyid
        with:
          hotelId: rest.hotelId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: starwood-hotel-search-properties-mcp
    port: 9090
    transport: http
    description: MCP adapter for Starwood Hotel Search API — Properties. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-hotel-id
      description: Get Hotel by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: starwood-hotel-search-properties.gethotelbyid
      with:
        hotelId: tools.hotelId
      outputParameters:
      - type: object
        mapping: $.