Skip to main content
Glama

Update an automation

update_task
Destructive

Change a Replo automation (scheduled task). Read it with get_task first: title, prompt and rrule are always replaced, so pass the current values for any the user isn't changing, and pass the current emoji too or it resets to ✨; omitting delivery keeps it. Pass scheduledAt, a future ISO time with the user's timezone offset, for the next run: without it the schedule restarts from now, which moves the time of day and leaves a one-time automation with no run. Confirm the change with the user before calling. For multi-step Replo work, read the replo skill (call skills with name "replo").

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": {
      "taskId": "<taskId>",
      "title": "<title>",
      "prompt": "<prompt>",
      "rrule": "<rrule>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiNoEmoji label used to visually group this task in the schedule UI.
rruleYesRRULE string for recurrence, such as FREQ=DAILY. Use FREQ=DAILY;COUNT=1 for one-time tasks.
titleYesShort human-readable title for the task.
promptYesThe exact prompt the task should run. This must be self-contained and executable without asking the user follow-up questions. Include any reasonable assumptions needed to complete the task, and do not include instructions like 'ask the user' or 'wait for clarification'.
taskIdYes
deliveryNoWhere each run's results go, e.g. { email: { recipients: ["me@brand.com"] } }. When the user wants results delivered, default to their own address. `{ email: { recipients: [] } }` turns email off; omitting it on update keeps the current delivery.
playbookIdNoId of the playbook this task is based on, when the user picked one; its sample email becomes the run's layout guideline.
scheduledAtNoISO 8601 date-time with an explicit timezone offset for the next run; the recurrence restarts from it. Must be in the future. Omit to restart the schedule from now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false) by disclosing the exact destructive mechanics: title/prompt/rrule are always replaced, emoji resets to ✨ if omitted, and omitting scheduledAt restarts the schedule from now and can leave a one-time automation with no run. That is precisely the information an agent needs to avoid data loss. Minor deduction only because the result/response of a successful update is not described.

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 ordered prerequisite → replacement semantics → schedule pitfall → confirmation. Every sentence carries operational content, though the dense clause stacking makes it harder to scan than a short bulleted structure would be.

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 an 8-parameter destructive mutation with nested delivery and no output schema, the description covers prerequisites, side effects, defaults, and confirmation requirements well. It stops short of stating what a successful call returns or how to verify the new schedule, which would complete the picture.

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 already 88%, yet the description still adds real meaning: which fields are full-replacement vs preserved-on-omit, the emoji reset default, that scheduledAt must be a future ISO time carrying the user's timezone offset, and that omitting delivery keeps current configuration. Only slight gap is not restating what taskId must reference.

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 ("Change a Replo automation (scheduled task)") and implicitly distinguishes itself from get_task/create_task/delete_task by naming the read sibling it depends on. An agent can immediately tell this is the mutation path for an existing task.

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 mandates reading state via get_task first, requires user confirmation before calling, and routes multi-step Replo work to the replo skill. It gives concrete when-to-use and how-to-prepare guidance rather than leaving sequencing to inference.

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