Skip to main content
Glama

Delete booking hours

delete_booking_hours
DestructiveIdempotent

Delete a booking-hours schedule. Cannot be undone. If booking options use it, it fails unless remove_from_booking_options is true, which puts them back on their hosts' own availability. Needs an admin, or a role allowed to change this. Ask the user to confirm before calling this tool.

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": {
      "booking_hours_id": "<booking_hours_id>"
    },
    "name": "delete_booking_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
booking_hours_idYesBooking hours id from list_booking_hours
remove_from_booking_optionsNoTrue to delete it even though booking options use it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructive=true, but the description goes well beyond them: irreversible deletion, the exact failure condition when booking options reference the schedule, the required permission level, and the side effect of resetting booking options to hosts' own availability. That is precisely the behavioral context an agent needs before a destructive call.

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?

Four short sentences, front-loaded with the destructive nature, then the failure branch, permission requirement, and the confirmation instruction last. No filler or repetition.

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 a destructive, permission-gated tool with no output schema, everything an agent needs is present: irreversibility, failure mode, escalation path, user-confirmation step, and side effects on dependent booking options.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description earns above that by explaining the consequence of remove_from_booking_options (booking options fall back to hosts' own availability), which the schema only states as 'true to delete it even though booking options use it'. workspace_id is left to the schema, which documents it well.

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?

Opens with a specific verb and resource: "Delete a booking-hours schedule." Unambiguous against siblings like update_booking_hours or list_booking_hours, though it never explicitly names an alternative or contrast case.

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 clear preconditions for invocation: confirm with the user, admin or equivalent role required, and an explicit branch on remove_from_booking_options. Lacks an explicit 'use update_booking_hours instead when...' routing line, which would be the only missing piece.

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