Skip to main content
Glama

Trigger Component

trigger_component

Sends data to a running flow's trigger component via webhook using the HTTP method the trigger expects; find the component ID with get_flow first.

Instructions

Send a webhook request that submits data to a trigger component of a running flow, using POST (default), PUT, PATCH or DELETE — match the method the flow's webhook trigger expects. Find the component ID with get_flow (include_descriptor=false lists components with their IDs). For triggers that expect GET, use read_component_trigger.

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body to send to the component.
methodNoHTTP method the webhook trigger listens on.POST
flow_idYesThe ID of the flow.
component_idYesThe ID of the component to trigger.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, and the description adds that the flow must be running and the HTTP method must match the trigger. However, it does not explain whether the call waits for completion, what response or errors look like, or whether repeated calls are idempotent, so behavioral disclosure remains limited beyond annotations.

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 tightly focused sentences front-load the action and follow with only the component-discovery and GET-alternative details needed to invoke it correctly. No redundant restatement of the schema.

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?

For a four-parameter, open-world trigger tool, the definition covers the critical invocation facts: the flow must be running, component_id discovery, method matching, and the GET alternative. Response behavior is unspecified, but the core information needed to call the tool correctly is present.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all four parameters. The description still adds meaning for method selection (POST default; match the trigger's method; GET goes elsewhere) and for locating component_id via get_flow, though it adds little about body beyond the schema's JSON object definition.

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 opening sentence states a specific verb (send a webhook request) and resource (trigger component of a running flow), and explicitly distinguishes the GET case by routing to read_component_trigger. It also names get_flow as the way to obtain component IDs, so an agent can select it without opening sibling schemas.

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?

Explicitly says to use this for POST (default), PUT, PATCH, DELETE and to use read_component_trigger when the trigger expects GET. It also gives the prerequisite that the flow must be running and tells how to find component_id via get_flow with include_descriptor=false.

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