Skip to main content
Glama

Check Connection Queue

check_connection_queue

Check the queued data count for a NiFi connection to verify it is empty before deletion.

Instructions

Queue depth of a connection. A connection must be empty before it can be deleted.

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": {
      "connection_id": "<connection_id>"
    },
    "name": "check_connection_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only inspection and adds a genuinely useful precondition (emptiness gates deletion), but says nothing about permissions, rate limits, or whether the depth is instantaneous or cumulative — a gap the output schema only partly offsets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with what is returned and followed by the operational constraint. Nothing is wasted, though the brevity edges toward under-specification rather than crisp economy.

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 single-parameter read tool with an output schema, the description covers purpose and the deletion precondition adequately. It leaves the sole parameter unexplained and does not state whether the result is a count, a list of queued items, or per-queue breakdowns beyond what the output schema supplies.

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?

There is one required parameter, connection_id, with 0% schema description coverage. The description never mentions it or its expected format, so it adds no meaning beyond the property name; the parameter is self-evident but undocumented.

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 names the specific resource and attribute: the queue depth of a connection, which is more precise than the title alone. It does not, however, distinguish this from siblings like get_connection_details or list_connections, which an agent could reasonably assume also surface queue information.

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?

The second sentence implies the primary use case: verify a connection is empty before attempting deletion. That is useful implied guidance, but no alternative tool is named and there is no explicit 'use this when' framing.

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