Skip to main content
Glama

Automation Save

automation_save

Create an automation for the hosted agent, or replace one (give its id). When the owner asks for it — a hosted agent also builds one when the owner asks for anything recurring (a regular report, a check on a schedule, handling of certain e-mails), or after they said yes to its offer. A trigger starts it — manual, schedule (every 15m/30m/1h/3h/6h/12h/1d/1w, at HH:MM, day mon–sun, Prague time) or mail (a connected mailbox, optional from/subject filters, attachments) — then steps run in list order unless next says otherwise (null ends). Each step: type "step" with a short name and description (what should happen, in plain words — the agent then does it with its skills and connections); type "condition" with name and a yes/no question, going on along yes / no (step ids or null); type "send" with an optional message — what to post, in plain words ("a short report of the numbers, a few emojis"): the agent writes the post from the steps before, a finished text it posts as it is; empty = the previous step's answer as it is, posted where the agent writes on its own (the chat it was last talked to in) — to post into a particular channel, say so in a step instead ("post the summary to #ops"). Ids are yours (e.g. "save", "notify"). enabled switches it on (only when nothing is missing). Returns the id, the editor link and what is missing.

Input Schema

NameRequiredDescriptionDefault
idNoThe automation to replace; leave out to create one.
nameYesA short name, e.g. "Incoming invoices".
agentNoYour hosted agent's name, when you have several (a hosted agent leaves it out).
stepsYesThe steps, in order.
enabledNoSwitch it on (true) or off (false); left out keeps it as it is (a new one starts off).
triggerYesWhat starts it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / steps / items / properties / message / description
      Previous value: -"send: the text; empty posts the previous step's answer."New value: +"send: what to post — a brief the agent writes the message from, or a finished text; empty posts the previous step's answer as it is."
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it enumerates trigger types, exact schedule intervals, the Prague time zone, step execution order and `next` null semantics, the three step types, what `message` means, that ids are user-authored, and what the call returns (id, editor link, what's missing). This is far beyond the schema's structural hints.

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?

It is front-loaded with the create/replace action, then usage, then mechanics, and nearly every clause carries distinct information. The prose is dense and run-on with stacked parentheticals, which costs it clarity, but the length is defensible for a nested schema of this complexity.

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?

No output schema exists, and the description compensates by saying it returns the id, editor link, and what is missing. It covers trigger, steps, and enablement well; the `agent` parameter's role is left to the schema, a minor gap for such a broad tool.

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 100%, so the baseline is 3; the description still adds meaning beyond it, notably the Prague-time schedule convention, the allowed cadence list, and the plain-words semantics of a 'send' step's message (brief vs finished text vs empty). Some fields like `agent` are only explained in the schema, holding it at 4.

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 opening sentence states a precise verb and resource ('Create an automation... or replace one (give its id)'), clearly separating the create and update paths. It does not explicitly name sibling tools like automation_enable or automation_run, but the create/replace framing makes the scope unambiguous.

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?

It gives concrete triggering conditions for when to use it ('the owner asks for it', 'anything recurring... or after they said yes to its offer'), which is strong context. It stops short of naming an alternative tool to use instead, so it lacks the explicit when-not/alternative routing of a 5.

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