Skip to main content
Glama

Search Flow

search_flow

Search Apache NiFi processors, connections, groups, ports, and services by name or property to locate flow components quickly. Use it to find the exact ID or component before inspecting or editing a flow.

Instructions

Search processors, connections, groups, ports and services by name/property.

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": {
      "query": "<query>"
    },
    "name": "search_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and says nothing about matching semantics: whether matching is exact, substring, case-insensitive, or regex, whether multiple types are searched simultaneously, whether results are capped or paginated, or whether an empty result is an error. For a cross-type search tool this is a significant undisclosed behavior gap.

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 front-loaded sentence with no wasted words, and the searchable entity list is placed early. It errs on the side of terseness rather than bloat, which is the right tradeoff but leaves no room for behavioral detail.

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 values need not be explained. However, for a one-parameter cross-entity search, the missing matching-semantics and result-limit information is a real completeness gap that the absence of annotations does nothing to fill.

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 required parameter with 0% schema description coverage, so the description must compensate. It adds real meaning by indicating the query string matches against names and properties across entity types, but it says nothing about syntax, wildcards, or whether a single term is matched across all resource kinds versus one.

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?

States a specific verb (Search) and enumerates concrete resource types (processors, connections, groups, ports, services) plus the matching key (name/property). An agent can tell it is a lookup tool rather than a detail/list tool, though the description never names a sibling to differentiate from, relying on context alone.

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?

Usage is only implied: the phrase 'by name/property' suggests this is the discovery entry point before calling get_processor_details or get_connection_details, but the description never says when to use this instead of list_processors or get_process_groups. No exclusions or prerequisites are given.

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