Skip to main content
Glama

plan_workflow

Returns a ranked shortlist of relevant skills for a described task, including confidence scores and match reasons to help select the smallest applicable set.

Instructions

Return a ranked skill shortlist for a task with confidence and match reasons. Candidates are optional; choose the smallest relevant set or none.

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

Input Schema

NameRequiredDescriptionDefault
task_descriptionYesFull description of the task to accomplish, e.g. '把技术博客文章转换成小红书图文并发布'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.7
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / task_description / maxLength
      Added value: +8000
    • addedInput schema / properties / task_description / minLength
      Added value: +1
  2. First observedv1.0.6

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, and the description usefully adds that output includes confidence scores and match reasons. It does not say what 'confidence' means, how the ranking is derived, or what happens when no skill matches, and it never reconciles the retrieval-like phrasing with readOnlyHint=false. That is some added context but not rich behavioral disclosure.

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?

Two short sentences, front-loaded with the outcome, which is good. But the second sentence is spent on a non-existent 'candidates' input, so it misleads rather than earns its place, and the space would have been better used on when to use the tool.

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?

With no output schema, the description needs to carry return-value meaning; it partially does by naming confidence and match reasons. However, for a single-parameter planning/retrieval tool with openWorldHint=true, it omits the relationship to sibling skill tools, ranking semantics, and fallback behavior, leaving the definition only minimally adequate.

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?

With a single parameter at 100% schema coverage, the schema already does the heavy lifting, so the baseline is 3. The description adds nothing about task_description and in fact muddies the parameter picture by referencing optional 'candidates' that the schema does not define.

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 a specific verb and artifact: "Return a ranked skill shortlist for a task with confidence and match reasons." That is far more than a restatement of the name, though it never distinguishes the tool from siblings such as search_skills or read_skill, and the name plan_workflow does not obviously map to 'skill shortlist', which costs it a point.

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 only guidance given is "Candidates are optional; choose the smallest relevant set or none", which refers to a 'candidates' input that does not exist in the schema. There is no statement of when to call this versus search_skills, skill_status, or the load/read skill tools, so an agent must guess its place in the flow.

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