Skip to main content
Glama
Node-RED MCP Server
by fx

trigger_inject

Fire a deployed Node-RED inject node with its configured values by providing the node ID, enabling workflows to start or test flows on demand.

Instructions

Trigger an inject node to fire with its configured values. The node must be a deployed inject node.

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": {
      "nodeId": "<nodeId>"
    },
    "name": "trigger_inject"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesID of the inject node to trigger

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the key trait that the node fires with its own configured values and must be deployed, but says nothing about downstream flow execution, whether the call is synchronous, what happens on an undeployed/unknown nodeId, or what a successful response looks like.

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?

Two short sentences, action first and precondition second, with no filler. Every clause earns its place and the most important information leads.

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

Completeness3/5

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

For a one-parameter, side-effecting trigger with no annotations and no output schema, the definition covers what the tool does and its precondition. It falls short on outcome and failure behavior, which an agent needs to know before firing a node that may execute an entire flow.

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?

There is a single required parameter with 100% schema description coverage ("ID of the inject node to trigger"), so the schema already does the work. The description adds no format details, discovery hint (e.g., where to obtain nodeId), or constraint beyond what the schema states.

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 pairs a specific verb ("trigger") with a specific resource ("inject node") and clarifies that it fires using the node's already-configured values. That is unambiguous and clearly different from flow/context/module-management siblings, though no sibling is named explicitly for contrast.

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 sentence "The node must be a deployed inject node" gives a real precondition for use, which is more than nothing. However, there is no explicit when-to-use versus when-not guidance and no pointer to alternatives (e.g., flow state or debug tools) if the node is not deployed.

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