Skip to main content
Glama

Got a Plan Trip Planner

Remove a chosen hotel

clear_stay
Destructive

Removes the hotel saved for one stop of a trip, so the stop shows as not chosen again. It does not cancel any booking.

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>",
      "stay_key": "<stay_key>"
    },
    "name": "clear_stay"
  }
}

Input Schema

NameRequiredDescriptionDefault
trip_idYes
stay_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation profile is known. The description still adds real value beyond them: it specifies exactly what state is destroyed (the chosen hotel for a single stop, reverting that stop to 'not chosen') and explicitly bounds the blast radius by noting no booking is cancelled. It omits whether the call errors when no stay is chosen, or whether it is idempotent.

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?

Two short sentences with zero filler: the effect is front-loaded, followed by the clarifying consequence and the non-effect on bookings. Every clause earns its place.

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 simple two-parameter destructive tool with annotations covering safety and no output schema, the description is close to sufficient: it names the effect, the visible outcome and the booking caveat. The remaining gap is operational – how to source stay_key and what happens if nothing is currently chosen.

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 0%, so the description carries the full burden for both parameters and largely fails it. 'One stop of a trip' hints that trip_id and stay_key jointly identify the target, but neither the meaning of stay_key (which hotel option key, and how to obtain it) nor any format or validity detail is explained.

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 (removes) and a precisely scoped resource: the hotel saved for one stop of a trip. That is enough to distinguish it from choose_stay in the sibling list, but it never names or references the counterpart tool, so the differentiation is inferred 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 Guidelines3/5

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

Usage is implied by the scope ('one stop of a trip') and the caveat 'does not cancel any booking' implicitly steers agents away from expecting booking cancellation. However, there is no explicit when-to-use/when-not guidance, no mention of choose_stay as the inverse operation, and no prerequisites such as needing an existing chosen stay.

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.