Skip to main content
Glama

email_trip

Email continue_url (/s/{id}) to the verified account inbox. Requires OAuth trips scope. Rate-limited. Not a booking; you can share continue_url without emailing.

Input Schema

NameRequiredDescriptionDefault
emailNoOptional. Must match the verified OAuth account email if sent. The link is always sent to that account.
localeNoResponse language and site context. One of en, nl, da, sv.
trip_idYestrip_id from save_trip.
lastNameNoOptional salutation for the email body.
firstNameNoOptional salutation for the email body.

Output Schema

NameRequiredDescriptionDefault
urlNoLegacy alias of continue_url.
messageNo
successYes
trip_idNo
trip_urlNo
emailed_toNoVerified account inbox that received the email.
continue_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / emailed_to
      Added value: +{
      +  "description": "Verified account inbox that received the email.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / trip_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / trip_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "Legacy alias of continue_url.",
      +  "type": "string"
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / email / description
      Previous value: -"Optional. Must match the verified account email if sent. The link is always emailed to that account."New value: +"Optional. Must match the verified OAuth account email if sent. The link is always sent to that account."
    • addedInput schema / properties / firstName / description
      Added value: +"Optional salutation for the email body."
    • addedInput schema / properties / lastName / description
      Added value: +"Optional salutation for the email body."
    • addedInput schema / properties / locale / description
      Added value: +"Response language and site context. One of en, nl, da, sv."
    • addedInput schema / properties / locale / examples
      Added value: +[
      +  "en",
      +  "nl",
      +  "da",
      +  "sv"
      +]
    • addedInput schema / properties / trip_id / description
      Added value: +"trip_id from save_trip."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "continue_url": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "const": true
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-idempotent, open-world action, and the description adds real context: OAuth trips scope requirement, rate limiting, and that the link always goes to the verified account inbox regardless of the email field. It does not describe failure modes when the scope is missing, but the disclosure goes meaningfully beyond 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?

Four short, front-loaded sentences with no filler; the core action leads and constraints follow. The telegraphic '/s/{id}' and 'OAuth trips scope' phrasing is dense but still parseable, costing only a little 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 need no explanation here. For a 5-parameter, non-idempotent side-effecting tool, the description covers auth, rate limits, recipient constraint, and the non-booking caveat well; only error/retry behavior is left unaddressed.

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 the baseline is 3; the schema already documents email, locale, lastName, firstName and trip_id sources. The description adds only indirect meaning (the payload is continue_url, the inbox is the verified account) without clarifying parameter behavior beyond what the schema states.

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 ('Email continue_url (/s/{id}) to the verified account inbox') with the exact recipient and payload. An agent can distinguish this from siblings like save_trip or create_booking without opening any schema, and the '/s/{id}' detail pins the artifact being sent.

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?

Provides an explicit exclusion and a decision rule: 'Not a booking; you can share continue_url without emailing.' This tells the agent when not to call it and implies a no-email alternative workflow. It stops short of naming the specific sibling tool to use instead of emailing.

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