Skip to main content
Glama
This connector has been deprecated

Duplicate listing. This is the same server as SimpleDock (ai.simpledock/simple-dock) (https://simpledock.ai/api/v1/mcp). Please use that listing instead.

Set weekly hours

set_weekly_hours
DestructiveIdempotent

Replace a location's hours for the listed days (days you leave out are unchanged; an empty windows list closes that day). A booking must fit entirely inside one window, so to offer fixed slots, make each window exactly one appointment long: 08:00–10:00 and 10:30–12:30 with a 2-hour type offer only 8:00 and 10:30. For one-off closures (holidays) use add_closed_dates instead. Returns the full location setup. Requires scope locations:write (Admin role).

Input Schema

NameRequiredDescriptionDefault
daysYesOne entry per day to replace; at least one.
locationIdYesLocation id, from list_locations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"One entry per day to replace; at least one."
    • addedInput schema / properties / locationId / description
      Added value: +"Location id, from list_locations."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (destructive/idempotent/not read-only), and the description adds context annotations cannot express: partial-replace semantics, the invariant that a booking must fit inside a single window, the return value ('full location setup'), and the required scope/role (locations:write, Admin).

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-loads the core replace behavior, then usage guidance, the alternative tool, return value, and auth requirement in a logical order with no filler. The fixed-slot example is dense but earns its place by clarifying a non-obvious window-sizing rule.

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 mutation tool with nested params, no output schema, and annotations covering safety, the description supplies everything else an agent needs: replace scope, window invariants, alternative tool, return value, and auth requirement.

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, but the description goes further by interpreting the windows/day semantics (empty list closes the day, window length constrains bookable slots) in a way the schema field descriptions alone do not convey. It does not add syntax details beyond what the schema already specifies.

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 ('Replace a location's hours for the listed days') and immediately clarifies replace semantics (omitted days unchanged, empty windows closes a day). It also distinguishes itself from the sibling add_closed_dates, so an agent can separate these without opening either schema.

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?

Explicitly routes one-off closures to add_closed_dates, and gives a concrete pattern for producing fixed slots via one-appointment-long windows. Both the when-to-use and the when-to-use-something-else conditions are stated, not inferred.

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