Skip to main content
Glama

Set wake schedule

stack_set_wake_schedule
Destructive

Create a wake schedule, or replace one (schedule_id): a cron expression read in a time zone, with the task to wake the agent for. cron has five fields (minute hour day-of-month month day-of-week) or is @hourly, @daily, @weekly or @monthly; no schedule may fire more often than every 5 minutes, and at most 20 per agent. time_zone defaults to the agent's own. A fire missed while STACK was down wakes the agent once, not once per missed fire. Quiet hours and the rate limit apply as to any wake. A task is the owner's own words, or STACK's plain default for the source; nothing from the event is ever put into it. Operator only.

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": {
      "agent_id": "<agent_id>",
      "name": "<name>",
      "cron": "<cron>",
      "task": "<task>"
    },
    "name": "stack_set_wake_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
cronYesFive fields, or @hourly, @daily, @weekly, @monthly
nameYes
taskYes
enabledNo
agent_idYesAgent id (agt_*): any agent of the customer, with or without an agent account
time_zoneNoIANA zone; omit for the agent's own
schedule_idNoSchedule id (wsc_*) to replace; omit to create

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?

Beyond annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=false) the description discloses concrete operational limits — no schedule may fire more often than every 5 minutes, at most 20 per agent, quiet hours and rate limits apply as to any wake — plus the important recovery behavior that a fire missed while STACK was down wakes the agent once rather than per missed fire. It also explains task-content provenance ('nothing from the event is ever put into it'), which is not derivable from the schema. It stops short of saying what replacing an existing schedule does to its state or history, which is the main open question for a destructiveHint=true operation.

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?

The verb and the create/replace fork are front-loaded, and the dense run-on structure packs constraints without filler sentences. It does spend words restating cron syntax and the time_zone default that the schema already documents, which is the only meaningful redundancy.

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 description covers the risky parts: firing frequency limits, per-agent caps, time-zone defaulting, missed-fire behavior, and task content rules. Gaps remain on what enabled toggles, whether name is a display label, and what the call returns (e.g., the new wsc_* id), but nothing that would cause a mis-invocation.

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?

With only 57% schema coverage, the description carries real weight: it explains cron semantics and the 5-minute floor, the time_zone default to the agent's own zone, schedule_id as the replace switch, and unusually rich meaning for task (owner's own words or STACK's plain default, never event data). It adds nothing about name or enabled, leaving two parameters to the bare 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?

The description opens with a specific verb and resource ('Create a wake schedule, or replace one (schedule_id)') and immediately distinguishes the two modes by the schedule_id parameter. It does not, however, name or differentiate itself from nearby siblings like stack_set_wake_rule, so an agent must infer the schedule-vs-rule boundary from the tool name alone.

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?

Guidance is implied rather than explicit: 'or replace one (schedule_id)' tells the agent how to switch between create and update, and 'Operator only' states a prerequisite audience. There is no statement of when to prefer this over stack_set_wake_rule or how it relates to stack_set_wake_settings, and the operator-only restriction is asserted without explaining what happens to a non-operator caller.

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.