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

get_flow_state

Check whether Node-RED flows are currently started or stopped by retrieving their runtime state; runtimeState must be enabled in Node-RED settings.

Instructions

Get the runtime state of Node-RED flows. Returns whether flows are currently started or stopped. Requires runtimeState to be enabled in Node-RED settings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_flow_state"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does deliver a genuinely non-obvious operational constraint: runtimeState must be enabled in Node-RED settings. That tells the agent to expect empty or failed results on misconfigured instances. It stops short of describing the failure mode explicitly (error vs. default value) or confirming the operation is read-only.

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 short sentences: what it does, what it returns, and the prerequisite. The return value and the configuration requirement are both front-loaded with no filler or restated title text.

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?

With no annotations, no output schema, and no parameters, the description must supply everything, and it covers purpose, return shape, and the enabling prerequisite. The only gap is behavior when runtimeState is disabled, which matters for interpreting an ambiguous response but is a minor omission for such a simple tool.

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?

The input schema has zero properties, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description correctly implies no inputs are needed to scope the query.

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 gives a specific verb and resource ("Get the runtime state of Node-RED flows") and explicitly states the returned value, so the agent knows exactly what information comes back. It does not distinguish itself from the obvious sibling set_flow_state, but the read-vs-write contrast is largely self-evident from the verb.

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?

Usage is only implied: an agent can infer this is the read counterpart used to check state before calling set_flow_state, but neither that sibling nor any when-to-use/when-not-to-use rule is stated. Since it is a zero-parameter getter, the practical risk of misuse is low, keeping this at minimum-viable rather than poor.

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