Skip to main content
Glama

task_save

Destructive

Create or update scheduled automations to email status digests or run plain-language AI agent instructions at hourly to monthly intervals, with optional time pinning and risky-action control.

Instructions

Create or update a scheduled automation. mode="digest" emails a status snapshot on a schedule (no API key needed). mode="autonomous" runs a plain-language instruction through the on-site AI agent on a schedule (requires an agent API key in settings) — e.g. "fulfil paid orders, restock flagged items, and publish any due draft posts". schedule: hourly|twicedaily|daily|weekly|monthly, with an optional run_hour (0-23, site time) to pin it to a time of day. Set allow_risky=true only if the task may perform destructive/financial actions (refunds, deletes, updates).

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": {
      "name": "<name>",
      "mode": "<mode>"
    },
    "name": "task_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
modeYesdigest
nameYes
notifyNo
enabledNo
run_hourNoPreferred hour of day (0-23, site timezone) for daily/weekly/monthly tasks — e.g. 7 for a 7am digest. Omit to run whenever the interval elapses.
scheduleNodaily
allow_riskyNo
instructionNoFor autonomous mode: what the agent should do each run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true, and the description adds materially: digest mode needs no credentials while autonomous mode requires an agent API key in settings, autonomous tasks execute plain-language instructions unattended on a schedule, and allow_risky gates destructive/financial actions. It does not say what an update does to an existing task or how failures are surfaced, but it substantially raises the agent's awareness of side effects beyond the annotation.

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

Conciseness3/5

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

Front-loaded with the core verb and mode distinctions, with an inline example that earns its place. But it is a dense three-sentence block mixing mode selection, schedule syntax, and risk gating without line structure, making the allow_risky condition easy to skim past.

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 9-parameter mutating tool with no output schema and only a destructiveHint annotation, the description covers the decision-critical pieces: which mode, what schedule, and when risk is permitted. Gaps remain around update behavior via id and the meaning of notify/enabled, but nothing that would cause a clearly wrong invocation given the degrees of freedom that matter.

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 description coverage is only 22%, so the description must compensate: it explains mode, schedule values, run_hour (site time, pin to hour of day) and allow_risky semantics well. However it is silent on id (how update-vs-create is selected), notify, and enabled, leaving roughly half the parameters with no explanation anywhere.

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 ('Create or update a scheduled automation') and then splits the resource into two concretely described variants (digest vs autonomous) with an example instruction. It is distinguishable from task_delete/task_list/task_run by name and action, though it never explicitly contrasts itself with those siblings.

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 clear selection guidance between the two modes (digest = no API key needed; autonomous = requires an agent API key in settings) and a conditional rule for allow_risky ('only if the task may perform destructive/financial actions'). It lacks any statement about when to use this versus task_run or task_list, so the guidance is contextual rather than exclusionary.

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