Skip to main content
Glama

Get Flow Summary

get_flow_summary

Summarize an Apache NiFi process group by returning processor counts by state, connection totals, and queued data so you can assess flow health.

Instructions

Processor counts by state, connection count and total queued data of a group.

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

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

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and it says nothing about read-only semantics, required permissions, cost, or whether the aggregate spans child process groups. It only enumerates the metrics returned, which is already the job of the existing output schema.

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

Conciseness3/5

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

One short sentence with no wasted words, so it is economically sized. The tradeoff is that the fragmentary noun-phrase form delays the action and reads as a caption rather than an instruction, leaving no front-loaded verb or scope statement.

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 tool is simple (one optional parameter) and an output schema exists, so return values need not be restated. What remains missing is the default/semantics of process_group_id and any signal for choosing this tool over the many flow-status siblings, which keeps it at minimum viable.

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?

The only parameter, process_group_id, has 0% schema description coverage, and the description only alludes to it via 'of a group'. It never states that the value is an ID, that it defaults to 'root', or what happens when omitted, so meaning is not added beyond the bare schema.

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?

The description names the concrete data returned (processor counts by state, connection count, total queued data) for a process group, which is reasonably specific. However, it is a noun-phrase fragment with no verb (e.g. 'get'/'summarize'), and it does nothing to distinguish itself from close siblings like get_flow_status, get_flow_health_status, or get_processor_state.

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 use this tool versus get_flow_status, get_flow_health_status, or get_processor_state, and no exclusions or prerequisites. The agent must infer the choice entirely from sibling names, which the context explicitly says are not behaviorally authoritative.

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