Skip to main content
Glama

Get Processor State

get_processor_state

Check a single NiFi processor's state (RUNNING, STOPPED, or DISABLED) by ID to quickly verify whether it is active, halted, or disabled.

Instructions

Quick state check (RUNNING / STOPPED / DISABLED) for one processor.

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": {
      "processor_id": "<processor_id>"
    },
    "name": "get_processor_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
processor_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 disclosure burden; it does convey that this is a lightweight introspection returning one of three enumerated states (RUNNING/STOPPED/DISABLED), which is genuinely useful. However, it does not state that the call is read-only/no side effects, nor anything about error behavior for unknown IDs, leaving the mutation/safety profile implicit.

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?

A single front-loaded sentence of about ten words with zero filler; the parenthetical enumeration of states is the highest-value information and appears early.

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?

An output schema exists, so return values need not be explained, and the tool is a simple one-parameter read. The remaining gap is identifier format and confirmation that the call is side-effect free, both minor for a state-check tool.

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 coverage is 0%, so the single parameter is documented only as 'string' with no format hints. The description partially compensates by clarifying cardinality ('one processor'), but it never says whether processor_id is a numeric ID, name, or UUID, leaving a real gap for invocation.

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?

States a specific verb+resource ('state check ... for one processor') and narrows scope to a single processor, which distinguishes it from the broader 'get_processor_details' sibling. It stops short of explicitly naming or contrasting that sibling, so it is clear but not fully differentiated in text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The word 'Quick' signals the intended context: use this when you only need status rather than full details, which implies the alternative (details) without spelling it out. It gives no explicit when-not conditions or prerequisite checks, keeping it below a 5.

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