Skip to main content
Glama

Create trip

create_trip

Create a Trip, the grouping of one out-of-town journey inside a project. It groups gigs on the project (primary_event_id carries the separate Buyout invoice) and existing project flights, hotel stays and rides; nothing is grouped by date or name. Read Trips back with list_project_travel kind=trips. Creates no expense or charge. Requires project-manager access. Runs on the first call; there is no confirmation step.

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": {
      "project_id": "<project_id>"
    },
    "name": "create_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNothe Trip name, for example "Napa weekend"
ride_idsNorides on covered gigs to put on the Trip
stay_idsNoids of the project hotel stays to put on the Trip: hotels[].id from list_project_travel
event_idsNogigs on this project the Trip covers
flight_idsNoids of the project flights to put on the Trip: flights[].id from list_project_travel
project_idYesproject id from list_projects, or a gig's project_id from get_event
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
primary_event_idNothe gig that carries the Buyout invoice; must be one of event_ids

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { project_id, trip_id, trip_name, trip_revision, project_name, currency, billing_event_id, gigs [{ event_id, title, event_date, end_date, is_billing }], travellers [{ user_id, user_name }], external_sources [{ id, source, external_id, external_status, traveller_label, cancelled_at }], buyouts [{ id, category, amount, currency, notes }] } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that no expense or charge is created, that project-manager access is required, and that the write takes effect on the first call with no confirmation step. Those are exactly the behavioral facts an agent needs before firing a non-idempotent mutation.

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?

Every sentence carries a distinct fact — definition, exclusions, read path, side effects, permission, execution semantics — with the core definition front-loaded and no repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation with an output schema and full schema documentation, the description covers the remaining unknowns: permissions, absence of financial side effects, no-confirmation execution, and the read counterpart. Nothing an agent needs to call it safely 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 coverage is 100%, so the baseline is 3, but the description adds real meaning: primary_event_id is explained as carrying the separate Buyout invoice, and the grouping semantics of the id arrays are clarified beyond bare field descriptions.

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 and resource ('Create a Trip') and then defines what a Trip actually is: the grouping of one out-of-town journey inside a project. It also enumerates what gets grouped (gigs, flights, stays, rides), which makes it distinguishable from generic event-creation siblings.

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?

Gives a clear read-back path ('list_project_travel kind=trips') and a prerequisite ('Requires project-manager access'), plus a negative scoping rule ('nothing is grouped by date or name'). It stops short of explicitly contrasting with siblings like map_brex_trip, but the when-to-use context is clear.

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.