Skip to main content
Glama

Add a booking

add_booking

Save one booking to Plot: a flight, hotel, car rental, train/bus/ferry/transfer, or a plan (restaurant, activity or event). Fill in exactly one of flight, hotel, car_rental, transport or plan. A flight with several segments (a round trip, a connection) is ONE booking: send all its segments together. Works like forwarding a booking email: leave trip_id out and Plot puts it in the right trip, or starts one. If the confirmation code is already in Plot, that booking is updated rather than duplicated, and the result says matched_existing_booking. Without a confirmation code Plot cannot tell a repeat from a new booking, so check get_trip before sending one again. Times are local to where they happen, with no timezone. Leave out anything the traveler has not told you.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNo
hotelNo
flightNo
trip_idNoAdd to this trip. Omit it and Plot decides, exactly as it does for a forwarded booking email: it joins the trip these dates and places belong to, or starts a new one.
transportNo
car_rentalNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

The description reveals significant non-obvious behavior beyond the annotations: duplicate confirmation codes cause an update rather than a duplicate, the result reports matched_existing_booking, omitting trip_id lets Plot auto-assign or create a trip, times are local without timezone, and unconfirmed data should be omitted. These are exactly the side effects and conventions an agent needs to know.

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 dense and front-loaded, with the core action and category rule in the first sentence. Every sentence adds a distinct constraint. It is a single wall of text rather than scannable bullets, but for the complexity involved the length is justified and there is no filler.

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 complex nested-object write tool with no output schema, the description covers the most important operational behaviors: category exclusivity, trip assignment, dedup, timezone handling, and data fidelity. It is missing an explicit description of the full return shape (beyond the matched_existing_booking marker) and error cases, but the schema supplies required field details.

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 description coverage is only 17%, so the description must add semantic value, and it does: exact-one-of-category constraint, flight-segment grouping, trip_id omission behavior, and confirmation-code dedup semantics. It does not enumerate every field, but the schema's own nested property descriptions carry that weight, and the top-level inter-parameter rules are the critical missing piece.

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 opens with a specific verb and resource: 'Save one booking to Plot', then enumerates exactly which record types are accepted (flight, hotel, car rental, transport, plan). It clearly distinguishes this tool from create/update/get/list trip siblings by focusing on booking creation and even clarifies the dedup-to-update nuance.

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?

It gives explicit usage rules: 'Fill in exactly one of flight, hotel, car_rental, transport or plan' and instructs to send all flight segments together. It also names get_trip as a check before resending a booking without a confirmation code. However, it does not explicitly contrast add_booking with update_booking or state when not to use this tool.

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