Skip to main content
Glama
imohuan
by imohuan

分析需求完整性

analyze

Analyzes collected project requirements to assess completeness and clarity. If clear, generates a summary with build commands; otherwise, prompts for more information to refine requirements.

Instructions

分析收集到的需求信息,判断是否足够完整和明确。如果需求明确,生成需求总结并指示构建命令;如果不明确,指示继续收集更多信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdeaYes项目想法描述
userAnswersYes用户当前回答的文本
userResponseFilePathYes用户回答的响应文件路径(用于提取 sessionId)
Behavior4/5

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

No annotations are provided, so the description bears the full responsibility for behavioral disclosure. It does disclose the core decision logic (complete vs. incomplete) and the resulting actions (generate summary and instruct build, or instruct to continue gathering), which is useful context. However, it does not mention potential side effects such as whether it writes to files, whether it uses the provided file path beyond reading, or whether the analysis persists any state. Still, the described branching behavior is a significant transparency step beyond a generic 'analyze' label.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary purpose, and includes the conditional behavior in an efficient second sentence. There is no redundancy or filler; every clause contributes meaningful guidance for using the tool.

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?

Given the tool has 3 required parameters, no output schema, and moderate complexity with branching logic, the description explains the decision outcomes and references sibling tools (gather, build) appropriately. It does not detail the exact output format or how the 'instruct build command' is delivered, but the description is reasonably complete for an analysis tool in a workflow context. The presence of sibling tools provides additional contextual signals, and the description aligns well with that.

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%, with each parameter having a clear description. The tool description does not add additional meaning to the parameters (projectIdea, userAnswers, userResponseFilePath) beyond what the schema already states. The baseline for high schema coverage is 3, and the description does not go beyond that baseline.

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 clearly states the tool's purpose: analyze collected requirements to judge completeness and clarity. It further specifies branching actions, distinguishing it from siblings like gather (collection), build (construction), and preview (viewing). The verb 'analyze' plus resource '需求信息' makes it specific and actionable.

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?

The description implies when to use the tool: after requirements have been collected and before proceeding to build. It provides clear context by stating that if requirements are clear, it instructs building, otherwise it directs to continue collecting (referencing the gather sibling). However, it does not explicitly state scenarios where this tool should not be used or formalize when/where it fits in the workflow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imohuan/spec-kit-ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server