Skip to main content
Glama

Got a Plan Trip Planner

Remove an activity from a trip

clear_activity
Destructive

Removes an activity saved on a trip with save_activity, by its place and name. 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>",
      "place": "<place>",
      "name": "<name>"
    },
    "name": "clear_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
placeYes
trip_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 safety profile is covered. The description adds real value beyond them by bounding the blast radius: 'It does not cancel any booking' tells the agent that downstream reservations survive, which is the single most important ambiguity for a destructive trip mutation. It still omits idempotency and not-found behavior.

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 sentences, zero filler, with the identification key and the non-effect on bookings front-loaded before any elaboration. Nothing redundant with the title or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, fully-required-parameter mutation with no output schema and 0% schema description coverage, the description resolves the biggest risk (bookings untouched) but leaves failure modes and the response/confirmation behavior unexplained. Enough to call it safely, not enough to predict the outcome.

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 0%, so the description must carry parameter meaning, and it does partially: 'by its place and name' reveals that place and name act as the composite identifier rather than free-form metadata, and 'saved on a trip' scopes trip_id. However trip_id's expected format/source and the role of the 1-120 / 1-80 length bounds are never discussed, leaving real semantic gaps.

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 names a specific verb+resource pair ('Removes an activity saved on a trip') and even ties it to the originating tool 'save_activity', so the inverse relationship is unambiguous. It stops short of naming the adjacent clear_flight/clear_stay siblings, so an agent must infer that 'activity' is a distinct item type from flights and stays.

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 naming save_activity as the counterpart (undo a save) and by specifying that identification is by place and name rather than by an ID. There is no explicit when-to-use/when-not-to-use statement and no mention of what to do if the activity is missing or if the trip contains duplicates with the same place and name.

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.