Skip to main content
Glama

Get Recommended Workflow

get_recommended_workflow

Generates a step-by-step workflow with the tools to call for building a requested Apache NiFi flow, helping agents plan and execute flow construction.

Instructions

Step-by-step workflow (with the tools to call) for building the requested 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": "get_recommended_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_requestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It implies the tool produces a plan rather than executing it (a useful signal), but says nothing about whether the returned workflow is guaranteed valid, whether results are deterministic, or what the agent should do with the tool list. With zero annotation coverage, more behavioral context is needed.

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?

One tight sentence with the deliverable front-loaded and no filler. It is efficient, though the brevity comes at the cost of the guidance an agent needs to route correctly.

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 described. However, for a planning/dispatch tool with no annotations and an undocumented parameter, the description omits the sibling routing and behavioral caveats an agent would need to invoke it confidently.

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 a single required parameter, user_request, whose schema description coverage is 0%. The description's 'the requested flow' clarifies that the input should be a natural-language statement of the desired flow, which adds some meaning, but gives no detail on granularity, expected wording, or whether partial requests are acceptable.

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 states a concrete deliverable: a step-by-step workflow plus the tools to call for building a requested flow. That is clearly distinct from sibling readers like get_processor_details or get_flow_status, though it does not explicitly contrast with analyze_flow_build_request or get_best_practices_guide, which sound adjacent.

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?

The phrase 'for building the requested flow' hints at the triggering condition, but there is no explicit when-to-use, no exclusions, and no guidance on choosing this over analyze_flow_build_request or get_setup_instructions. An agent must guess which planning-oriented sibling to call first.

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