Skip to main content
Glama

plan_execution_alignment

Prepares the context needed to align a baseline career roadmap with a saved requirement profile before an execution plan is designed and saved, returning requirements, evidence, and alignment guidance.

Instructions

准备执行方案校准上下文(阶段 9 第一步,不写档案)。

何时调用:阶段 8 的 RequirementProfile 已保存,用户准备把基线路线图 升级为执行版时。

前置条件:档案已有基线路线图(profile.plan),且存在 RequirementProfile。

Args: requirement_profile_id: RequirementProfile artifact id; 为空时取当前档案最新的 RequirementProfile。

返回 JSON(字符串): - methodology: 校准方法论(原则、步骤、output_schema) - requirement: 需求摘要(高频要求、公司特定要求、硬门槛、interpretation) - baseline_plan: 当前基线路线图 - completed_evidence: 已完成/已跳过任务(代码提取,含 how_to/done_criteria) - capability_evidence: 档案中沉淀的能力证据(可选) - alignment_prompt: 给 LLM 的输出模板与规则(每条 change 必须带 evidence_ids)

下一步:LLM 设计好 strategy_summary / roadmap / changes / diff_summary 后, 调用 save_execution_alignment 预览;用户确认后再传 confirmed=true 应用。

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

Input Schema

NameRequiredDescriptionDefault
requirement_profile_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/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 burden and does state the critical behavior: this call does NOT write the profile, only assembles context. It also discloses the shape of what comes back and the downstream constraint that every change must carry evidence_ids. It does not cover failure modes (e.g., what happens when no baseline roadmap exists) but otherwise the read-only contract is clear.

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?

Headings (when to call, prerequisites, args, returns, next step) make it well front-loaded and scannable, and each section serves a purpose. The return-value enumeration is somewhat redundant with the existing output schema, though the alignment_prompt and evidence_ids notes add constraints the schema likely does not convey.

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?

This sits inside a multi-phase workflow with a prerequisite chain and a downstream write tool, and the description covers trigger, prerequisites, inputs, payload contents, and the follow-up call. An agent can invoke it and hand off correctly without consulting anything else.

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 0%, so the description must define the single parameter, and it does: requirement_profile_id is the RequirementProfile artifact id, and an empty value falls back to the current profile's latest RequirementProfile. That default behavior is real meaning not present in the schema.

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 action (preparing execution-alignment context) and explicitly bounds it as read-only ('不写档案'), which separates it from the sibling save_execution_alignment. The verb is somewhat meta ('prepare context') but the phase-9 framing makes the resource unambiguous.

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 (phase 8 RequirementProfile saved and the user is upgrading the baseline roadmap to an execution version), plus a stated prerequisite (profile.plan and a RequirementProfile must exist). The '下一步' section names save_execution_alignment and the confirmed=true apply path, so the agent knows both when to use this tool and what follows it.

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