Skip to main content
Glama

add_feature

Read-onlyIdempotent

Generate new feature specification documents including requirements, design, and task list based on project context.

Instructions

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

Input Schema

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

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

Description claims 'generate new feature specification document' which implies writing to disk or creating files, but annotations declare readOnlyHint=true, indicating no state modification. This is a contradiction. No additional behavioral traits (e.g., side effects, required permissions) are disclosed beyond the inconsistent annotations.

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?

Description is brief with two sentences covering usage and output. It is front-loaded and to the point, though could be slightly more structured with explicit sections.

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

Completeness2/5

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

Given the contradiction between description and annotations, the tool's behavior is unclear. No output schema is provided, and the description doesn't clarify return format or side effects. For a tool that generates documents, this is incomplete.

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 description coverage is 100% with detailed descriptions for all four parameters. The description does not add new semantic information beyond what the schema already provides, so baseline score of 3 is appropriate.

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?

Description clearly states the tool's purpose: to generate feature specification documents (requirements/design/task list) based on project context when user wants to add a new feature. Verb 'generate' and resource 'feature specification document' are specific. However, it does not differentiate from sibling tools like 'start_feature' which may have overlapping functionality.

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?

Description provides a usage scenario ('when user needs to add a new feature/generate spec document') but lacks explicit guidance on when not to use or alternatives. With siblings like 'start_feature' and 'code_review', more distinction would be helpful.

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