Skip to main content
Glama

List Connections

list_connections

Lists connections in a NiFi process group, including queue depth and relationship details, to help inspect flow topology.

Instructions

List connections of a process group with queue depth and relationships.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
process_group_idNoroot

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?

With no annotations supplied, the description carries the full behavioral burden. "List" implies a safe read, and mentioning queue depth and relationships hints at the response shape, but it does not state that omitting the id operates on the root group, nor anything about volume or ordering of results. It is minimally adequate rather than rich.

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?

One short sentence, front-loaded with the verb and resource, with no filler. "Relationships" is the only slightly vague term, but the sentence does not waste words.

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?

An output schema exists, so the return values need not be spelled out. However, for a tool whose only parameter is optional and defaults to root, leaving that default unexplained is a real gap in an otherwise complete definition.

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?

The single parameter has 0% schema description coverage, so the schema offers no meaning for process_group_id beyond its type and "root" default. The description partially compensates by framing it as "of a process group," but it never explains the default-to-root behavior, which is the one semantic detail an agent needs.

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?

"List connections of a process group" gives a specific verb plus resource with an explicit scope, and "with queue depth and relationships" signals the payload contents. It is clear on its own but never names a sibling such as get_connection_details or check_connection_queue, so the agent must infer the boundary between listing and inspecting.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus the many sibling listing tools (list_processors, list_input_ports) or the detail/queue-check tools. Usage is only implied by the phrase "of a process group"; nothing tells the agent what conditions favor this call or when it should not be used.

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