Skip to main content
Glama

MisarMail MCP Server

create_automation

Create an automation workflow from a trigger, saved as a paused draft. The API's create endpoint only accepts a name and trigger — it has no fields for workflow steps or starting active; configure the step sequence in the MisarMail dashboard's visual builder, and use toggle_automation to activate once reviewed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAutomation name
triggerYesEvent that starts the workflow
trigger_configNoTrigger parameters, e.g. { "tag": "trial" } for tag_added

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / active
      Removed value: -{
      -  "description": "Start active immediately (default false)",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / steps
      Removed value: -{
      -  "description": "Ordered workflow steps",
      -  "items": {
      -    "properties": {
      -      "delay_hours": {
      -        "description": "Hours to wait before this step",
      -        "type": "number"
      -      },
      -      "subject": {
      -        "description": "Subject for send_email steps",
      -        "type": "string"
      -      },
      -      "tag": {
      -        "description": "Tag for add_tag / remove_tag steps",
      -        "type": "string"
      -      },
      -      "template_id": {
      -        "description": "Template for send_email steps",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Step action",
      -        "enum": [
      -          "send_email",
      -          "wait",
      -          "add_tag",
      -          "remove_tag",
      -          "condition"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare it is a non-read-only, non-destructive, non-idempotent, open-world write, but the description adds the crucial behavioral detail those hints cannot: the created object is a paused draft, not a live workflow. It also discloses the API's reduced field surface and the required follow-up step (dashboard configuration, then toggle_automation).

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?

Two sentences, front-loaded with the core action and resulting state, with the limitation and next step in the second. Dense but nearly every clause carries decision-relevant information; a small amount of nesting makes it slightly heavier than strictly necessary.

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?

For a three-parameter mutation tool with no output schema and annotations already covering the safety profile, the description supplies everything missing: the resulting draft state, the fields that take effect, and the path to activation. Nothing an agent needs to call it correctly is absent.

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 description coverage is 100%, so the baseline is 3, and the description adds genuine meaning by clarifying that the create endpoint honors only name and trigger. That note slightly oversimplifies trigger_config, which the schema still exposes, so it is informative but not perfectly precise.

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 ('Create an automation workflow from a trigger') plus the resulting state ('saved as a paused draft'). It is immediately distinguishable from siblings like get_automation, list_automations, and toggle_automation, which the description explicitly names.

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 routes the agent precisely: create here, configure the step sequence in the MisarMail dashboard's visual builder, and use toggle_automation to activate once reviewed. It also states what this endpoint cannot do (no steps, no starting active), which is exactly the when-to-use/when-not 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.