generate_prd
根据结构化要素生成标准化 prd.md,并写入 src/prototypes/<slug>/。基于 deppon-prd-generator skill 模板,默认 DP-IT 标题。
This record as markdown: /tools/deppon-deppon-prd-mcp/generate-prd.md
What generate_prd does on Deppon Prd
AI agents use generate_prd to create or update resources in Deppon Prd, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Deppon Prd environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | — | 目录 slug,默认由 pageName 推导 |
columns | array | — | |
filters | array | — | |
features | array | — | |
menuPath | string | — | |
pageName | string | Yes | 页面/模块名称,如「产品折扣列表」 |
pageType | string | — | 页面类型,默认 list-crud |
batchDate | string | — | DP-IT 批次日 YYYYMMDD |
background | string | — | §1.1 背景描述 |
enableCrud | boolean | — | |
rowActions | array | — | |
permissions | array | — |
Parameters from the server's own tool schema.
Why generate_prd is rated Medium
This tool creates and writes files (prd.md documents) to a filesystem path. This is a Write operation as it modifies the system by creating new files in a defined location. Severity is medium because while reversible (files can be deleted), uncontrolled generation could fill directories, overwrite existing PRD documents, or clutter the project structure.
From the tool's definition Tool description states '生成标准化 prd.md,并写入 src/prototypes/<slug>/' which translates to 'generates standardized prd.md and writes to src/prototypes/<slug>/'. The 'write' (写入) action indicates file creation/modification in a structured directory.
Risk signalsHigh parameter count (13 properties)
Attacks that exploit this kind of access
The rule that runs generate_prd safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Deppon Prd, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For generate_prd, this is the rule to start with:
generate_prd stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Deppon Prd, apply this rule, and every generate_prd call is checked against it from then on.
Questions about generate_prd
根据结构化要素生成标准化 prd.md,并写入 src/prototypes/<slug>/。基于 deppon-prd-generator skill 模板,默认 DP-IT 标题。. It is categorised as a Write tool in the Deppon Prd MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
generate_prd accepts 12 parameters: slug, columns, filters, features, menuPath, pageName, pageType, batchDate, background, enableCrud, rowActions, permissions. Required: pageName. The full parameter table on this page comes from the server's own tool schema.
Register the Deppon Prd MCP server in PolicyLayer and add a rule for generate_prd: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Deppon Prd. Nothing to install.
generate_prd is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_prd rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for generate_prd. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
generate_prd is provided by the Deppon Prd MCP server (@deppon/deppon-prd-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Deppon Prd, and thousands of servers like it.
This server
Across the catalogue