Skip to main content
Glama

update_automation

Destructive

Update an automation by automationId: rename, change the summary, replace triggers/steps (same shapes as create_automation, validated against list_automation_nodes), set expiresAt, or change status. Replacing triggers or steps overwrites the rule's current graph. Steps and triggers that choose their operation only when the rule runs (mcp_call, composio_call, agent_step and run_code steps, and composio_event triggers) are refused here and nothing is saved; rules that need them are built in the FuseAI app. Status "active" starts or resumes the rule and clears its failure counter; an active rule then runs on its own whenever a trigger fires, each run costs credits, and its steps may add contacts to campaigns (which then email and message them), post to Slack or run the other steps it holds, including steps added in the FuseAI app that act in the user's connected apps. "paused", "draft" or "expired" stops the rule, and its queued runs and runs waiting on a wait step are cancelled when they come due. Only the rule's owner may edit it; on a teammate's rule the team's owner and admins may only change its status (403 AUTOMATION_ACCESS_DENIED otherwise).

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": {
      "automationId": "<automationId>"
    },
    "name": "update_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
stepsNo
statusNo
summaryNo
triggersNo
expiresAtNo
automationIdYes
compilerNotesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/openWorldHint annotations by disclosing that replacing triggers/steps overwrites the existing graph, that unsupported step types cause a total no-save rejection, and that 'active' triggers autonomous runs that cost credits, mutate campaigns, and act in the user's connected apps. It also documents the authorization model (owner-only; team owner/admins limited to status changes; 403 AUTOMATION_ACCESS_DENIED) and that pausing cancels queued and wait-blocked runs.

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?

Front-loaded with the operation and the field list before branching into consequences, which is the right ordering. It is a single dense paragraph, though, and the long status sentence stacking credits, campaign outreach, Slack posts, and app-side execution could be broken up for easier scanning without losing content.

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

Completeness4/5

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

For a destructive, owner-restricted mutation with 8 parameters and no output schema, the description covers the consequences, the failure modes, and the permission boundary an agent needs before calling. The only material omission is the undefined compilerNotes parameter; no output schema means return values need no explanation.

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?

With 0% schema description coverage, the description carries the burden and mostly succeeds: it maps automationId to the target rule, name to rename, summary, triggers/steps (deferring their shapes to create_automation and list_automation_nodes), expiresAt, and gives semantics for each status enum value. The gap is compilerNotes, which is never mentioned, and the nested step fields (match, forEach, runWhen, dependsOn) are only implicitly covered by the create_automation reference.

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?

Opens with a specific verb and resource ('Update an automation by automationId') and then enumerates exactly which mutations are supported: rename, summary, replace triggers/steps, expiresAt, status. It also names the related siblings (create_automation for shapes, list_automation_nodes for validation), so the agent can place it in the tool graph without opening the schema.

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?

Gives concrete when-to-use framing (rename, resummarize, replace graph, change status) and a real exclusion: rules needing mcp_call/composio_call/agent_step/run_code steps or composio_event triggers are refused here and must be built in the FuseAI app. It does not explicitly route to sibling operations like delete_automation or get_automation, so it stops just short of full alternative coverage.

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.