Skip to main content
Glama

Change booking hours

update_booking_hours
DestructiveIdempotent

Replace a booking-hours schedule: send its full weekly hours and date overrides, not just the change. Customers immediately see different times for every booking option that uses it; when any do, set apply_to_booking_options_in_use to true after the user agrees. 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": "<name>",
      "time_zone": "<time_zone>"
    },
    "name": "update_booking_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesA name the team will recognize, e.g. Test drive hours
time_zoneYesIANA time zone the hours are in, e.g. America/Chicago
weekly_hoursNoRegular weekly hours; add several entries for different days or split shifts
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.
date_overridesNoHolidays and special days; leave the times out to close that whole day
booking_hours_idYesBooking hours id from list_booking_hours
apply_to_booking_options_in_useNoMust be true to change a schedule booking options already use

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.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the customer-visible side effect (every booking option using the schedule immediately shows different times), the permission requirement, and a mandatory confirmation step. This is exactly the mutation-risk context destructiveHint alone cannot convey.

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?

Three dense sentences, front-loaded with the replacement semantics and side effect, with no filler. The middle sentence is somewhat convoluted ("Customers immediately see different times for every booking option that uses it; when any do...") and could be tighter.

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, open-world mutation with seven fully documented parameters and no output schema, the description covers replacement behavior, blast radius, permissions, and user-confirmation requirements. Nothing an agent needs to invoke it safely is missing.

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 adds real value by stressing that weekly hours and date overrides must be sent in full rather than as a delta, and by explaining the conditional use of apply_to_booking_options_in_use. The awkward "when any do" clause slightly blunts the instruction.

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 — replacing a booking-hours schedule — and immediately clarifies the key semantic distinction: it is a full replacement, not a partial edit. The phrase "Replace a booking-hours schedule" cleanly separates it from create/delete/list siblings without needing to name them.

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 operational guidance: set apply_to_booking_options_in_use after user agreement when in-use options are affected, requires admin or an authorized role, and confirm with the user before calling. It does not explicitly route the agent to create_booking_hours for new schedules, but the "Replace" framing implies existing schedules.

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