Skip to main content
Glama

detail_current_phase

Generates a detailed execution route for only the current roadmap phase, guiding task design from real job data so users can act on checkable next steps.

Instructions

生成当前阶段的详细路线(执行期细化)。

何时调用:用户想进入执行、需要把当前阶段拆成可打卡的颗粒度时调用。 只细化当前阶段(第一个有未完成任务的阶段),不生成后续阶段。

返回方法论上下文。LLM 按照 detailed_route 方法论指引,结合真实岗位数据 (fetch_company_jobs / fetch_jd_detail)设计当前阶段的打卡任务, 然后调用 save_current_detail(detail_json) 保存。

前置条件:路线图已保存(save_roadmap)。任务尚未生成时以第一段为当前阶段。 后续步骤:LLM 设计后调用 save_current_detail,再 generate_tasks 生成/合并任务。

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": "detail_current_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does so well: it reveals that the tool returns methodology context rather than finished tasks, that the calling LLM is expected to design tasks using fetch_company_jobs / fetch_jd_detail, and that a separate save call is required. It stops short of describing failure behavior when the precondition is unmet, which keeps it off a 5.

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?

Purpose is front-loaded, followed by clearly labeled call conditions, return behavior, preconditions, and next steps, which is the right ordering for a workflow tool. There is minor overlap between the parenthetical phase definition and the 'first segment is the current phase' precondition, but no sentence 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?

An output schema exists, so return values need no explanation; what matters for this orchestration tool is preconditions, scope limits, who does the design work, and what to call next, and all four are covered. Nothing an agent needs before invoking it 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The schema coverage is 100% and empty, so no compensation is needed.

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 opens with a specific verb and resource (generate the detailed route for the current phase / execution-period refinement) and immediately bounds the scope: it refines only the first phase that has unfinished tasks and does not generate later phases. That boundary is exactly what separates it from siblings like generate_roadmap and generate_tasks.

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?

It gives an explicit when-to-call trigger (user wants to move into execution and needs the phase broken into checkable granularity), an explicit precondition (save_roadmap must already have run), and an explicit follow-up sequence (save_current_detail, then generate_tasks). It even states the fallback rule when no tasks exist yet.

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