Skip to main content
Glama

Get Root Process Group

get_root_process_group

Retrieve the NiFi root process group ID and a summary of its contents to locate the top-level flow context for inspection, building, or operations.

Instructions

Root process group id plus a summary of what it contains.

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_root_process_group"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description bears the full disclosure burden; it does indicate the tool reads existing state (returns an id and a summary) rather than mutating anything. It stops short of stating that the call is side-effect free, that it takes no parameters, or what the summary covers, so the behavioral picture is partial but not misleading.

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?

A single short sentence, front-loaded with the primary return value (the root process group id). It is efficient, though "a summary of what it contains" spends words without adding precision.

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 return-value detail is not required, and the tool has no parameters, keeping complexity low. What is missing is the routing information an agent needs to pick this over the many other get_* tools, which the description does nothing to supply.

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

Parameters4/5

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

The input schema has zero properties, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly implies the call is argument-free.

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

Purpose3/5

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

"Root process group id plus a summary of what it contains" names the resource and the two things returned, so the agent knows this is a retrieval of the root group. However, it never contrasts with the sibling get_process_groups or get_parameter_context_details, and "a summary of what it contains" is left undefined, so the scope of the result is only vaguely conveyed.

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 call this rather than get_process_groups, search_flow, or get_best_practices_guide, and no prerequisites or ordering guidance. The agent must infer the entry-point role from the name alone.

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