Skip to main content
Glama

Remove Trigger

remove_trigger

Removing a flow node's on_enter enactment un-arms that node — prospects entering it no longer enact until you re-arm it with add_trigger. To stop it firing while keeping its authored content, pause it with update_trigger(status='paused') instead. Dict with success, agent_id, and next_run_at. Read the agent's surviving triggers via get_agent_details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trigger_idYesID of the trigger to remove (from the agent's trigger list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trigger_id / description
      Previous value: -"ID of the trigger to remove (from the task's trigger list)."New value: +"ID of the trigger to remove (from the agent's trigger list)."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the sparse annotations, the description discloses meaningful behavior: flow-node `on_enter` enactments un-arm, prospects stop enacting, re-arming is possible via `add_trigger`, and pausing is the non-destructive alternative. This adds substantial context not available from annotations alone and does not contradict them.

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?

The description is compact, well-structured with summary and returns sections, and every sentence earns its place. Behavioral nuances and the pause alternative are front-loaded without unnecessary 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 still explains the return dict contents (`success`, `agent_id`, `next_run_at`) and points to `get_agent_details` for reading surviving triggers. Edge cases like removing the last trigger are covered, making it complete for the operation.

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 describes `trigger_id` as 'ID of the trigger to remove (from the agent's trigger list).' The description only says 'by id,' adding no substantive meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 opens with a specific verb and resource: 'Delete one trigger from its agent by id.' It clearly distinguishes itself from siblings by contrasting with `add_trigger` and `update_trigger`, so an agent can tell which operation to invoke.

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 gives explicit usage context: the agent keeps running on remaining triggers, and removing the last trigger stops future firing. It also names an alternative condition directly: to stop firing while keeping content, use `update_trigger(status='paused')` instead.

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