Skip to main content
Glama

Get Process Groups

get_process_groups

Lists direct child process groups of a specified group, defaulting to root, so you can browse NiFi flow hierarchy and locate nested process groups.

Instructions

List the direct child process groups of a group (default: root).

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": "get_process_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idNoroot

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden; it does establish that only immediate children are returned (not the full subtree) and what happens when no group is given. It says nothing about ordering, pagination, depth limits, or behavior when the group_id does not exist or is inaccessible.

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 compact sentence with the resource and the default front-loaded; no filler, nothing redundant, easy to scan.

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?

The output schema exists, so return values need not be explained, and the single optional parameter is covered. For a hierarchy-navigation tool, however, the description could do more (depth semantics, how to continue traversal, missing-group behavior) than the current one-liner.

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?

One parameter at 0% schema description coverage, so the description must compensate. It does identify the parameter's meaning as the parent group whose children are listed and states the default value 'root', but adds no format examples (ID vs. path vs. name) or invalid-input behavior.

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?

Names a specific verb ('List') and resource ('direct child process groups'), plus an explicit scope qualifier ('direct child') that distinguishes a one-level browse from a recursive walk. It does not name any sibling (e.g. get_root_process_group) to reinforce the distinction, keeping it 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 Guidelines2/5

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

Offers no when-to-use or when-not-to-use guidance and no named alternative such as get_root_process_group or search_flow. The parenthetical '(default: root)' hints at hierarchical traversal but is a parameter default, not usage guidance.

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