Skip to main content
Glama

Get an invite link for a trip

trip_invite_link
Idempotent

Get an invite link for one of the user's trips, so they can text or share it to add people to the trip without knowing their email. Anyone who opens the link and signs in to Tineo joins the trip as a traveler (role edit by default, or view). A trip has one invite link: calling this again returns the same link. Use it whenever the user wants to invite, add or bring friends, family or a group onto a trip and has not given an email for each person, or asks for an invite or join link. Give the user the returned share line and the link exactly, with the link on its own line. For a read-only link that needs no account, use trip_share_link; for one person with a known email, traveler_add. 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_invite_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoWhat people who join can do. Omit to keep the existing link's role, or edit for a new link. Use view only when the user asks for view-only.
trip_idYesThe trip's ID from trips_list, trip_create or batch_segment_create.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations the description discloses the joiner's experience (anyone who opens the link and signs in joins as a traveler, role edit by default or view), the one-link-per-trip constraint, and idempotency semantics ('calling this again returns the same link'). It does not state what caller permissions are required to mint a link, which is notable for an openWorldHint, non-readOnly operation — that keeps it just short of a 5.

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 purpose and effect are front-loaded in the first two sentences, and the user-facing presentation instruction ('give the returned share line and the link exactly, with the link on its own line') earns its place given there is no output schema. It is a dense single paragraph but nearly every sentence carries distinct information.

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 no output schema, the description compensates by telling the agent what comes back (a share line plus link) and how to present it, and it covers link semantics, idempotency, role defaults, and sibling routing. Nothing an agent needs in order to call this correctly appears to be missing.

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%, so both parameters are already documented, including the role enum's default behavior. The description restates the edit-default versus view-only rule but adds no new syntax or constraint information beyond the schema, so the baseline 3 applies.

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 first clause gives a specific verb and resource ('Get an invite link for one of the user's trips') and immediately explains the effect of the link. It also names the two overlapping siblings (trip_share_link, traveler_add) and states the distinguishing condition, so an agent can separate this tool without opening any schema.

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?

Explicit when-to-use is given ('whenever the user wants to invite, add or bring friends... and has not given an email for each person'), plus explicit alternatives with conditions: trip_share_link for a read-only link needing no account, traveler_add for one known email. Exclusions and routing are both covered.

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