Skip to main content
Glama

Parent: cancel tour

parent_cancel_tour
Destructive

Cancel a tour request you previously submitted.

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": {
      "tour_id": "<tour_id>"
    },
    "name": "parent_cancel_tour"
  }
}

Input Schema

NameRequiredDescriptionDefault
tour_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/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 risk is known from structured data. The description adds the ownership/prior-submission precondition, which annotations do not cover, but says nothing about irreversibility, whether the tour slot is freed, or what failure looks like.

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?

One short sentence, front-loaded with the verb and resource, with no redundant restatement of the title. Every word carries meaning.

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 one-parameter destructive mutation the annotations cover the safety profile, but the description leaves the sole parameter and the post-cancellation behavior unexplained. Adequate to pick the tool, thin on how to call it correctly.

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% and the single required parameter tour_id is undocumented anywhere. The description does not explain the identifier's format or where an agent obtains it (e.g., from parent_list_tours), so it fails to compensate for the schema gap.

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?

States a specific verb (cancel) and resource (tour request) with a scoping qualifier that distinguishes it from parent_request_tour. It is clear what the tool does, though it does not invoke any sibling by name.

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?

'previously submitted' implies the precondition that a tour request must already exist and belong to the caller, which is useful implied guidance. However, it does not say what to do if the request does not exist, whether cancellation is allowed after confirmation, or point to parent_request_tour as the way to create one.

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