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

TableJSON 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
destinationNoPrimary destination city or region

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation/non-idempotent profile is covered structurally. The description adds genuinely new context beyond that: it states the return value (the new ID) and the ownership side effect ('the authenticated user becomes the owner'), which the agent could not derive from annotations alone.

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?

Two tight sentences with the core action front-loaded and no filler; the date format and return/ownership facts are packed into the second clause. Nothing is wasted, though it could be marginally tighter.

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?

There is no output schema, and the description compensates by naming the return value and the ownership effect. For a simple 4-parameter creation tool with full schema coverage and annotations, this is close to complete, with only edge cases (e.g., duplicate-trip behavior) 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 schema already specifies the YYYY-MM-DD format and gives the detailed title-naming rule. The description only restates the date format and adds no semantics for title or destination beyond what the schema provides, so the baseline of 3 applies.

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 and resource ('Create a new trip') with the required date fields, clearly separating it from sibling mutators like trip_update, trip_rename, and trip_delete. It does not name any sibling explicitly, so the agent must infer the boundary, keeping it just below 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?

Usage is only implied: the verb 'create' signals use for new trips rather than existing ones, and 'covering its planned segments' hints at post-creation flows. There is no explicit when-to-use, when-not, or pointer to trip_update / segment_create for the contrasting cases.

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