Skip to main content
Glama

Create Participant Invite Link

invite_trip_participant
Destructive

Generate and return a SINGLE-USE invite token and link for an existing participant. With sendEmail=true the link is also emailed to the participant's address (on behalf of the guide or company); the result carries emailStatus. Without it, you share the link yourself. Params: id (trip uuid), participantId (uuid), sendEmail (boolean, optional).

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": {
      "id": "<id>",
      "participantId": "<participantId>"
    },
    "name": "invite_trip_participant"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
sendEmailNo
participantIdYes

Output Schema

NameRequiredDescriptionDefault
tokenNo
inviteUrlNo
emailStatusNoOne of: disabled, failed, sent, skipped, suppressed, no_email
participantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / sendEmail
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / emailStatus
      Added value: +{
      +  "description": "One of: disabled, failed, sent, skipped, suppressed, no_email",
      +  "type": "string"
      +}
    • addedOutput schema / properties / inviteUrl
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false; the description goes beyond them by disclosing that the token is SINGLE-USE, that email is sent on behalf of the guide or company, and that the result carries emailStatus. It does not explain the destructive aspect (e.g. whether issuing a new token invalidates prior links), which is the one annotation-adjacent gap.

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 key traits (single-use, existing participant, email side effect) are front-loaded and the three sentences carry no filler. The trailing 'Params:' recap is somewhat redundant with the schema but aids scanning.

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 need no explanation, and the description still flags emailStatus for the email path. For a non-idempotent mutation it leaves token lifetime/expiry and the effect on previously issued invites unstated, but nothing essential for correct invocation is missing.

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 description coverage is 0%, so the description must compensate, and it does: all three parameters are named with types (id = trip uuid, participantId = uuid, sendEmail = boolean, optional). It adds the behavioral meaning of sendEmail rather than merely repeating the schema, though it does not state a default for sendEmail.

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?

States a specific verb+resource ('Generate and return a SINGLE-USE invite token and link') scoped to 'an existing participant', which distinguishes it from add_trip_participant (creating a participant) and rotate_trip_join_link (trip-level link). It does not name an alternative explicitly, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives conditional guidance for the email path ('With sendEmail=true ... Without it, you share the link yourself'), which is genuinely useful. However, it never states when to choose this over sibling operations such as add_trip_participant or rotate_trip_join_link, nor any prerequisites (e.g. participant must already exist on the 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