Skip to main content
Glama

trigger_set

Destructive

Set a supported launch method on an inactive workflow copy. For schedule, edit its existing cron trigger with a five-part expression and timezone. For webhook, use an existing webhook trigger and return its URL. For manual, remove trigger nodes first. ERP events return not available. Set the trigger before saving and testing the first version. A clean real test activates it.

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": {
      "workflowId": "<workflowId>",
      "kind": "<kind>",
      "expectedVersion": "<expectedVersion>"
    },
    "name": "trigger_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
timezoneNo
workflowIdYes
cronExpressionNo
expectedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this mutates state; the description adds useful context that it must target an inactive workflow copy and that a real test is what activates the trigger. It does not disclose what happens to an existing trigger that gets replaced, whether the change is reversible, or how a stale expectedVersion manifests as an error.

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?

Short, front-loaded, and organized kind-by-kind with no filler. The telegraphic style occasionally hurts ('ERP events return not available' reads awkwardly and 'A clean real test activates it' is vague), but every sentence carries operational information.

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 destructive mutation with no output schema and zero schema description coverage, the description covers the workflow ordering and per-kind prerequisites reasonably well, and notes webhook returns a URL. It leaves out the version-mismatch failure mode, the fate of pre-existing triggers, and prerequisites such as permissions or the requirement that the workflow be inactive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it only partially delivers: it explains cronExpression as a five-part expression, gives timezone context, and enumerates the kind values. Two required parameters are never addressed — workflowId beyond the vague phrase 'inactive workflow copy', and expectedVersion, whose optimistic-concurrency purpose is completely unexplained.

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?

States a specific verb and resource — 'Set a supported launch method on an inactive workflow copy' — and then breaks the operation down by each enum value (schedule, webhook, manual, erp_event), including the notable exclusion that ERP events are not available. This makes it clearly distinct from siblings like trigger_list and trigger_options, which discover rather than set.

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 guidance per kind: edit existing cron with a five-part expression for schedule, reuse an existing webhook trigger for webhook, strip trigger nodes first for manual. It also sequences the operation ('Set the trigger before saving and testing the first version'). What's missing is routing to alternatives such as trigger_options for discovering supported kinds, and no guidance on what to do when the workflow is active rather than inactive.

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.