Skip to main content
Glama

trigger_rule

Signed webhook rules that wake a Process instance (org admin). create returns the webhook path and a signing secret shown once. Sign {timestamp}.{delivery_id}.{body} with HMAC-SHA256 and send X-TeamShared-Timestamp, X-TeamShared-Delivery and X-TeamShared-Signature: v1=<hex>; a verified delivery appends trigger.fired to the run's timeline once per delivery id.

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": {
      "action": "<action>"
    },
    "name": "trigger_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRule name (create)
matchNoJSON pointer -> value the body must equal (create), max 10
actionYescreate | enable | disable | list
run_idNoFixed Process run UUID to wake (create)
sourceNowebhook (default), email or github (create)webhook
captureNoJSON pointers whose scalar values land on the timeline (max 10)
agent_idNoemail rules: only mail to this agent's inbox
trigger_idNoRule UUID (enable, disable)
github_repoNogithub rules: only this owner/name (optional)
run_id_pathNoJSON pointer in the body that holds the run id, e.g. /case/id
subject_tagNoemail rules: a subject containing [tag:<run uuid>] wakes that run
github_eventsNogithub rules: event.action names, e.g. pull_request.closed

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose valuable behavior for the create path: the secret is shown once, deliveries must be HMAC-SHA256 signed over ``{timestamp}.{delivery_id}.{body}``, the three required headers, and that a verified delivery appends ``trigger.fired`` once per delivery id (idempotency). That is strong for ``create``, but enable/disable/list behavior, error modes, and what the secret's loss implies are completely unaddressed.

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

Conciseness3/5

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

It is two dense run-on sentences with no filler, but the emphasis is misallocated: most of the text is the webhook-signing protocol (relevant to the receiver of a delivery, not to selecting or invoking the action), while the multi-action nature of ``action`` – the one required parameter – gets no sentence of its own.

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?

Given an output schema exists and param coverage is 100%, the description needn't explain return values or fields, and the protocol detail it does give is genuinely non-obvious. The remaining gap is that a 4-action, 12-parameter tool only describes one action, leaving enable/disable/list behavior undocumented anywhere.

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 description coverage is 100%, so the schema already documents all 12 parameters including ``match``, ``capture``, ``run_id_path``, and ``subject_tag``; the description adds no parameter-level detail beyond echoing that ``create`` returns a path and secret. Baseline 3 applies because the schema does the semantic work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource concretely ("Signed webhook rules that wake a Process instance") and scopes the audience with "(org admin)", plus it reveals that ``create`` yields a webhook path and a one-time signing secret. What it never states up front is that this is a polymorphic rule-management tool whose ``action`` may be create, enable, disable, or list – only ``create`` gets described, so the tool's full surface has to be inferred from 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 Guidelines2/5

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

There is no guidance on when to use this tool versus its siblings, nor when to pick each action; the only contextual hint is the "(org admin)" permission note. Nothing says what conditions call for ``enable``/``disable``/``list`` versus ``create``.

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.