Skip to main content
Glama

Create trip

trip_create

Create a new trip with explicit start_date and end_date (YYYY-MM-DD), covering its planned segments. Returns its ID; the authenticated user becomes the owner.

Input Schema

NameRequiredDescriptionDefault
titleYesTrip title MUST be a human-readable destination name (e.g. 'Barcelona', 'Tokyo & Kyoto (Oct 2026)'). DO NOT use hyphenated airport corridor codes (e.g. 'DAC-IST-BCN-IST-DAC-CXB'). If unsure, provide destination city name or leave generic.
end_dateYesTrip end date in YYYY-MM-DD format
start_dateYesTrip start date in YYYY-MM-DD format
descriptionNoOptional trip description or notes
destinationNoPrimary destination city or region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Optional trip description or notes",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With annotations already declaring readOnly=false, idempotent=false, destructive=false, and openWorld=false, the description adds useful context beyond them: it states the authenticated user becomes owner and that the new trip's ID is returned. It does not cover error conditions or uniqueness constraints, but it meaningfully supplements the safety 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?

The description is appropriately sized and front-loads the action. The second sentence efficiently covers the return value and ownership. However, 'covering its planned segments' is somewhat vague and does not clearly earn its place in the definition.

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?

For a 5-parameter creation tool with no output schema, the description adequately covers purpose, required date format, return value (ID), and ownership behavior. It leaves some edge cases unaddressed, such as date ordering rules or whether duplicate titles are allowed, but the schema carries field-level detail.

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 description repeats the YYYY-MM-DD date format already documented in the schema and does not add actionable meaning for title, description, or destination. 'Covering its planned segments' is vague and does not map to any parameter.

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 uses a specific verb+resource ('Create a new trip') and clearly distinguishes the operation from sibling tools like trip_update, trip_delete, trip_rename, trips_list, and trip_details. It also specifies the required date scope.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use guidance or alternatives to this tool. It implies creation by name and verb, but does not say when to use trip_create versus trip_update, trip_restore, or other trip management siblings.

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