Spiral gives your agent every tool with one account. Browse the tools →

Factory Droid · Maps & Reviews

How to Use Trip.com room types in Factory Droid

Returns published room types, bed descriptions, and room features. Use it to compare sleeping arrangements without treating a listed room type as an available room.

Prompts to try with Trip.com room types in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use Trip.com room types for Romance Alexandria Hotel at https://www.trip.com/hotels/alexandria-hotel-detail-2904176/romance-alexandria-hotel/ and add a comparison of the returned bed descriptions and room features to my trip planner.

Trip.com room typesFactory Droid
Try asking
  • Use Trip.com room types to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Trip.com room types and tell me what changed since last week.

  • Check Trip.com room types and summarize what you find in three bullet points.

  • Pull the newest data from Trip.com room types and give me the result as a table.

How to set up Trip.com room types in Factory Droid

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Trip.com room types

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "trip-com/hotels/rooms",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: Factory Droid finds Trip.com room types on Spiral, shows the price and runs it.

Trip.com room types providers and prices

Spiral runs Trip.com room types through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
Trip.com · Rooms
trip-com/hotels/rooms

What can you do with Trip.com room types in Factory Droid?

Build a personal hotel comparison view from Trip.com's published directory and property records. A coding agent can organize returned details in your project while preserving room descriptions, amenity charge labels, and policy wording.

Compare destinations for a personal vacation

Find linked destination directories, collect featured hotels, and compare property descriptions, room layouts, amenities, and stay policies before choosing which city and hotels to investigate.

Plan a stay with children

Start with a destination directory and its featured hotels. Check property identity, published bed arrangements, useful facilities, and child policies to prepare a shortlist and questions about cribs or extra beds.

Research a road trip's overnight stops

Find hotel directories for potential stopover cities, select featured properties, and compare addresses, parking charge labels, room arrangements, and arrival policies for a personal driving itinerary.

Prepare a shared vacation shortlist

Explore destination directories with friends, select featured hotels, and assemble property summaries covering addresses, room types, shared facilities, and house policies for discussion.

Compare sleeping arrangements

Match each shortlisted property's identity to its published room descriptions, then compare double, twin, and suite arrangements alongside any room-specific crib or extra-bed qualifications.

Review a hotel's published listing changes

Compare successive readings of a hotel's description, room types, amenities, and policy sections to identify changes that affect a planned personal stay.

Questions about Trip.com room types in Factory Droid

Can Factory Droid use Trip.com room types?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Trip.com room types like any built-in tool.

How much does Trip.com room types cost in Factory Droid?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

Do I need an Alexandria account to use Trip.com room types in Factory Droid?

No. Spiral runs Trip.com room types on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Trip.com room types in Factory Droid?

About two minutes: add the server, then sign in, then check it.

Does Factory Droid wait while Trip.com room types runs?

Trip.com room types runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

Which parts of the world appear in Trip.com's hotel directories?

The public hotels landing page links destinations under Asia, China, Europe, the Americas, and Oceania. These links describe the landing page's selections, rather than the full geographic reach of every hotel listed on Trip.com.

Does a listed hotel or room type mean it is available for my dates?

No. The documented scope excludes date-specific availability and offers, so directory entries and published room descriptions cannot confirm vacancy.

Are city-directory results a complete hotel inventory?

The provider describes them as featured hotel profiles. Use them as a shortlist from a published directory, rather than a count of every property in the city.

Do listed hotel amenities all come without an extra charge?

No. Trip.com uses separate charge labels: Royal National Hotel's page marks parking as carrying an additional charge and luggage storage as free.

Can a hotel's child policy settle whether a crib or extra bed is included?

Not by itself. Trip.com explicitly says extra-bed and crib policies may vary by room type, so a property-level child policy does not settle the terms for every room.

Get started

Start using Trip.com room types in Factory Droid

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Factory Droid:

Set up Factory Droid

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options