Skip to main content
Glama
newen-systems

nifi-mcp

nifi_empty_queue

DestructiveIdempotent

Drops all FlowFiles queued on a NiFi connection, causing data loss. Use it before deleting a connection that still holds data.

Instructions

Drop every FlowFile on a connection. Data loss. Required before deleting a non-empty connection.

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.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds meaningful context beyond annotations: 'Data loss' (confirming severity) and the ordering dependency with connection deletion, which the annotations do not convey.

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 terse sentences, front-loaded with the destructive action and its consequence, with zero wasted words.

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 description covers the destructive consequence and the prerequisite workflow. Only the parameter's role is left unaddressed, a minor gap for a single obvious id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions the single required parameter connection_id, so it does not compensate for the undocumented schema. The parameter is fairly self-evident, but the description contributes no meaning about it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Drop') and resource ('every FlowFile on a connection'), making the effect unambiguous and clearly distinguishable from the read-only sibling nifi_list_queue. An agent knows exactly what this does without opening the schema.

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?

Adds a concrete prerequisite: 'Required before deleting a non-empty connection,' which tells the agent when this tool is part of a workflow. It doesn't name an explicit alternative, but the usage context is clear.

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