Skip to main content
Glama

Plan a booking hours change

plan_booking_hours_change
Read-only

Use this when the owner wants to take a day off, block a date, change the hours or days people can book them, the notice, the call length or their timezone. Change when people can book: take days off (block_dates) or give them back (unblock_dates), change a weekday's hours or close it (weekly), the notice a booking needs, how far ahead people can book, the call length (15, 30 or 60 minutes) or the timezone. Pass only what changes; a one-off day off is block_dates, never closing that weekday. Saves NOTHING: returns what changes, any bookings already on a day being blocked (they stay booked), and a change_token for apply_booking_hours_change. Apply only after the owner says yes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_booking_hours_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Leave out on your own account; required for platform-scoped keys.
weeklyNoWeekdays to change, e.g. { "fri": { "open": true, "start": "10:00", "end": "14:00" } } or { "sat": { "open": false } }.
timezoneNoAn IANA timezone like America/New_York.
block_datesNoWhole days off, YYYY-MM-DD in the account's timezone.
call_minutesNo
unblock_datesNoDays off to give back.
max_days_aheadNo
min_notice_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this read-only and non-destructive, and the description goes further by declaring what the call actually returns: the pending changes, any bookings already sitting on a day being blocked (they stay booked), and a change_token. The 'Saves NOTHING' framing makes the dry-run semantics unmistakable, which is exactly the context an agent needs before committing to the apply step.

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 the trigger and packed with useful detail, but the opening sentence and the 'Change when people can book:' sentence largely restate the same list, costing some density. Still, no sentence is filler and the ordering (trigger, semantics, return, gate) is logical.

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?

No output schema exists, but the description covers the return payload and the required follow-up step, so an agent can act without guessing. The only mild gap is that numeric bounds for notice hours and days-ahead live solely in the schema, though the description signals their intent.

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

Parameters5/5

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

With 63% schema coverage across 8 params, the description compensates by mapping each conceptual change to its parameter (weekly, block_dates, unblock_dates, min_notice_hours, max_days_ahead, call_minutes, timezone) and by stating the patch rule: pass only what changes. The block/unblock/weekly disambiguation adds meaning the schema alone cannot convey.

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 resource (booking hours) and enumerates the concrete changes it plans: days off, weekly hours, notice, max days ahead, call length, timezone. It is clearly distinguishable from the sibling pair apply_booking_hours_change and get_booking_hours by the plan/apply split it names explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with the trigger condition (owner wants a day off, a blocked date, changed hours/notice/call length/timezone) and names the alternative path by pointing at apply_booking_hours_change with the change_token. It also resolves the trickiest choice for an agent — a one-off day off is block_dates, never closing that weekday — and states the confirmation gate: apply only after the owner says yes.

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