Skip to main content
Glama

Search itineraries

search_itineraries
Read-onlyIdempotent

Use this when someone describes the trip they want, such as "romantic weekend in October", "museums with kids", or "Christmas markets", and needs matching public itineraries across cities. Ranks by the words they used, who it is for, and season fit. Pass a city to stay in one city. Do not use it to create or save a trip; it only reads published guides.

Input Schema

NameRequiredDescriptionDefault
cityNoCity name or WonderKit city key, such as "Paris" or "paris-france".
limitNoHow many results to return, up to 8.
monthNoTravel month, 1-12. Boosts plans whose peak months include it. Wins over season.
queryNoWhat they want, in their words, such as "romantic weekend", "museums with kids", or "fall foliage". Plurals match singulars.
shapeNoday-plan for a day-by-day plan, places-guide for a themed list of places.
seasonNoSeason they are travelling in. "now" means the current month. Northern-hemisphere seasons.
audienceNoWho the plan is for: families, friends, or couples.

Output Schema

NameRequiredDescriptionDefault
cityNo
hintNo
noteYesRead-only reminder; not user content
foundNofalse when the lookup did not resolve
reasonNounknown_city, region_not_city, no_city_guide, no_itineraries_for_city, ambiguous_city, no_published_guide, no_matches, unknown_itinerary, lookup_failed, …
regionNoThe state, country, or area the city ask was read as
cityKeyNo
matchesNoCandidate cities when the name is ambiguous
nearestNoCovered cities in or near the asked-for area. Not the city that was asked for
planUrlNoGuest planner link for the destination as asked; it plans any city
rankedForNoThe month or season used for the season-fit ranking
truncatedNo
itinerariesNoBest match first
suggestionsNoNear-miss spellings, or same-name cities elsewhere, when the name is unknown
itinerariesUrlNoWonderKit itineraries for this city
planDescriptionNoOne line saying what planUrl opens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety and idempotency are covered. The description adds behavior the annotations don't: it ranks results by user words, audience, and season fit, and clarifies the scoping effect of passing a city. It still says nothing about result shape or fallback behavior when no match is found.

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

Conciseness5/5

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

Three tight sentences: the trigger scenario comes first, ranking behavior second, the exclusion last. Every sentence carries distinct information and nothing is repeated from the schema or annotations.

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

Completeness5/5

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

With an output schema present, return values need no explanation, and the annotations cover the safety profile. The description supplies what remains: trigger contexts, ranking logic, city scoping, and the create/save exclusion, leaving no practical gap for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, with all seven parameters documented including enum meanings ("now" means the current month) and the month-over-season precedence rule, so the schema carries the load. The description mostly echoes this ("Pass a city to stay in one city", "season fit") without adding syntax or format detail beyond the schema, which is the expected baseline-3 outcome.

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 description states a specific verb and resource -- searching matching public itineraries across cities -- and grounds it with concrete example queries ("romantic weekend in October", "Christmas markets"). It clearly marks itself as read-only published-guide retrieval, but it never distinguishes itself from near-name siblings like list_itineraries or get_itinerary, which an agent could plausibly confuse it with.

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?

It gives an explicit trigger condition ("when someone describes the trip they want...") plus a negative constraint ("Do not use it to create or save a trip; it only reads published guides"). However, it names no alternative sibling tools, so the agent gets when/when-not but no routing guidance against list_itineraries, get_itinerary, or find_activities.

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