Skip to main content
Glama

Create Automation From Template

automation_create_from_template

Copies a catalog template into the app, as Use this template does in the dashboard. Requires template_key, a template key from automations_catalog_get. Creates an inactive automation with the template's graph and, for each Send Email step, a new inactive email with Meridian's starter copy (subject, preview text and body) attached to that step. The agent supplies no body, and status, graph and design are refused. Each call makes a new copy: two calls make two copies. Returns the automation (with its graph, without any email body) and its emails, each with the node_id of its step. Activate the emails, then the automation, in the Meridian dashboard. Left to choose: a segment (crm_segments_list, then automation_update), a custom field (custom_fields_list), a Slack channel and a usage view (dashboard). Takes the app_id returned by apps_list.

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": {
      "app_id": "<app_id>",
      "template_key": "<template_key>"
    },
    "name": "automation_create_from_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe app this call works on: its `app_id` uuid from `apps_list`.
template_keyYesWhich starter template to copy, by its `key` in `automations_catalog_get`.
organization_idNoAn organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / app_id / description
      Previous value: -"The app uuid returned by `apps_list`."New value: +"The app this call works on: its `app_id` uuid from `apps_list`."
    • changedInput schema / properties / template_key / description
      Previous value: -"Template `key` from automations_catalog_get."New value: +"Which starter template to copy, by its `key` in `automations_catalog_get`."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses that results are inactive, that each call produces a fresh copy ('two calls make two copies', reinforcing idempotentHint=false with concrete consequence), that the agent supplies no email body, and which parameters are rejected. It also describes the return payload shape (automation graph without email bodies, plus emails with node_id), which the annotations cannot convey.

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?

The core behavior is front-loaded in the first two sentences and the prerequisite sourcing follows immediately. It is longer than typical, and the mid-paragraph activation instruction plus the 'Left to choose' fragment interrupt the flow, but nearly every clause carries operational information rather than filler.

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 no output schema, the description takes on the burden of describing returns and does so (automation with graph but no email bodies, emails keyed by node_id). Combined with the activation order, refused parameters and gap-filling tools, nothing essential for a correct first call is missing.

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, but the description adds real meaning about template_key's origin and the copy semantics of the enum values, and it corrects any assumption that email copy is agent-supplied. It does not explain organization_id's slug-vs-uuid behavior in prose, leaving that entirely to the schema, which keeps it just short of full marks.

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 states a specific verb and resource ('Copies a catalog template into the app') and immediately pins down the produced artifacts: one inactive automation plus one inactive email per Send Email step. It also implicitly separates itself from automation_create by saying 'status', 'graph' and 'design' are refused, so an agent knows this is a template-only entry point.

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?

It names the prerequisite sources ('a template `key` from automations_catalog_get', 'the `app_id` returned by `apps_list`') and spells out the required follow-up sequence: activate the emails, then the automation, in the dashboard. It even enumerates what remains unset and which tools fill those gaps (crm_segments_list then automation_update, custom_fields_list, dashboard), which is exactly the routing guidance an agent needs.

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