Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Lunacal. If you published it, claim ownership there.

Update schedule

update_schedule
DestructiveIdempotent

Update a weekly availability schedule. Pass only the fields to change. schedule is a 7-element array indexed 0–6 for Sunday–Saturday. Each element is an array of time ranges with start and end in HH:mm format (e.g. {start: '09:00', end: '17:00'}). An empty array means no availability that day. Confirm with the user before calling — this changes when bookings can be made on linked event types.

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": {
      "scheduleId": "<scheduleId>"
    },
    "name": "update_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSchedule display name
scheduleNoWeekly hours: 7-element array [Sun, Mon, Tue, Wed, Thu, Fri, Sat]. Each day is an array of {start, end} in HH:mm. Example: [[], [{"start":"09:00","end":"17:00"}], ...] sets Monday 9am–5pm, Sunday off.
timeZoneNoIANA timezone, e.g. America/New_York
isDefaultNoSet as the user's default schedule
scheduleIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds valuable impact context — that availability changes affect when bookings can be made on linked event types — and a confirmation requirement, but says nothing about what happens to existing bookings or how default-schedule changes interact with other schedules.

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 purpose, then format, then the caution. Sentences are tight, though the time-range format example partially duplicates the schema and could be trimmed. No filler.

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 destructive mutation tool with no output schema, the description covers format and impact but omits what the call returns and how existing bookings on linked event types are affected by shrinking hours. Adequate but leaves real gaps an agent might need.

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 80%, so the baseline is 3. The description explains the schedule array structure and the empty-array meaning, but those details largely restate the schema's own description; the one genuinely additive point is the partial-update instruction. name, timeZone, and isDefault are left entirely to the schema.

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 ('Update a weekly availability schedule'), which is clearly distinguishable from siblings like list_schedules or update_event_type. It stops short of explicitly naming the sibling it contrasts with, but an agent can identify the operation from the sentence alone.

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 concrete usage guidance: 'Pass only the fields to change' establishes partial-update semantics, and 'Confirm with the user before calling' sets a precondition. It does not explicitly compare against alternatives such as update_event_type, but the context of when to reach for this tool is clear.

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