Skip to main content
Glama

Get a share link for a trip

trip_share_link
Idempotent

Get a share link for one of the user's trips, so they can send it to the people they are planning or travelling with. Anyone who has the link can open the trip in a browser without a Tineo account; they see the itinerary, and private details such as a stay's street address are left out. A trip has one share link: calling this again returns the same link. Use it when the user asks to share a trip, send it to friends or family, or get a link for a group, including a trip of saved search results to compare. Without confirmed=true nothing is created: it returns what the link will do. Call with confirmed=true only after the user has asked for a share link for this trip. Give the user the link as a clickable link. For giving one existing Tineo friend view or edit access, use trip_sharing_set instead. Never show IDs to the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "trip_id": "<trip_id>"
    },
    "name": "trip_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
trip_idYesThe trip's ID from trips_list, trip_create or batch_segment_create.
confirmedNotrue creates or returns the link. Omit or false to preview without creating anything.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only establish that this writes, is idempotent, non-destructive and open-world; the description adds the substantive behavior: no link is created without confirmed=true, the call is idempotent (same link returned), recipients need no Tineo account, and private details like a stay's street address are withheld. These are non-obvious consequences an agent could not infer from the annotations.

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, then privacy, idempotency, usage, and the alternative, in a sensible order. It is long-ish for a two-parameter tool, but nearly every sentence carries decision-relevant information; the presentation instructions (clickable link, never show IDs) are the only mildly expendable parts.

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?

Covers everything an agent needs for a two-param tool with no output schema: what it returns conceptually, privacy guarantees, idempotency, the preview gate, and the sibling alternative. Nothing material is left to inference.

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; the description earns extra by explaining the semantic effect of confirmed (preview vs. actual creation) and the policy for when it may be set, plus tracing trip_id back to trips_list/trip_create/batch_segment_create. It stops short of adding format or validation detail beyond that.

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?

States a specific verb+resource (get a share link for a trip) and immediately scopes it: one link per trip, shareable with non-account holders. It explicitly distinguishes itself from trip_sharing_set, which handles per-friend access, so an agent can route correctly without opening sibling schemas.

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?

Gives concrete when-to-use triggers (user asks to share a trip, send it to friends/family, get a link for a group, compare saved search results) and a when-not/alternative (use trip_sharing_set for giving one existing friend view or edit access). It also states the confirmation protocol: call with confirmed=true only after the user has asked for a share link for this trip.

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