Skip to main content
Glama
newen-systems

nifi-mcp

nifi_set_controller_service_state

Idempotent

Enable or disable a NiFi controller service. Stop all referencing processors before disabling it, then set the state to ENABLED or DISABLED by service ID.

Instructions

Enable or disable a controller service. Referencing processors must be stopped to disable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare idempotent=true and destructive=false, so the safety profile is covered. The description adds genuine behavioral context beyond that by disclosing the prerequisite that referencing processors must be stopped before disabling, which affects whether a call will succeed.

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, zero filler, with the core action front-loaded and the constraint immediately after. Every sentence earns its place.

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 annotations carrying the safety profile and an output schema present, the description need not explain return values. It covers the action and the key constraint adequately, though it could note the distinction from nifi_update_controller_service, which handles property changes rather than state.

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 description coverage is 0%, so the schema contributes nothing beyond titles. The description's enable/disable framing maps loosely onto the ENABLED/DISABLED enum, but it says nothing about the service_id or the nested params wrapper, leaving a gap that the self-explanatory enum partially offsets.

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 states a specific verb pair and resource — 'Enable or disable a controller service' — which immediately tells an agent this is a state toggle rather than a configuration change. It does not explicitly distinguish itself from nifi_update_controller_service, so it falls short of a 5.

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?

'Referencing processors must be stopped to disable' gives a concrete operational precondition for the disable path, which is real when-to-use guidance. It stops short of naming alternatives or stating when-not-to-use, so it is not a full 5.

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