Skip to main content
Glama

add_travel_item

Add hotels, flights, trains, cars, or buses to a Zola Travel page with booking links, codes, addresses, and notes.

Instructions

Add a travel item (hotel, flight, train, car, bus) to the Travel page

Input Schema

NameRequiredDescriptionDefault
urlNoBooking link
cityNo
codeNoBooking code or group rate code
nameYesName of the hotel/airline/etc.
noteNoFree-text notes (e.g., booking code instructions)
typeYesTravel item type
sourceNoHow the address was sourced
address1No
address2No
latitudeNoDecimal degrees as string
timezoneNoe.g. America/New_York
longitudeNoDecimal degrees as string
postal_codeNo
country_codeNoDefault: US
display_orderNo
email_addressNo
contact_numberNo
state_provinceNo
google_place_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.4.2

TDQS

C2.7/5.0
Behavior2/5

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

Annotations supply openWorldHint=true and destructiveHint=false, so the description is not the sole carrier of the safety profile, but it adds nothing on top: no indication that this is a write that becomes visible on the public Travel page, no ordering/duplicate behavior, no validation rules, and no response description. For a creation tool with 19 fields this is a thin disclosure.

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?

A single front-loaded sentence with no filler. It is efficiently sized, though the brevity is partly the cause of the gaps elsewhere rather than a virtue earned by completeness.

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

Completeness2/5

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

For a 19-parameter creation tool with no output schema and only partial annotation coverage, the description omits everything an agent needs beyond the bare action: required-vs-optional intent, which address fields matter for which type (a HOTEL vs a FLIGHT), whether the item is published publicly, and what happens on duplicates. It is not adequate for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 53%, leaving roughly nine parameters (city, address1, address2, postal_code, display_order, email_address, contact_number, state_province, google_place_id) undocumented in both schema and description. The one thing the description does contribute – the list of item types – merely repeats the type enum already in the schema, so it adds no new meaning.

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?

The description states a specific verb (add) and resource (travel item) and enumerates the item categories, so an agent can tell it apart from list_travel_items, update_travel_item, and remove_travel_item by name alone. It stops short of explicitly naming those siblings or the parent resource (a wedding website's Travel page), which is the only thing keeping it from 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 Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites, and no routing to the alternatives (update_travel_item for existing entries, add_poi for non-travel places). The agent must infer usage entirely from the verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.