Skip to main content
Glama

Schedule an automation

create_automation

Use this when the user wants something done for them on a schedule — every day, on certain weekdays, or every few hours — e.g. 'every Monday at 9, summarise my sales sheet'. Creates a Xenition automation that runs on its own at those times, even when nobody is in this chat. Results appear in Xenition, and anything that would act in a connected app waits for the user's approval. Do not use for a one-off task now (use run_agent).

Input Schema

NameRequiredDescriptionDefault
daysNofor weekly: days like ['mon','thu']
nameYesa short name, e.g. 'Monday sales summary'
taskYeswhat the agent should do each time, in plain words — e.g. 'summarise last week's rows in my Sales sheet and draft an update'
timeNoHH:MM, 24-hour, for daily and weekly — e.g. '09:00'
agentNooptional agent slug from list_agents to run it; Xenition plans it otherwise
everyNofor every: an interval like '30m' or '6h' (15 minutes minimum)
timezoneNoIANA timezone for daily/weekly, e.g. 'Asia/Dhaka'; UTC if omitted
frequencyYesdaily, weekly or every

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
whenYes
enabledYes
openUrlNo
scheduleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare a non-destructive write, but the description adds real runtime behavior the annotations cannot convey: the automation runs unattended even when nobody is in the chat, results surface in Xenition, and connected-app actions are gated behind user approval.

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?

Front-loads the trigger condition, then the effect, then the exclusion — three sentences with no wasted wording. The example is embedded efficiently rather than listed separately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be described. For an 8-parameter creation tool the description still covers the essential who/when/where and the approval-safety model, so an agent has enough to call it correctly.

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 100% and each field is documented inline, so the schema carries the parameter semantics. The description only implies scheduling inputs indirectly through its example ('every Monday at 9'), adding little beyond the structured fields, making the baseline 3 appropriate.

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 ('Creates a Xenition automation') with a clear resource and scope (scheduled, recurring). It also distinguishes itself from the sibling run_agent without the agent needing to open a 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?

Opens with an explicit trigger condition ('when the user wants something done on a schedule') and includes a concrete example. It also names the exclusion and the alternative: 'Do not use for a one-off task now (use run_agent).'

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.