Skip to main content
Glama

Cancel a booking

replo_bookings_cancel
DestructiveIdempotent

Cancel a confirmed booking, as the business does in the Forms app: Replo emails the person that it's cancelled, alerts the team, removes it from linked calendars and tells anyone waiting for that day that a time opened up. A past or already cancelled booking can't be cancelled. For multi-step Replo work, read the replo skill (call skills with name "replo").

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": {
      "projectId": "<projectId>",
      "bookingId": "<bookingId>"
    },
    "name": "replo_bookings_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookingIdYesThe booking's id
projectIdYesThe project that owns the forms, from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint, idempotentHint, and openWorldHint, but the description adds substantial context the annotations cannot convey: the customer email, team alert, calendar removal, and waitlist notification. It also states the precondition that past or cancelled bookings are rejected, which explains the idempotent-but-erroring behavior. It does not say whether the booking record is deleted or merely marked cancelled, or whether any of the side effects can be undone.

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-loads the action and its consequences, then the eligibility constraint, then the skill pointer. The side-effect list is longer than average but each item is a distinct consequence an agent should know before invoking a destructive operation; the skill pointer is a minor appendage.

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 destructive mutation with no output schema, the description covers side effects, eligibility, and escalation to the skill, which is nearly everything an agent needs. The remaining gap is the response shape and whether cancellation is reversible, which are minor given the annotations already flag destructiveness.

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 both required parameters are fully documented in the schema itself. The description adds no meaning beyond that, such as whether bookingId must reference a confirmed booking or what projectId scoping implies. Baseline 3 applies when the schema carries parameter semantics.

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?

States a specific verb and resource ('Cancel a confirmed booking') and scopes it to confirmed bookings, which cleanly separates it from replo_bookings_reschedule and replo_bookings_update. An agent can identify the operation without opening 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 an explicit when-not rule ('A past or already cancelled booking can't be cancelled') and notes the skill to read for multi-step Replo work. It stops short of naming the sibling to use instead when the goal is to move a booking rather than cancel it, so routing between cancel and reschedule 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