Skip to main content
Glama

wake_update

Destructive

Modify a pending wake-up in place without creating a new id. Change time, repeat, delay, interval or body so scheduled firings match your current needs.

Instructions

Edit a pending wake-up you own, in place, without minting a new id. Provide any subset of at, repeat, delay_seconds, body, repeat_every_seconds. A clock wake keeps its captured zone; changing at recomputes due_at, while changing repeat alone does not move it. delay_seconds is RELATIVE TO NOW, exactly as in wake_set: it moves the next fire time to now + delay_seconds. repeat_every_seconds only changes the interval used for firings AFTER this one; on its own it does not move the next fire time. Only a still-pending wake can be edited; use wake_get to read the result back. delay_seconds and repeat_every_seconds apply to interval wakes; at and repeat apply to clock wakes. An idle wake (from wake_when_idle) fires on watched-agent state and max_wait_seconds, so only body can be edited on one.

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": {
      "wake_id": "<wake_id>"
    },
    "name": "wake_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoNew local wall-clock time in HH:MM format for a clock wake.
bodyNo
repeatNoEnable a daily repeat on a clock wake.
wake_idYes
project_idNoDifferent project override. Use ONLY when the user explicitly asks for another project by name; otherwise stay in the current scope, even when results are empty.
delay_secondsNo
repeat_every_secondsNo

Output Schema

NameRequiredDescriptionDefault
due_atYes
updatedYes
wake_idYes
hive_noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.14.0
    • addedInput schema / properties / at
      Added value: +{
      +  "description": "New local wall-clock time in HH:MM format for a clock wake.",
      +  "type": "string"
      +}
    • addedInput schema / properties / repeat
      Added value: +{
      +  "description": "Enable a daily repeat on a clock wake.",
      +  "enum": [
      +    "daily"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.2.2
    • addedOutput schema / properties / hive_notice
      Added value: +{
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only flag this as a destructive, non-idempotent write; the description goes well beyond that by explaining ownership requirements, the pending-only constraint, and precisely which mutations move the next fire time versus which do not. The semantics of delay_seconds (relative to now, matching wake_set) and repeat_every_seconds (future firings only) are behavioral facts no annotation could convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and its distinguishing constraint are front-loaded in the first clause, followed by the editable field list, then the per-field mechanics. Every sentence carries non-redundant information; there is no filler or restatement of the name.

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 three wake-type branches, the description covers the semantics an agent needs, and the output schema handles return values. The remaining gap is what happens when the wake is not pending or not owned (error shape) and how project_id interacts with scoping, which the description leaves unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 43%, so the description must compensate, and it does: it adds meaning for at (recomputes due_at on a clock wake that keeps its captured zone), delay_seconds (relative to now), repeat_every_seconds (interval for subsequent firings only), and repeat, plus the subset-editing contract. Only project_id and wake_id are left to the schema, which documents them adequately.

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?

"Edit a pending wake-up you own, in place, without minting a new id" gives a specific verb (edit), a specific resource (pending wake-up), a scope (you own), and an explicit contrast with the create path. An agent can distinguish this from wake_set and wake_get without opening any 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?

It states the precondition ("Only a still-pending wake can be edited"), routes the agent to a sibling for verification ("use wake_get to read the result back"), and partitions usage by wake type: interval wakes take delay_seconds/repeat_every_seconds, clock wakes take at/repeat, idle wakes accept only body. That is explicit when-to-use and when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.