Skip to main content
Glama

AlgoTrips

Plan a trip

plan_trip

Builds a full day-by-day trip with live prices in the signed-in AlgoTrips account: flights from the home city (unless gettingAround is none), hotels, activities and transfers for each city, for the cities, start date, travellers and home city given. The kind of hotel (hotelStars) and what the travellers enjoy (interests) shape the hotels and activities picked. A field name the tool does not take is refused: nothing is built, and the answer names the right field. Returns a build id at once. The trip takes about 3 to 6 minutes, and AlgoTrips emails the person when it is ready (the price and the link), or if it could not build it, when it has their email (the answer says so). With choicesConfirmed not true and any of the budget, the kind of hotel, pace, activities, getting around or (2 or more cities) the city order left out, nothing is built: the answer lists those choices with their questions and defaults. Booking and payment happen on algotrips.com. Needs the person to be signed in to AlgoTrips.

Input Schema

NameRequiredDescriptionDefault
paceNoHow full each day is: relaxed, balanced or fast.
yearNoThe year of travel, with month.
monthNoThe month of travel (1 to 12), when the person has no exact day yet. With month + year and no startDate nothing is built: the answer suggests a start date (suggestedStartDate).
adultsYesAdults travelling (1 to 9).
citiesYesThe cities to stay in, in order (1 to 6).
homeCityYesThe city the travellers fly from and come back to.
budgetInrNoThe whole trip budget in Indian rupees, a whole number (₹4.5 lakh = 450000). Left out: a typical amount for this trip is used.
interestsNoWhat the travellers enjoy, the choices on the website: Culture, Food & Dining, Art & Museums, Beach, Nightlife, Shopping, History, Nature. Left out: a bit of everything.
startDateNoThe exact day the trip starts, YYYY-MM-DD. Needed to build: without it nothing is built.
hotelStarsNoThe kinds of hotel the person wants, the choices on the website: 1 = hostels, 2 = value for money, 3 = 3-star (mid-range), 4 = 4-star (comfortable), 5 = 5-star (luxury). The best rated hotel of these kinds is picked. When given, it is used instead of hotelStandard. Left out: no preference for a kind of hotel.
totalNightsNoNights for the whole trip, when some cities have no nights of their own (split between them).
childrenAgesNoEach child's age (0 to 17), at most 6 children.
activityStyleNomix (some tours, some on your own), self_guided (mostly on your own) or all_inclusive (guided tours).
gettingAroundNoHow the travellers get there and between cities, the choices on the website: auto (AlgoTrips picks a flight or road / rail for each hop), all (a flight on every hop that has one), edge (flights to the first city and home from the last, road or rail in between), none (no flights: hotels, activities and transfers only). Left out: auto.
hotelStandardNoHotel standard: budget, comfort or luxury.
keepCityOrderNotrue keeps the cities in the order given. false or left out lets AlgoTrips pick the best order for flights and getting around.
choicesConfirmedNotrue: any of budgetInr, the kind of hotel (hotelStars or hotelStandard), pace, activityStyle, gettingAround and (2 or more cities) keepCityOrder left out gets its default. false or left out: with any of them left out nothing is built, and the answer (status needs_choices) lists them with a question, the allowed values and the default for each.

Output Schema

NameRequiredDescriptionDefault
linkNo
citiesNo
statusYes
buildIdNo
choicesNoThe choices left out (status needs_choices): for each, the input field, a question, the allowed values and the default used when it stays out.
messageYes
startDateNo
suggestionsNo
suggestedStartDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) by disclosing that the build is asynchronous (returns a build id immediately, 3-6 minutes), that AlgoTrips emails the result or failure, that unknown field names cause a refusal with a corrective message, and that booking/payment happen on algotrips.com rather than in the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, and nearly every sentence carries distinct information (async timing, email, validation, prerequisites). Some sentences are dense run-ons, e.g. the long choicesConfirmed enumeration, which slightly hurts readability without being redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 17 parameters, an output schema, and full schema coverage, the description covers the hard parts: mutation, async completion, validation failure modes, and auth requirement. The one notable gap is not telling the agent that the returned build id is meant to be used with trip_status to check progress.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema cannot express: hotelStars and interests 'shape' which hotels and activities are picked, and flights are omitted entirely when gettingAround is none. It adds real semantics on top of an already complete schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource: 'Builds a full day-by-day trip with live prices' for given cities, dates, travellers and home city. It is clearly the builder among siblings like my_trips and destination_facts, but it never names those siblings, so an agent must infer that trip_status is the follow-up to the returned build id.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete preconditions and gating rules: must be signed in, startDate is required, and with choicesConfirmed not true plus any of budget/hotel/pace/activities/gettingAround/city-order missing, nothing is built and questions are returned. It does not explicitly say when to prefer this over siblings or how to poll progress, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources