Skip to main content
Glama

Plan a bigger job as a chain of prompts

plan_workflow
Read-onlyIdempotent

Turn a job such as hiring for a role, launching a feature, closing the month or applying for a job into steps in the order the work happens, each with the expert prompt from the repository that does it, which earlier answer it takes and into which blank, and the details to gather once for all of them. Works from a one-line description (matched to a playbook of how that kind of work goes) or from steps listed one per line. Use it when a request is too big for one prompt; each step names the prompt to open with get_prompt.

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": {
      "job": "<job>"
    },
    "name": "plan_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesThe job in plain words, or its steps one per line.
materialNoOptional material the steps can use, such as a job posting or notes.
max_stepsNoOptional: the most steps to return.

Output Schema

NameRequiredDescriptionDefault
stepsYesThe steps in order.
wavesYes
gatherYesDetails to give once, with the steps that use each.
valuesYesBlanks already filled from the description or material, by name.
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral detail beyond that: the one-liner is matched against a playbook of how that kind of work goes, and each returned step carries its prompt, which earlier answer it consumes, into which blank, and the details to gather once for all steps. It does not mention cost, latency, or what happens when no playbook matches.

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?

It is a single dense sentence, front-loaded with the verb and resource and ending on the routing rule to get_prompt. The job examples earn their place by defining scope, though the sentence is long enough that the input-mode and routing information could be broken out for faster scanning. Little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter planning tool with an output schema, this covers everything an agent needs: purpose, when to invoke it, both input modes, the structure of each returned step, and the next tool to call. Remaining details (step cap, optional material) live in the fully described schema, so nothing essential is missing.

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?

Schema description coverage is 100%, so a baseline of 3 would be defensible, but the description goes further by explaining what the `job` parameter's two forms actually do — a one-liner gets playbook matching while line-separated input is treated as given steps. `material` and `max_steps` are left entirely to the schema, which keeps this from a 5.

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

Purpose5/5

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

The description uses a specific verb and resource — turning a job into ordered steps, each bound to an expert prompt from the repository, with dependency wiring and shared intake details. It gives concrete job examples (hiring, launching a feature, closing the month) and explicitly distinguishes itself from get_prompt, which opens a single step's prompt. An agent can tell this apart from siblings like get_prompt or build_assistant without opening any schema.

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?

The selection condition is explicit: 'Use it when a request is too big for one prompt,' with 'each step names the prompt to open with get_prompt' supplying the follow-up route for single-prompt cases. It also states the two accepted input modes (one-line description vs. one step per line). No explicit exclusion or failure condition is given, which keeps it just short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources