Skip to main content
Glama

Pan Urlop

update_travel_profile

DestructiveIdempotent

Zapisz nowe informacje o kliencie. Wywołuj za każdym razem, gdy klient poda skład, kierunek, wyżywienie, daty, lotnisko, typ pokoju, rok budowy/remontu, co ma być niezapomniane, budżet, preferencje lub wykluczenia. Nadpisuje podane pola, pozostałych nie rusza. ID katalogu (kierunek, pokój, lotnisko, board) ustala tool, nie model. „Dowolne lotnisko” to departureAirports {any:true}, nie pusta lista. Typ pokoju najpierw resolve_room_type. Rok hotelu najpierw resolve_hotel_year. Liczba gwiazdek to preferences.hotelStandard, nie hotelRating. Biura podróży nie zapisuj w operators — wołaj resolve_operator, i tylko gdy klient sam o to poprosi. Limit minut albo kilometrów transferu z lotniska zapisuje set_airport_transfer_limit, nie preferences. Plaża (offerBeach) i bagaż w cenie (baggage) są opcjonalne: zapisuj tylko gdy klient sam je poda, nie pytaj o nie. Dopóki experienceAsk=unasked, experience.any oraz experience z samych freeformNeeds są ignorowane — pytanie o niezapomniane musi paść w czacie. Tekst potrzeb od klienta zapisuj normalnie. Gdy absaCodes są już w sesji, sam tekst experience ich nie podmienia.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_travel_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardNoMandatory. Wyżywienie: {any:true} albo {options:['all-inclusive','half-board']}. Można kilka opcji.
datesNo
budgetNo
tripIdNoIdentyfikator wycieczki zwrócony przez poprzednie wywołanie. Pomiń tylko przy pierwszym wywołaniu w rozmowie.
baggageNoOpcjonalny filtr bagażu w cenie. Nie pytaj sam. {included:true} tylko z bagażem, {any:true} bez filtra, {clear:true} zdejmuje.
documentsNo
operatorsNoNie ustawiaj. Filtr biura podróży zapisuje resolve_operator. Pole zostaje dla formularza kryteriów.
roomTypesNoTypy i cechy pokoju z katalogu, z availableRoomTypes, np. pokój rodzinny, prywatny basen, widok na morze. swim-up / swimup = prywatny basen.
stageHintNo
travelersNo
exclusionsNo
experienceNoMandatory przed search. Co ma sprawić, że hotel i miejsce będą niezapomniane. Kod mapuje każdą potrzebę na atrybuty hotelowe katalogu i kody ABSA. Nie wymyślaj ID atrybutów.
offerBeachNoOpcjonalny filtr plaży. Nie pytaj sam. sand: any albo [sand, gravel]. entry: any albo [pier, shore, gentle]. {clear:true} zdejmuje filtr.
destinationNoMandatory. {any:true} gdy dowolnie. Konkretny kierunek najpierw resolve_destination — sam places bez ID nie odblokuje search.
preferencesNo
freeformNeedsNo
departureAirportsNoLotniska wylotu. {any:true} gdy klient mówi „Dowolne lotnisko” — bez filtra wylotu. Inaczej kody IATA z katalogu ofert, np. WAW, KRK, POZ, RZE. Mapuj miasto na kod. Pełna lista jest w get_travel_profile.availableDepartures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true; the description adds the crucial scope of that destructiveness – 'Nadpisuje podane pola, pozostałych nie rusza' – i.e. a partial merge, not a wholesale replace. It further discloses that catalog IDs are assigned by the tool and not the model, and that once absaCodes exist in the session plain experience text will not overwrite them. These are real behavioral constraints beyond the annotation flags.

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 call-trigger and overwrite semantics are front-loaded, followed by targeted routing rules, so an agent can act after the first two sentences. It is dense and runs as a single block of prose, but almost every sentence carries a distinct disambiguation rule rather than 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 17-parameter, deeply nested mutation tool with no output schema, the description covers what an agent must know to fill it correctly without triggering the wrong sibling tools. It does not describe the return value (the tripId referenced in the schema as coming from a previous call) or the meaning of stageHint, which is a minor gap given the overall coverage.

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?

With 17 parameters and only 53% schema description coverage, the description compensates well on the highest-risk ambiguities: 'Dowolne lotnisko' → {any:true} not an empty list, star rating belongs in preferences.hotelStandard not hotelRating, operators must not be set by this tool, transfer limits go to set_airport_transfer_limit, beach/baggage are optional-only. It leaves several parameters (stageHint, documents, travelers, exclusions, combine) entirely to the schema, so it is strong but not exhaustive.

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 opening sentence 'Zapisz nowe informacje o kliencie' plus the enumerated trigger list (skład, kierunek, wyżywienie, daty, lotnisko, budżet, preferencje…) makes it clear this writes/updates the travel profile criteria. It is a specific verb+resource and distinguishable from read-oriented siblings. It never explicitly names get_travel_profile as the read counterpart, so sibling differentiation is implicit rather than stated.

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?

It gives an explicit trigger ('Wywołuj za każdym razem, gdy klient poda…') and routes to concrete alternatives with conditions: resolve_room_type for room type, resolve_hotel_year for hotel year, resolve_operator for tour operators 'i tylko gdy klient sam o to poprosi', set_airport_transfer_limit for transfer minute/km limits. It also states exclusions – do not ask about offerBeach or baggage, only save them if volunteered – and a precondition for experience (experienceAsk must not be unasked).

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