Skip to main content
Glama

Trigger Manage Tool

trigger_manage
Destructive

Manage event-driven trigger rules that evaluate conditions on signals and execute actions such as starting experiments or sending outbound messages. Supports list, create, update, delete, and dry-run test operations.

Instructions

Event-driven trigger rules — when-this-then-that automations that fire on signals or domain events. Rules evaluate conditions (expression-based) against the event payload and execute actions (start_experiment, send_outbound, etc.). test is a dry-run that returns whether the rule would have matched without executing actions.

Actions:

  • list (read) — optional: event filter, status filter.

  • get (read) — trigger_id.

  • create (write) — name, event (e.g. "signal.ingested"), conditions (array of expressions), actions (array of action specs).

  • update (write) — trigger_id + any creatable field.

  • delete (DESTRUCTIVE) — trigger_id. Future events stop matching this rule.

  • test (read — costs no credits) — trigger_id, sample payload. Returns matched (bool), action_preview (what would have run).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: list, create, update, delete, test
deadline_msNoOptional: max wall-clock time (ms) the tool may spend. If exceeded during the call, returns a DEADLINE_EXCEEDED error. Minimum 100 ms. Leave unset for no deadline.
statusNoFilter by status: active | paused
limitNoMax results (default 20, max 100)
nameYesDescriptive name for the rule
source_typeNoSignal source type to match (* = any). E.g. sentry, imap, telegram, rss*
project_idNoUUID of the project to trigger
conditionsNoConditions to match on signal payload. Keys are dot-notation field paths, values are {operator: value} objects. Operators: eq, neq, gte, lte, contains, not_contains, exists
input_mappingNoMap signal fields to project input_data. Keys are target fields, values are dot-notation source paths
cooldown_secondsNoSeconds between triggers (0 = no cooldown)
max_concurrentNoMax active runs before skipping trigger (-1 = unlimited)
rule_idYesUUID of the trigger rule
payloadNoSignal payload to test against. Use dot-notation to nest: {"metadata": {"severity": "error"}}
executeNoIf true, actually trigger the project run (default: false — dry run only)
Behavior3/5

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

Annotations include destructiveHint=true, and the description adds context that delete prevents future events from matching. It also notes that test costs no credits. However, it does not disclose other behaviors like rate limits, required permissions, or side effects beyond delete.

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?

The description is moderately long but well-structured with bullet points for actions. The first sentence clearly states the purpose. Every sentence adds value, but it could be slightly more concise without losing information.

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

Completeness2/5

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

The tool has 14 parameters and no output schema. The description explains what each action does but does not describe the return values or response structure. For example, it says 'list (read) — optional filters' but not what the list response contains. Given the complexity, more details on outputs are needed for completeness.

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%, so the schema already describes each parameter. The description adds little extra meaning beyond the schema descriptions. For example, the action parameter is explained in the description, but the schema also has a description. The baseline is 3 because the description does not significantly enhance parameter understanding.

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 clearly states that the tool manages event-driven trigger rules (when-this-then-that automations) and lists specific actions with brief explanations. It distinguishes itself from sibling tools by focusing on triggers and rules, not other management types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides some guidance on when to use each action (e.g., 'test is a dry-run') and notes that delete is destructive. However, it does not explicitly state when not to use the tool or compare it to alternatives like signal_manage or workflow_manage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/escapeboy/agent-fleet-o'

If you have feedback or need assistance with the MCP directory API, please join our Discord server