Skip to main content
Glama

Trip Explorer

render_trip_explorer

Compare 3-5 destinations side by side with budget, distance, travel options, weather, and highlights to choose the best trip before viewing detailed itineraries.

Instructions

Render an interactive destination comparison view where the user can explore 3-5 trip options side by side before committing to a detailed itinerary. Each destination MUST include: name, country, tagline, budget_estimate (low/high in the specified currency), distance_km (from source city), travel_options (object with mode keys like flight/train/drive/bus and duration string values e.g. {"flight":"2h 30m","train":"6h","drive":"8h"}), weather (object with temp_range string e.g. "22-32°C" and condition string e.g. "Sunny & humid"), best_months, highlights, travel_style tags, and image_emoji. The user can select up to 2 destinations to compare detailed itineraries side by side. Use this tool FIRST when a user asks about vacation/trip planning — let them compare destinations before calling render_trip for the detailed itinerary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoExplorer title, e.g. 'Where should you go?'
budgetNoUser's total budget in the specified currency
sourceNoThe user's starting city/location, e.g. 'Mumbai' or 'San Francisco'
currencyNoCurrency code, e.g. INR, USD, EUR. Defaults to USD. Use the currency the user mentions or infer from their location.
trip_daysNoNumber of days for the trip
destinationsYesJSON array: [{"name":"Goa","country":"India","tagline":"Sun, sand & seafood","budget_estimate":{"low":15000,"high":35000},"distance_km":590,"travel_options":{"flight":"1h 30m","train":"12h","drive":"10h"},"weather":{"temp_range":"25-33°C","condition":"Warm & sunny"},"best_months":["Nov","Dec","Jan","Feb"],"highlights":["Baga Beach","Old Goa churches","Dudhsagar Falls","Spice plantations"],"travel_style":["beach","food","nightlife"],"image_emoji":"🏖️"}, ...]
Behavior4/5

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

No annotations are provided, so the description carries full behavioral disclosure. It explains the interactive nature (user can select up to 2 destinations), the required structure of each destination (3-5 options, specific fields), and the fact that it's a preliminary step before a detailed itinerary. It does not mention edge cases or return behavior, but for a render/UI tool this is substantial coverage.

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?

The description is somewhat long but well structured: it leads with the main purpose, then details required fields and structure, then explains user interaction, and ends with usage guidance. Each sentence contributes meaningful information, though the destination field enumeration could be condensed by pointing to the schema example.

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?

For a tool with 6 parameters, a nested object structure (destinations), and no output schema, the description is fairly complete. It covers the overall purpose, when to use, the expected input structure, and the interactive behavior. It doesn't explain how the 'budget' parameter influences the view or what happens if insufficient data is provided, which are minor gaps given the schema descriptions.

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?

The schema already describes all 6 parameters with good coverage (100%). The description adds value by specifying that each destination must include a particular set of fields, that there should be 3-5 options, and that the user can select up to 2 for comparison. This goes beyond the schema's generic JSON array description and clarifies expected content and constraints.

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

Purpose5/5

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

The description clearly states the tool renders an interactive destination comparison view, using the specific verb 'render' and resource 'destination comparison view'. It distinguishes itself from sibling render_trip by explicitly saying to use this tool first for trip planning before committing to a detailed itinerary, and names render_trip as the follow-up.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Use this tool FIRST when a user asks about vacation/trip planning' and explicitly names the alternative (render_trip) that should be used later for detailed itineraries. This tells the agent exactly when to invoke this tool versus siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rushildharhakim/mcp-apps-starter-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server