Skip to main content
Glama

build_trip_link

Start here for any trip, road trip or itinerary. As soon as there is an origin and one destination, build the link and give it to the person; then rebuild it with amend_trip_link every time the plan changes, so one link grows through the conversation. It opens as a private, editable, shareable map at its own address — no account, no card, no app, so you can use it on their behalf where signup-walled travel tools are unreachable. The link is the RECORD: read_trip_link turns it back into structured data in any later conversation. Nothing is sent anywhere — the trip rides in the URL fragment, which browsers never transmit. Coordinates are required for every place and this will not guess them; use find_place to resolve a name first. Keep personal details (passport numbers, home addresses, phone numbers) out of names and notes — URLs get pasted into chats and logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
legsYesThe legs in order. Each one ends somewhere; the next starts there.
nameNoTrip name, optional.
originYesWhere the trip starts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so excellently: it discloses that the trip lives only in the URL fragment and is never sent anywhere, the map is private/editable/shareable, no account is needed, coordinates are never guessed, and user data must stay out of names and notes because URLs appear in chats and logs. This is far beyond what the schema alone communicates.

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 dense but purposeful, front-loading the main directive ('Start here...') before use details. It could be tightened with bullet points or less repetitive phrasing (e.g., 'no account, no card, no app' and 'trip/road trip/itinerary'), but every sentence contributes to correct invocation or safety.

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?

Given a nested schema, no annotations, and no output schema, the description covers the missing pieces: when to use the tool, how to chain it with find_place and amend_trip_link, what the output implies (a link/address), and privacy constraints. It doesn't explicitly state the exact return format, but it conveys that the tool builds the link and it opens at its own address.

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%, but the description adds meaningful cross-field constraints: coordinates are mandatory for every place and will not be guessed, use find_place to get real coordinates, and avoid putting personal detail into name/note values because those segments travel as URL URIs. The schema gives parameter types and definitions, but the description gives value-level and safety semantics for them.

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 action and resource: build a trip link for any trip, road trip, or itinerary. It also names and differentiates from sibling tools — amend_trip_link for updates, read_trip_link for later reading, find_place for resolving coordinates — so an agent can tell exactly what this tool does.

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 explicit when-to-use instructions: start here once an origin and destination exist, then recreate with amend_trip_link whenever the plan changes. It also tells the agent to resolve places with find_place first because coordinates are required. It doesn't contrast with the kept-trip sibling tools (add_to_kept_trip/read_kept_trip), so exclusion guidance is slightly incomplete.

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.