Skip to main content
Glama

Block time

block_time

Stop bookings for a period: a whole day or several days (date, until), part of a day (date with from/to), optionally for one staff member. Use for holidays, breaks, closures. Existing bookings in that time are listed, not cancelled.

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": {
      "site": "<site>",
      "date": "<date>"
    },
    "name": "block_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoHH:MM
dateYesYYYY-MM-DD
fromNoHH:MM; omit for the whole day
siteYesSite slug (e.g. "kopitiam-muar") or id
staffNoStaff key; omit for everyone
untilNoLast day, YYYY-MM-DD, for several days
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the bar is lower, and the description still adds real value by clarifying that existing bookings in the window are listed rather than cancelled — the single most important behavioral question for a blocking tool. It leaves open whether the returned list is a preview or a report, and whether overlapping blocks are allowed.

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 short sentences, front-loaded with the core action and the scope variants, ending with the critical side-effect caveat. The 'Use for holidays, breaks, closures' clause is slightly listy but still carries routing value; nothing else is wasted.

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 7-parameter mutation with no output schema, the definition covers scope modes, staff targeting, and the non-cancellation guarantee. Remaining gaps are small: the 'reason' field is unexplained and the response shape (does it return the affected bookings?) is only hinted at.

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 86%, so the schema already documents most parameters. The description goes beyond it by explaining how parameters combine: date+until for multi-day, date+from/to for partial day, staff for a single person. Only 'reason' has no semantics anywhere, a minor gap.

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?

States a specific verb and resource ('Stop bookings for a period') and immediately enumerates the two scope modes, whole-day/multi-day and partial-day. An agent can distinguish this from list_bookings or set_booking. It does not name the obvious inverse sibling unblock_time, so differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

'Use for holidays, breaks, closures' gives positive when-to-use context, which is more than many definitions offer. However there is no when-not guidance and no reference to alternatives such as unblock_time (to reverse) or update_booking (to move an existing booking).

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