Skip to main content
Glama

Get itinerary

get_itinerary
Read-onlyIdempotent

Use this when someone wants the full plan for one public itinerary, by its slug: day-by-day or themed stops with real venues and map links, rainy-day and where-to-eat sections, and the best season. Returns dayCount and stopCount (anchors plus backups; before 2026-09-28 stopCount held the day count), the page URL, and planUrl, which opens the WonderKit planner prefilled from this plan. Read-only; it cannot change a plan.

Input Schema

NameRequiredDescriptionDefault
cityYesCity name or WonderKit city key, such as "Paris" or "paris-france".
slugYesItinerary slug from list_itineraries or search_itineraries, such as "3-day-weekend-for-couples".

Output Schema

NameRequiredDescriptionDefault
urlNoWonderKit page to cite
cityNo
daysNo
hintNo
ledeNoOne-line promise of the plan
noteYesRead-only reminder; not user content
slugNo
foundNofalse when the lookup did not resolve
shapeNo
titleNo
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
seasonNo
cityKeyNo
matchesNoCandidate cities when the name is ambiguous
nearestNoCovered cities in or near the asked-for area. Not the city that was asked for
planUrlNoGive this to the person to plan this trip: the WonderKit planner prefilled from this itinerary
summaryNo
audienceNo
dayCountNo
imageUrlNoHero photo of the plan
sectionsNoRainy-day backups, where to eat, and similar
stopCountNoNamed stops (anchors plus backups), not days; see dayCount. Until 2026-09-28 this carried the day count
truncatedNo
markdownUrlNoThe same plan as Markdown
suggestionsNoNear-miss spellings, or same-name cities elsewhere, when the name is unknown
lastReviewedNo
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?

Annotations already declare read-only, idempotent, non-destructive, non-open-world behavior, so 'Read-only; it cannot change a plan' is largely redundant. However, the description adds genuine non-obvious context: the dayCount/stopCount semantics change before 2026-09-28, what stopCount counts (anchors plus backups), and that planUrl opens a prefilled planner.

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 usage trigger is front-loaded and each clause carries information, but the single dense sentence packs return-field details and a historical caveat into one block, making it heavier to scan than ideal. Nothing is padding, yet it could be split for readability.

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?

An output schema exists, so return values needn't be explained, yet the description still summarizes the key response fields and the planUrl behavior helpfully. Combined with the usage trigger and slug sourcing, an agent has everything needed to invoke it correctly.

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 coverage is 100%, and both parameters already document accepted forms and example values ('Paris' or 'paris-france'; '3-day-weekend-for-couples'). The description only reinforces that lookup is by slug without adding format or validation detail beyond the schema, so the baseline of 3 is appropriate.

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 states a specific verb and resource with scope: retrieve the full plan for one public itinerary keyed by slug. It enumerates what the plan contains (day-by-day or themed stops, venues, map links, rainy-day and where-to-eat sections, best season), which clearly separates it from list_itineraries and search_itineraries that return collections.

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 opens with an explicit trigger ('Use this when someone wants the full plan for one public itinerary, by its slug'), and the slug parameter points to list_itineraries or search_itineraries as the source of valid slugs. It never states when NOT to use it or names a true alternative for other needs, so it falls 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