Skip to main content
Glama

create_automation

Define event-driven automation rules that execute actions like assignment, priority changes, comments, and task creation when conditions match, with built-in safety limits and no webhook required.

Instructions

Create an automation rule: when an event fires and all conditions match, run the actions in-process — no webhook receiver needed (admin only). Example: when a task labeled bug is created, assign it to an agent at priority 3. Safety: cascades are depth- and budget-capped, rules never react to tasks they created, and field mutations on tasks under a live claim are always skipped (comments are append-only and still allowed). Hosted API only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesShort human-readable rule name
eventYesEvent that triggers the rule
activeNoSet false to create the rule disabled
actionsYesActions to run in order
conditionsNoConditions, AND-combined; omit to match every event
Behavior5/5

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

With no annotations, the description fully covers behavioral traits: safety mechanisms like depth- and budget-capped cascades, no self-reactivity, skipping mutations on live claims, and allowing comments. It also notes admin-only restriction, providing a complete picture of the tool's behavior.

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 description is concise at five sentences, with a clear structure: purpose, example, safety notes. Every sentence adds value, and there is no redundancy.

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

Completeness3/5

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

While the description covers input and behavior well, it lacks information about the return value (e.g., the created automation object) since there is no output schema. Additional context like rate limits or prerequisites beyond 'admin only' is also missing, making it slightly incomplete for a create operation.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds an example and behavioral context but does not significantly enhance parameter meanings beyond the schema's detailed descriptions.

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?

The description clearly states 'Create an automation rule' and provides a concrete example. It distinguishes from sibling tools like list_automations, update_automation, delete_automation by focusing on creation, and differentiates from webhook tools by noting 'no webhook receiver needed'.

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?

The description explains when to use the tool: when an event fires and conditions match, with an example. It specifies 'admin only' and implies the alternative of webhooks for external triggers, though it doesn't explicitly name alternatives like 'create_webhook'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/delega-dev/delega-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server