Skip to main content
Glama

Create Hosting

tripsy_hostings_create

Create a Tripsy hosting. Use hostings for hotels and lodging rather than activities. Timed values are always UTC ISO-8601 timestamps; set timezone to the lodging location's local IANA timezone. MCP clients displaying hostings must convert UTC starts_at/ends_at values into the lodging timezone before formatting local date/time. Include name, address, latitude, longitude, starts_at, ends_at, timezone, and provider_reservation_code for provider-issued reservation, confirmation, or booking codes when known. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.

Input Schema

NameRequiredDescriptionDefault
dataNoOptional raw hosting fields. Prefer the typed top-level fields when possible; values here are merged first.
nameNoHotel or lodging name. Use hostings for lodging rather than activities.
priceNoOptional price.
addressNoFull lodging address for map display.
ends_atNoUTC ISO-8601 check-out timestamp when known, for example 2026-06-05T11:00:00Z. Timed values are always UTC; MCP clients must convert this value to the lodging timezone before displaying the local date/time.
trip_idYesTripsy trip id.
websiteNoOptional website URL.
currencyNoISO currency code for price, such as EUR or USD.
latitudeNoLodging latitude for map display.
timezoneNoLocal IANA timezone for the lodging location, such as Europe/Rome. MCP clients must use this timezone to convert UTC starts_at/ends_at values before displaying the lodging date/time.
longitudeNoLodging longitude for map display.
room_typeNoOptional room type.
starts_atNoUTC ISO-8601 check-in timestamp when known, for example 2026-06-01T14:00:00Z. Timed values are always UTC; MCP clients must convert this value to the lodging timezone before displaying the local date/time.
descriptionNoOptional lodging description.
room_numberNoOptional room number.
provider_reservation_codeNoProvider-issued reservation, confirmation, or booking code for this lodging, such as a hotel confirmation number.

Output Schema

NameRequiredDescriptionDefault
dataNoTripsy API response payload or tool-specific structured data.
summaryYesShort human-readable summary of the Tripsy operation result.
status_codeNoHTTP status code returned by the Tripsy API when the tool called the API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and destructiveHint=false; the description restates the closed-world scope in more concrete terms (authenticated user's Tripsy account and accessible trips) and adds the UTC-storage/local-timezone-display contract, which is genuine behavioral context. However it says nothing about duplicate handling, whether a failed required trip_id errors, or the precedence of the raw `data` object during merge.

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

Conciseness3/5

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

The opening and the activity-vs-lodging rule are well front-loaded, but the UTC/timezone display instruction is repeated in the description and again in three separate schema properties, and the 'Include name, address, ...' sentence is a verbatim echo of the schema. Roughly a third of the text could be cut without loss.

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?

With 16 parameters, a nested `data` object and an output schema, the description covers the essentials: what is created, the recommended field set, the timezone/UTC contract, and the account scope. The only substantive gaps are the `data` merge precedence (deferred entirely to the schema) and create-vs-update guidance, both minor given rich structured fields.

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 coverage is 100%, so the schema already documents all 16 parameters thoroughly, including UTC format and IANA timezone rules. The description's field list and UTC/timezone guidance largely duplicates those schema descriptions rather than adding new meaning, so the baseline of 3 applies.

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 ('Create a Tripsy hosting') and immediately distinguishes the resource from its nearest sibling domain ('Use hostings for hotels and lodging rather than activities'). An agent can distinguish this from tripsy_activities_create and tripsy_transportations_create without consulting schemas.

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 a clear creation context and an explicit domain-selection rule versus activities, plus a recommended field set for well-formed hostings. It does not state when to use tripsy_hostings_update instead of create for an already-existing lodging, so the create-vs-update boundary is left implicit.

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.