Skip to main content
Glama

generate_tasks

Turns a saved career roadmap into an actionable task list for the current phase, helping users execute milestones and track progress.

Instructions

从路线图生成当前阶段的任务列表。

何时调用:在 save_roadmap 之后调用,将路线图转化为可执行的任务。 前置条件:档案中已有路线图(plan.roadmap)。 后续步骤:调用 get_next_tasks 查看当前阶段的下一步任务。

只生成当前阶段(第一个有未完成任务的阶段;全部完成后取下一个尚未 生成任务的阶段),后续阶段保留里程碑形态,避免出现一大堆空壳任务。 重建按「阶段 + 里程碑 + 任务名」复用旧任务 ID 与打卡进度。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that only one phase is materialized at a time, that later phases keep milestone form to avoid empty-shell tasks, and that rebuilds reuse old task IDs and check-in progress keyed by phase+milestone+task name, which tells the agent the operation is effectively re-runnable without losing progress. It stops short of saying whether previously generated tasks that no longer match are deleted or left orphaned, so the mutation footprint on existing state is not fully closed.

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?

Labelled sections (when to call / precondition / next step) put the actionable routing information up front, and the trailing paragraph covers mutation semantics that would otherwise be invisible. The nested parenthetical defining 'current phase' is dense and takes a second read, but no sentence is filler.

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

Completeness4/5

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

For a zero-parameter mutating tool with an output schema, everything an agent needs to decide and invoke is present: trigger point, precondition, phase-selection rule, and progress-preserving rebuild behavior. The only meaningful gap is the disposition of stale tasks from an earlier generation, which the description never addresses.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the 4 baseline applies. It correctly implies a no-argument call driven entirely by profile state (plan.roadmap), matching the empty input schema.

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?

Starts with a specific verb+resource+scope: generate the task list for the current phase from the roadmap. That immediately distinguishes it from generate_roadmap (which produces the roadmap) and get_next_tasks (which reads tasks) among the siblings, so an agent can pick it without opening a schema.

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

Usage Guidelines5/5

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

Explicitly states when to call it (after save_roadmap, to convert the roadmap into executable tasks), the precondition (plan.roadmap must already exist in the profile), and the follow-up step (get_next_tasks to see the next tasks). It also names the exclusion rule: later phases intentionally stay as milestones and are not expanded.

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