Skip to main content
Glama

parse_prd

Extract and generate initial tasks from a Product Requirements Document (PRD) text file, simplifying project setup and task management in Task Master.

Instructions

Parse a Product Requirements Document (PRD) text file to automatically generate initial tasks. Reinitializing the project is not necessary to run this tool. It is recommended to run parse-prd after initializing the project and creating/importing a prd.txt file in the project root's .taskmaster/docs directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appendNoAppend generated tasks to existing file.
forceNoOverwrite existing output file without prompting.
inputNoAbsolute path to the PRD document file (.txt, .md, etc.).taskmaster/docs/prd.txt
numTasksNoApproximate number of top-level tasks to generate (default: 10). As the agent, if you have enough information, ensure to enter a number of tasks that would logically scale with project complexity. Setting to 0 will allow Taskmaster to determine the appropriate number of tasks based on the complexity of the PRD. Avoid entering numbers above 50 due to context window limitations.
outputNoOutput path for tasks.json file (default: .taskmaster/tasks/tasks.json)
projectRootYesThe directory of the project. Must be an absolute path.
researchNoEnable Taskmaster to use the research role for potentially more informed task generation. Requires appropriate API key.
tagNoTag context to operate on
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that 'Reinitializing the project is not necessary to run this tool,' which clarifies a potential misconception. However, it doesn't describe what the tool actually does beyond parsing and generating tasks—such as whether it modifies existing files, requires specific permissions, or has rate limits. For a tool with 8 parameters and no annotations, more behavioral context would be expected.

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?

The description is appropriately sized at three sentences, with the first sentence front-loading the core purpose. Each sentence adds value: the purpose, a clarification about reinitialization, and usage guidelines. There's no wasted text, though it could be slightly more structured (e.g., bullet points for prerequisites) for a perfect score.

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 the tool's complexity (8 parameters, no output schema, no annotations), the description is adequate but has clear gaps. It covers the purpose and basic usage context but lacks details on behavioral traits (e.g., file handling, error conditions) and doesn't explain the output format. For a tool that generates tasks, more completeness would help the agent understand what to expect.

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?

The schema description coverage is 100%, meaning all parameters are documented in the input schema itself. The description doesn't add any parameter-specific information beyond what's already in the schema (e.g., it doesn't explain the 'tag' parameter or provide examples). Since the schema does the heavy lifting, the baseline score of 3 is appropriate—the description adds no extra parameter semantics.

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?

The description clearly states the tool's purpose: 'Parse a Product Requirements Document (PRD) text file to automatically generate initial tasks.' It specifies the verb ('parse'), resource ('PRD text file'), and outcome ('generate initial tasks'). However, it doesn't explicitly differentiate from sibling tools like 'generate' or 'analyze_project_complexity', which prevents a perfect score.

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 provides clear context on when to use the tool: 'It is recommended to run parse-prd after initializing the project and creating/importing a prd.txt file in the project root's .taskmaster/docs directory.' This gives practical prerequisites. However, it doesn't mention when NOT to use it or name specific alternatives among the many sibling tools, which would be needed for a score of 5.

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

Related 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/eyaltoledano/claude-task-master'

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