Skip to main content
Glama

Cancel series

cancel_series
Destructive

Cancels dates of a series, by the manageToken of one date. scope this cancels that date. scope this_and_following cancels it and each later date that is not over. Their times are free again and their calendar events are removed. Both sides get one email that lists the dates, with the reason if you give one. A paid series is refunded for the cancelled dates. For a date inside the cutoff of its cancelPolicy, the refund is less the host's late cancellation fee. A card saved for that fee is charged the fee. The person who booked gets an email that says what was refunded or charged. You cannot undo it, so confirm with your user first. Returns the whole series as it is now. Forbidden inside the host's cancellation cutoff: ask the host.

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": {
      "manage_token": "<manage_token>",
      "scope": "<scope>"
    },
    "name": "cancel_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesthis: only that date. this_and_following: that date and each later date.
reasonNoWhy, in one sentence. The other side sees it.
manage_tokenYesThe manageToken of one date of the series, which book returns, or its manage link …/b/{token}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Although annotations already flag destructiveHint=true, non-idempotent and openWorld, the description adds substantial consequence detail: slot times free up, calendar events removed, emails to both sides, refunds prorated with a host late-cancellation fee and possible card charge, and irreversibility. It also states the return shape ('the whole series as it is now'), which substitutes for the missing output schema.

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?

Front-loaded with purpose and scope semantics before the consequence chain, with no filler or marketing language. It is a dense run-on paragraph and the email consequences are restated twice (both-sides email, then booker's email about refund/charge), which costs a little tightness.

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

Completeness5/5

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

For an irreversible, multi-date destructive operation with no output schema, the description covers the essentials an agent needs: mutation semantics, per-scope effects, financial side effects, notification side effects, return value, and a hard prohibition zone. Little material is left for the agent to guess.

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 coverage is 100%, so scope, reason and manage_token are all already documented, including the manage-link/token origin. The description adds only marginal meaning beyond that — that the reason appears in the notification emails and is optional ('if you give one'), and that the token identifies one date of the series. Baseline 3 for a fully covered 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?

Opens with a specific verb and resource plus the exact identifier form: 'Cancels dates of a series, by the manageToken of one date.' The series scope (vs. sibling cancel_booking) is stated in the first clause, and the two scope modes are then defined, so the agent knows what class of object is affected without reading the schema.

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?

Gives a clear when-to-use split via the two scope values and an explicit when-not-to: forbidden inside the host's cancellation cutoff, where the agent should 'ask the host', plus a confirm-first instruction. It does not name cancel_booking as the alternative for single-date cases, so routing between siblings is left implicit.

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