Skip to main content
Glama

Pause or resume a trigger

pause_trigger

Pause a trigger (its schedule and webhook stop starting runs; it stays saved) or resume it with paused=false. Resuming also resets the failure counter of a trigger that paused itself after failed runs. A trigger paused by support cannot be resumed here.

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": {
      "trigger_id": "<trigger_id>"
    },
    "name": "pause_trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
pausedNotrue (default) pauses, false resumes.
trigger_idYesTrigger ID (trg_…).

Output Schema

NameRequiredDescriptionDefault
idYesTrigger ID.
statusYesStatus after the call: paused or active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial non-obvious behavior beyond the annotations: pause stops the schedule and webhook from starting new runs while the trigger stays saved, and resume also clears the failure counter of a self-paused trigger. The support-locked exception is disclosed, which an agent could not infer from readOnlyHint=false/destructiveHint=false alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: primary action first, then the resume side effect, then the exception. No filler and nothing repeated.

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?

An output schema exists, so return values need no explanation, and the state semantics and failure-counter reset cover the important behavioral surface. It leaves only minor details like whether an in-flight run is interrupted, which 'stop starting runs' largely implies.

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

Parameters3/5

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

Schema coverage is 100% and the schema already documents both trigger_id format and the paused default/false-means-resume semantics, so the description's restatement of paused=false adds little. Baseline 3 applies since the structured fields do the work.

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 specific verbs (pause/resume) and the exact resource (a trigger), and covers both modes of the single tool rather than one. An agent can distinguish this from pause_sandbox/resume_sandbox purely on the resource named.

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 the switch condition explicitly ('resume it with paused=false') and a clear when-not ('A trigger paused by support cannot be resumed here'). It does not route the agent to any alternative tool, but with only two distinct resources in play the remaining ambiguity is small.

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