Skip to main content
Glama

pass_to_ai_for_requirements

Pass user requirements to AI to create a requirements spec at .spec-comments/{feature_name}/requirements.md.

Instructions

ユーザー要件をAIに渡して要件定義書を作成させる(ワークフローの最初のステップ)。出力先は .spec-comments/{feature_name}/requirements.md となる。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_inputYesユーザーが作りたいものの説明や要件
output_pathNo出力先のファイルパス(省略可能)。指定しない場合は .spec-comments/{feature_name}/requirements.md が使用される。
feature_nameYes機能名(例: user-authentication, payment-system)。この名前でディレクトリが作成される。
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the output destination, implying a file write, but it doesn't mention whether it overwrites existing files, requires specific permissions, or any side effects. The behavior is partially transparent but has gaps.

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 a single, compact sentence that front-loads the core purpose and adds the output path. Every word earns its place, with no filler or redundancy.

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 absence of annotations and an output schema, the description is too thin. It doesn't explain the process (e.g., that it creates a file, how the AI is invoked, or what the expected result is). Essential context for successful invocation is missing.

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%, so baseline is 3. The description repeats the default output path already documented in the schema, adding no extra semantic value beyond what the schema provides.

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 explicitly states the tool passes user requirements to AI to produce a requirements definition document, and identifies it as the first step of the workflow. This clearly distinguishes it from sibling tools like pass_to_ai_for_design or pass_to_ai_for_implementation.

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 phrase 'workflow first step' provides clear context for when to use this tool. However, it does not explicitly mention alternatives or when not to use it, so it's a bit short of a perfect score.

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/erabu-yasumune/mcp-spec-comments'

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