Skip to main content
Glama
xiaochenwin

Trae Rules Generator MCP

by xiaochenwin

generate_project_rules

Generate project rule files based on project type and feature list. Specify project type, features, and language to receive customized rules.

Instructions

根据项目类型和功能特性生成新的项目规则文件

Args: project_type: 项目类型 (如: web, mobile, ai, backend, frontend 等) features: 项目功能特性列表 (如: ["authentication", "database", "api"]) language: 规则文件语言,默认为中文

Returns: 生成的规则文件内容

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_typeYes
featuresYes
languageNo中文

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must convey behavior. It explains that the tool generates rules and returns content, but it doesn't disclose side effects (e.g., file creation) or limitations. It is adequate but not comprehensive.

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 concise with an Args/Returns structure, making it easy to scan. However, the format is slightly non-standard for MCP descriptions, and each sentence is earned.

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?

For a tool with 3 parameters and an output schema, the description covers the main function and parameters. Missing guidance on usage context and return format explanations (though output schema exists) leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning beyond the schema by providing examples for project_type and features (e.g., 'web', 'mobile') and noting language defaults. Given 0% schema description coverage, this is valuable, though it lacks full constraints.

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 that the tool generates new project rules based on project type and features. However, it does not differentiate from sibling tools like update_existing_rules or read_existing_rules, which weakens clarity.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as save_rules_file or update_existing_rules. The description only states its purpose without exclusions or context.

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/xiaochenwin/trae-rules-mcp'

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