Skip to main content
Glama

Booking for agents

set_hours

Set an owner's weekly hours and date exceptions (wall-clock, in the owner's zone).

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": {
      "handle": "<handle>"
    },
    "name": "set_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYes
weeklyNoWall-clock ranges in the owner's zone, like {"mon": [["09:00", "17:00"]]}
exceptionsNoDates (YYYY-MM-DD) with other hours; an empty list closes the day

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does add one valuable fact — hours are wall-clock in the owner's zone — but it never says whether this replaces the entire weekly schedule, whether omitted `weekly`/`exceptions` are left untouched or cleared, or what happens on conflicting/overlapping ranges. For a schedule-mutating tool that omission is significant.

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?

One tight sentence, front-loaded with the verb and resource, with the important zone qualifier in parentheses. Nothing is wasted, though the brevity is partly under-specification rather than pure economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation with nested objects, no annotations, and no output schema, the definition covers the what and the timezone but not replace-vs-merge semantics, error conditions, or side effects. The well-annotated schema compensates partially, leaving a definition that is usable but thin.

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 67% and the nested `weekly`/`exceptions` fields are already well described with examples, so the baseline applies. The description reinforces the zone semantics but adds nothing about `handle` (the only required parameter, undescribed in the schema) or about the interaction between `weekly` and `exceptions`.

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?

A specific verb ("Set") plus a specific resource ("an owner's weekly hours and date exceptions") makes the tool's job unmistakable. It distinguishes itself implicitly from booking/blocking siblings by being about recurring availability, but it never names a sibling or states the boundary explicitly.

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

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no prerequisites (must the owner already exist? what happens if only `handle` is supplied?), and no mention of alternatives such as `set_busy` or `add_block` for one-off exceptions. An agent must infer everything about invocation context from the schema alone.

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