Skip to main content
Glama

Vibe of the City

Add where the trip stays

set_trip_stay

Records where the group sleeps on a trip: a hotel, a flat, and the nights it covers when known. Only the trip's members see it; it places their plan's distances. Use it when the user says where they stay or asks to add it, and confirm the name first.

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_id": "<trip_id>",
      "name": "<name>"
    },
    "name": "set_trip_stay"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoFrom search_places, with lng.
lngNoFrom search_places, with lat.
nameYesThe stay's name, e.g. "Hotel María Cristina".
addressNoIts address, when known.
trip_idYesFrom list_my_trips.
check_in_dateNoThe first night, YYYY-MM-DD, when known — a trip with several stays needs it.
check_in_timeNoFrom when they can check in, HH:MM, only with check_in_date.
check_out_dateNoThe day they leave, YYYY-MM-DD, after check_in_date.
check_out_timeNoBy when they must check out, HH:MM, only with check_out_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a non-destructive mutation, and the description adds useful behavior: only trip members see the stay, it affects the plan's distances, and the name should be confirmed first. It does not explain duplicate handling, overwrite behavior, or required permissions beyond visibility.

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

Conciseness5/5

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

The description is three compact sentences that front-load the purpose, then visibility/effects, then usage guidance. There is no redundant wording, and each sentence contributes useful information.

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 nine-parameter mutation tool with no output schema, the description covers purpose, usage, visibility, and downstream effects. The schema supplies parameter details, but the description could say more about duplicate stays or update behavior when the same stay is recorded twice.

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 description coverage is 100%, so the schema already documents all nine parameters in detail. The description adds context about nights and confirming the name, but it does not add per-parameter meaning beyond what the schema provides; baseline 3 is appropriate.

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 gives a specific verb and resource: it "Records where the group sleeps on a trip," with concrete examples of stay types. It does not explicitly distinguish itself from the sibling where_to_stay, though the usage line implies this is for recording a known stay rather than recommending one.

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 clearly states when to use the tool: "when the user says where they stay or asks to add it," and adds the workflow instruction to "confirm the name first." It does not name alternatives or state when not to use it, so it falls short of full routing guidance.

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