Skip to main content
Glama

Create a trip

create_trip

Create an empty trip with a name and, optionally, dates. Only needed to set up a trip before its bookings exist. To save a booking, use add_booking: it creates or finds the right trip by itself. To put bookings in a trip you create here, pass its id as trip_id, otherwise Plot may place them elsewhere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWhat to call the trip, e.g. 'Lisbon in October'.
end_dateNoLast day of the trip.
start_dateNoFirst day of the trip.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

The description adds useful behavioral context beyond the annotations: create_trip makes an empty trip, add_booking can create or find a trip automatically, and bookings may be placed elsewhere if trip_id is not provided. This gives agents a clear mental model of the side effects, though it does not cover duplicate-name or exact return behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences, front-loaded with the core purpose-read more. Every sentence earns its place: the core action, when it is needed, the sibling alternative, and the trip_id linkage behavior. No filler or repetition.

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 simple creation tool, the description covers the main workflow and integration with add_booking. It does not explicitly describe how the agent obtains the newly created trip id for passing as trip_id, but the tool is otherwise complete enough to invoke correctly.

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?

The input schema already provides 100% documentation coverage for name, start_date, and end_date, including format and example. The description adds only that dates are optional, which is already inferable from the schema's required list, so it does not significantly augment parameter semantics.

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 clearly states the tool creates an empty trip with a name and optional dates, making the verb and resource explicit. It also distinguishes itself from add_booking by noting it is only needed before bookings exist.

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?

The description explicitly says when to use this tool ('Only needed to set up a trip before its bookings exist') and names the alternative ('To save a booking, use add_booking'). It also explains the consequence of not passing the trip id, providing clear selection guidance.

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