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

get_context

Read Node-RED context store data at global, flow, or node scope; omit the key to list all keys.

Instructions

Read context store data at global, flow, or node scope. Omit key to list all keys.

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": {
      "scope": "<scope>"
    },
    "name": "get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFlow or node ID (required for flow and node scope)
keyNoContext key to read. Omit to list all keys.
scopeYesContext scope to read from
storeNoOptional context store name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose the read-only nature and that omitting key switches to a list-all mode, which is useful beyond the schema, but says nothing about permissions, what the returned context values look like, or behavior when no context exists at the requested scope.

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 tight sentences with the scoping capability front-loaded and the key-omission rule second. Nothing is wasted and there is no filler.

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 four-parameter tool with no annotations and no output schema, the description covers purpose and the key parameter but leaves the shape of returned context data and the required id for flow/node scope to the schema. Adequate but not fully complete given the lack of structured behavioral signal.

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 baseline is 3, and the description adds a small amount by restating the key-omission semantics in prose, reinforcing the listing mode. It adds no meaning for scope or store beyond what the schema already documents.

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?

Names a specific verb (read) plus resource (context store data) and enumerates the three scopes it operates over, which separates it from siblings like get_flow_state and get_diagnostics. It stops short of explicitly contrasting itself with those siblings, so an agent must infer the boundary.

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 path for context data, and the second sentence clarifies the list-all-keys mode. There is no guidance on when to prefer this over get_flow_state or other state-reading siblings, and no exclusions or prerequisites.

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