Skip to main content
Glama

add_feature

Generate requirement, design, and task documents for a new feature based on project context. Provide a feature name and description to create specifications.

Instructions

当用户需要添加新功能、生成功能规格文档时使用。生成新功能规格文档(需求/设计/任务清单),基于项目上下文

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feature_nameNo功能名称(kebab-case 格式,如 user-auth)。可选,如果不提供会从 description 自动提取
descriptionNo功能详细描述。可以是简短的自然语言(如'添加用户认证功能')或详细的需求说明
docs_dirNo文档输出目录,默认为 docs
template_profileNo模板档位:auto(默认,自动选择 guided/strict)、guided(普通模型友好)或 strict(结构更紧凑)
Behavior2/5

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

No annotations provided, so description must fully disclose behavior. It mentions generating documents based on project context but does not disclose side effects (e.g., file creation), permissions needed, or whether it modifies existing files. The high-level statement is insufficient for a tool that likely creates files.

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?

Two sentences, both front-loaded with purpose and context. No redundant information. Could be slightly more structured but is efficient for its length.

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

Completeness3/5

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

Given 4 optional parameters, no output schema, and moderate complexity, the description provides core purpose but lacks details on output format, success/failure indicators, and how the project context is used. It is minimally complete but could benefit from more context.

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?

Input schema has 100% description coverage, so parameters are well-documented. The description adds no new parameter-specific information ('基于项目上下文' is not a parameter). Baseline of 3 is appropriate as the description does not enhance parameter understanding beyond 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?

Clearly states the tool generates feature specification documents (requirements/design/task list) based on project context. The verb '生成' (generate) and noun '新功能规格文档' specify the output. However, does not explicitly distinguish from sibling 'start_feature' which may overlap.

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

Usage Guidelines3/5

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

Explicitly says '当用户需要添加新功能、生成功能规格文档时使用' (when user needs to add new feature, generate spec docs), providing clear usage context. Lacks guidance on when not to use or alternatives, especially given sibling 'start_feature'.

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/mybolide/mcp-probe-kit'

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