Skip to main content
Glama

获取阶段引导(核心工具)

get_stage_guidance

Fetches full constraints for a design stage—goals, artifacts, exit criteria, dependencies, rules, steps, templates, pitfalls, rollback impact—or a 9-stage overview for a structured design workflow.

Instructions

获取某个模式某个阶段的完整约束包:目标、产物、出口条件、前置依赖、硬规则、引导步骤、提示词模板、常见坑、回退影响面、人确认点、环境要求(如有)。不传 stage 时返回 9 阶段总览(开场先取总览与用户建立全景)。任何阶段可随时获取,支持回退修正;工具无状态、不做流程门禁。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo模式 id,见 list_modes;缺省使用 primary 模式(wpf)
stageNo阶段 id,见总览返回的 stages[].id(如 blueprint / tokens / checkup);缺省返回 9 阶段总览

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 disclose meaningful traits: the tool is stateless ('工具无状态') and performs no workflow gating ('不做流程门禁'), plus it supports rollback correction. It does not cover error behavior or confirm read-only semantics beyond 'get', but the state/gating disclosure is genuinely useful context.

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 and the omitted-stage hint are front-loaded before the long enumeration of package contents. The 11-item list is dense but each item is a real return field with no output schema to carry them, so the length is largely earned; only minor tightening is possible.

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 two-param, zero-required, no-output-schema tool, the description compensates well by enumerating the returned package contents (what the agent would otherwise lack without an output schema) and explaining the default and stateless behavior. Only error/edge-case handling is left unstated.

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?

Schema coverage is 100% and the schema already documents both mode (default primary/wpf) and stage (default returns overview). The description reinforces the stage-omission default behavior but adds no syntax or format detail beyond what the schema states, so the baseline 3 applies.

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?

States a specific verb (获取) plus resource (阶段引导) and then enumerates exactly what the 'constraint package' contains (goals, artifacts, exit conditions, hard rules, etc.), so an agent knows precisely what it gets back. It also distinguishes the omitted-stage case (9-stage overview) from the per-stage case, which no sibling provides.

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?

Gives clear sequencing advice: '开场先取总览与用户建立全景' tells the agent to fetch the overview first, and '任何阶段可随时获取,支持回退修正' tells it stage fetches are unrestricted and support rollback. It does not explicitly name list_modes as the alternative for enumerating modes, though the schema does, so this stops short of a full when/when-not statement.

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

Deploy Server

Other Tools