Skip to main content
Glama

Create automation

create_automation

Create an automation from a trigger and steps, naming tables and fields. It starts switched off unless enabled is true. Triggers: recordCreated, recordUpdated, recordMatches, schedule, dateReached, webhook, button. Steps run in order: createRecord, updateRecords, findRecords, http, email, branch (one level, with then and else). Templates: {{trigger.record.}}, {{trigger.record}} (the record, for link fields), {{trigger.body.}} (webhook), {{steps..records[0].}}, {{steps..count}}, {{steps..status}}, {{steps..body.}}, {{now}}, {{record.url}}.

Input Schema

NameRequiredDescriptionDefault
nameYes
stepsNo
baseIdYes
enabledNo
triggerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a non-readonly, non-destructive, non-idempotent, open-world write. The description adds a genuinely non-obvious behavioral fact not in the annotations: the automation is created switched off unless enabled is true. It does not cover side effects like whether it begins firing immediately or any permission requirements.

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?

A single compact paragraph where nearly every clause carries information — no filler or restatement of the name. Readability would improve if the trigger, step and template lists were separated rather than run together with colons and commas.

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?

For a deeply nested 5-parameter tool with no output schema, the description covers the enum domains and template syntax well but leaves meaningful gaps: what is returned on creation (an automation id?), how step fields map to step types (createRecord needs table+values, http needs url+method), and the branch one-level nesting constraint is mentioned but its then/else shape is not tied to the schema.

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?

Top-level schema coverage is 0%, so the description carries real weight: it defines the trigger taxonomy, the step taxonomy and ordering, the branch nesting limit, and a full template namespace ({{trigger.record.<Field>}}, {{steps.<id>.records[0].<Field>}}, {{now}}, etc.) that appears nowhere in the schema. It does not clarify baseId/name/enabled semantics beyond the default-off note, and it omits which fields each step type requires.

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?

Opens with a specific verb+resource ('Create an automation from a trigger and steps') and immediately names the two structural inputs. It enumerates every allowed trigger and step type, so an agent knows exactly what it is building. It stops short of naming update_automation/get_automation as the alternatives, so sibling differentiation relies on the tool name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides construction-level guidance (steps run in order, branch is one level deep with then/else, automations start disabled), which shapes correct invocation. However there is no explicit when-to-use/when-not guidance versus update_automation or list_automations, and no stated prerequisite that ai steps need a service id from list_ai_services.

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.