How to Use Agoda hotel search in Gemini CLI
Get properties for specific stay dates in a city or near a landmark, including nightly and stay totals. Use it to build a shortlist before checking individual rooms.
Prompts to try with Agoda hotel search in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Agoda hotel search for Tokyo, April 10–13, 2027, for two adults in one room. Adapt my project's comparison view to the returned hotel results.
Use Agoda hotel search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Agoda hotel search and tell me what changed since last week.
Check Agoda hotel search and summarize what you find in three bullet points.
Pull the newest data from Agoda hotel search and give me the result as a table.
How to set up Agoda hotel search in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Agoda hotel search
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": "agoda-com/hotels/search", "input": { "city_id": 1 } }'
Then paste one of the prompts above: Gemini CLI finds Agoda hotel search on Spiral, shows the price and runs it.
Agoda hotel search providers and prices
Spiral runs Agoda hotel search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 100 | 1 | page |
| Sort | recommended, price_asc, price_desc, or review_score | recommended | sort |
| Rooms | 1 to 9 | 1 | rooms |
| Adults | 1 to 36 | 2 | adults |
| Nights | 1 to 30 | 1 | nights |
| City ID | a number from 1 | Agoda city id from | |
| Children | 0 to 9 | 0 | children |
| Page size | 1 to 45 | 20 | Agoda may add sponsored rows on top of the requested size. |
| Landmark ID | a number from 1 | Agoda landmark id from |
Every API field of Agoda stays · Search is on its tool page: open its card above.
What can you do with Agoda hotel search in Gemini CLI?
Build a trip planner that takes a destination idea through hotel comparison to a practical stay brief. Keep Agoda's place matches, room offers, published FAQs, and guest feedback distinct in the project's data model.
Choose a weekend destination and stay
Start with destination ideas, resolve place names, and search a fixed weekend. Compare room terms, published FAQs, and guest feedback before selecting a stay.
Prepare an office retreat shortlist
Use destination lists to propose cities and suggestions to identify each location. Compare dated hotel results, room offers, meeting-related FAQs, and guest feedback for the retreat brief.
Compare domestic and international trip ideas
Build two destination shortlists, resolve the cities, and search identical travel dates. Evaluate each option through room cancellation terms, property FAQs, and published guest experiences.
Evaluate a travel assistant's answers
Test destination discovery, ambiguous place matching, hotel shortlisting, and room selection with real Agoda results. Check whether the assistant keeps property FAQs, guest opinions, and room cancellation terms distinct.
Find accommodation near an event venue
Identify a venue such as Tokyo International Forum, search nearby stays, and compare room offers. Use FAQs and guest reviews to investigate practical concerns before choosing.
More on Agoda hotel search and Gemini CLI
Overview
Agoda hotel search in other agents
Questions about Agoda hotel search in Gemini CLI
Can Gemini CLI use Agoda hotel search?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Agoda hotel search like any built-in tool.
How much does Agoda hotel search cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use Agoda hotel search in Gemini CLI?
No. Spiral runs Agoda hotel search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Agoda hotel search in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Agoda hotel search runs?
Agoda hotel search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does Agoda cover accommodation outside Asia?
Yes. Agoda describes a worldwide network of over 4.5 million hotels and vacation rentals. That network figure does not establish how many properties a particular query will return.
Who writes Agoda's guest reviews?
Agoda requests reviews from customers after checkout and moderates submissions before publication. Its review scores run from 1 to 10, with separate categories such as cleanliness and location.
How far back do Agoda reviews go?
Agoda may accept submissions only within 12 months after checkout and may stop showing reviews older than up to 36 months. An ownership change can also cause older reviews to disappear.
Are new guest reviews published immediately?
Agoda says each review must be approved by its content team before appearing on the website. Review results therefore reflect published submissions, with moderation occurring before publication.
Does Agoda independently verify hotel star ratings?
No. Star ratings are supplied by travel suppliers, and Agoda says it does not independently verify them or guarantee consistency with other platforms.
Start using Agoda hotel search in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


