Skip to main content
Glama

Save trip to GeoTok

save_trip_to_geotok

Save a trip (hotel, sights, food spots — any places), plus the chosen flights and hotel, to GeoTok and get a public trip page. The page shows the flights and stay and every place on a map; opening it on an iPhone with the GeoTok app puts each place on the user's map, keeps the trip (flights, stay and day-by-day map) available offline, and the app reminds them when they are near one. Each item needs a name; lat/lng, address, kind, note and day are optional, and places without coordinates are looked up by name. Items must not contain personal details.

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": {
      "trip_name": "<trip_name>",
      "city": "<city>",
      "items": "<items>"
    },
    "name": "save_trip_to_geotok"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
itemsYes
bookingsNoFlights and hotels the user chose or booked in this chat; they are shown with the trip under 'Flights & stay' and kept offline in the GeoTok app. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip page is public; the user adds those privately in the app).
trip_nameYese.g. 'Lisbon long weekend'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / bookings / description
      Previous value: -"Flights and hotels the user chose or booked in this chat; they are shown with the trip under 'Flights & stay'. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip page is public)."New value: +"Flights and hotels the user chose or booked in this chat; they are shown with the trip under 'Flights & stay' and kept offline in the GeoTok app. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip page is public; the user adds those privately in the app)."
  2. Changed2 schema fields changed
    • removedInput schema / bookings
      Removed value: -{
      -  "description": "Flights and hotels the user chose or booked in this chat, so GeoTok keeps them with the trip for offline use. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip link is shareable; the user adds those privately in the app).",
      -  "items": {
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "airline": {
      -        "type": "string"
      -      },
      -      "arrive_at": {
      -        "description": "Local time, YYYY-MM-DDTHH:MM.",
      -        "type": "string"
      -      },
      -      "check_in": {
      -        "description": "YYYY-MM-DD.",
      -        "type": "string"
      -      },
      -      "check_out": {
      -        "description": "YYYY-MM-DD.",
      -        "type": "string"
      -      },
      -      "depart_at": {
      -        "description": "Local time, YYYY-MM-DDTHH:MM.",
      -        "type": "string"
      -      },
      -      "flight_number": {
      -        "description": "e.g. 'TP1015'.",
      -        "type": "string"
      -      },
      -      "from": {
      -        "description": "Departure airport/city.",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "enum": [
      -          "flight",
      -          "hotel",
      -          "transfer",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Hotel or transfer name.",
      -        "type": "string"
      -      },
      -      "note": {
      -        "type": "string"
      -      },
      -      "terminal": {
      -        "type": "string"
      -      },
      -      "to": {
      -        "description": "Arrival airport/city.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  "maxItems": 8,
      -  "type": "array"
      -}
    • addedInput schema / properties / bookings
      Added value: +{
      +  "description": "Flights and hotels the user chose or booked in this chat; they are shown with the trip under 'Flights & stay'. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip page is public).",
      +  "items": {
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "airline": {
      +        "type": "string"
      +      },
      +      "arrive_at": {
      +        "description": "Local time, YYYY-MM-DDTHH:MM.",
      +        "type": "string"
      +      },
      +      "check_in": {
      +        "description": "YYYY-MM-DD.",
      +        "type": "string"
      +      },
      +      "check_out": {
      +        "description": "YYYY-MM-DD.",
      +        "type": "string"
      +      },
      +      "depart_at": {
      +        "description": "Local time, YYYY-MM-DDTHH:MM.",
      +        "type": "string"
      +      },
      +      "flight_number": {
      +        "description": "e.g. 'TP1015'.",
      +        "type": "string"
      +      },
      +      "from": {
      +        "description": "Departure airport/city.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "flight",
      +          "hotel",
      +          "transfer",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Hotel or transfer name.",
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "terminal": {
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "Arrival airport/city.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / bookings
      Added value: +{
      +  "description": "Flights and hotels the user chose or booked in this chat, so GeoTok keeps them with the trip for offline use. Itinerary facts only — never confirmation codes, ticket numbers or traveller names (the trip link is shareable; the user adds those privately in the app).",
      +  "items": {
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "airline": {
      +        "type": "string"
      +      },
      +      "arrive_at": {
      +        "description": "Local time, YYYY-MM-DDTHH:MM.",
      +        "type": "string"
      +      },
      +      "check_in": {
      +        "description": "YYYY-MM-DD.",
      +        "type": "string"
      +      },
      +      "check_out": {
      +        "description": "YYYY-MM-DD.",
      +        "type": "string"
      +      },
      +      "depart_at": {
      +        "description": "Local time, YYYY-MM-DDTHH:MM.",
      +        "type": "string"
      +      },
      +      "flight_number": {
      +        "description": "e.g. 'TP1015'.",
      +        "type": "string"
      +      },
      +      "from": {
      +        "description": "Departure airport/city.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "flight",
      +          "hotel",
      +          "transfer",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Hotel or transfer name.",
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "terminal": {
      +        "type": "string"
      +      },
      +      "to": {
      +        "description": "Arrival airport/city.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the mutation and open-world profile; the description goes well beyond them by disclosing that the resulting page is public, that it is consumed offline and with proximity reminders on iPhone, and that coordinates are geocoded from names when lat/lng are absent. The privacy constraint ('must not contain personal details', no confirmation codes or traveller names) is exactly the kind of side-effect context an agent needs before writing.

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?

Two sentences, front-loaded with the outcome (public trip page) before the delivery mechanics and the optionality rules. Dense but nearly every clause carries information; the middle clause about the iPhone app is the one place it lingers.

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 four-parameter write tool with no output schema, the description covers what is created, what the page contains, and the constraints on content. It stops short of saying what the call returns (a URL or trip id) and does not warn that repeat calls produce duplicate trips, which matters given idempotentHint=false and is not stated.

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 only 50% schema description coverage, the description supplies meaning the schema lacks: it explains that only 'name' is mandatory per item, that lat/lng/address/kind/note/day are all optional, and that items without coordinates are resolved by name — a real behavioral fact that changes how an agent should populate the array. It does not explain the bookings item fields or the max sizes, but those are legible in the schema.

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 states a specific verb and resource — 'Save a trip ... to GeoTok and get a public trip page' — and enumerates what a trip contains (hotel, sights, food spots, plus flights). This clearly separates it from the sibling tools, which search or find things rather than persist a finished itinerary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The context of use is implied (after the user has chosen flights, hotel and places, save them here), and the description says bookings come from 'what the user chose or booked in this chat'. However, it never states when to call this versus continuing to search, nor when not to call it, and no alternative is named. A reader must infer the trigger condition.

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