Skip to main content
Glama

Analyze Flow Build Request

analyze_flow_build_request

Identify common integration patterns and list the requirements to collect before building an Apache NiFi flow.

Instructions

Recognise common integration patterns (database to object storage, Kafka to S3, REST to database, ...) and list the requirements to collect BEFORE building a flow.

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": {
      "user_request": "<user_request>"
    },
    "name": "analyze_flow_build_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. The verbs 'recognise' and 'list' imply a non-mutating analysis, but the description never states that no flow is created, whether it needs any particular context, or that it only produces recommendations. An output schema exists, which relieves some burden, but side-effect behavior is left implicit.

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?

Two compact sentences with the core action and the timing constraint front-loaded, and no filler. Minor awkwardness from the line wrapping, but every phrase carries meaning.

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 conceptually simple and an output schema covers the return shape, so the description needn't explain results. However, for a tool with no annotations and an undocumented input, it should say more about what the request should contain and confirm it produces recommendations rather than changes.

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?

There is one required parameter, user_request, with 0% schema description coverage. The description implies the input is a natural-language description of a desired integration (which is useful), but gives no guidance on how detailed or structured that request should be, leaving the parameter format largely to inference.

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?

The description names the specific work: recognizing common integration patterns (with concrete examples like database-to-object-storage, Kafka-to-S3) and listing requirements to collect before building a flow. This is clearly a pre-build planning tool, distinguishable from the getter/inspection siblings such as get_flow_status or get_processor_details.

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

Usage Guidelines4/5

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

'BEFORE building a flow' gives explicit timing context, making it clear this is the pre-construction step. It does not name alternatives or exclusions, but the temporal framing is enough for an agent to place the tool in a workflow.

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