Skip to main content
Glama

create_project

Initializes a new project folder with a unique slug and writes AGENTS.md/CLAUDE.md instructions, enabling any agent to cold-start and take over. Returns the project id.

Instructions

创建新项目:在工作目录下建一个以项目名 slug 命名的自包含文件夹(同名冲突自动加序号),并写入 AGENTS.md/CLAUDE.md 供任何 agent 冷启动接手。返回项目 id(即文件夹名)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirNo覆盖默认工作目录(项目所在父目录);相对路径按当前工作目录解析;缺省用 PROTOFLOW_HOME 或启动时的 cwd
nameYes项目名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It transparently discloses key behaviors: creating a folder in the working directory, automatic numbering on name conflicts, writing two agent-handoff files, and returning the folder name as the project id. It does not mention error handling or permission requirements, but the core side effects are clearly stated.

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, dense sentence that front-loads the purpose and follows with the conflict-resolution rule, file creation, and return value. No filler words; every clause adds necessary information.

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

Completeness4/5

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

With no output schema and no annotations, the description compensates by explicitly stating the return value and folder behavior. It covers conflict handling and file creation, which are the key edge cases for a creation tool. Minor gaps like what happens on invalid paths or directory creation failures do not undermine the essential completeness for an agent to use it correctly.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful parameter semantics beyond the schema: it reveals that 'name' is slugified to produce the folder name, and implicitly explains the default directory behavior mentioned in the dir parameter. This extra insight raises the score to 4.

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 states a specific verb and resource: '创建新项目' (create new project), and details what it does: create a self-contained folder named after a slug of the project name, write AGENTS.md/CLAUDE.md, and return the project id. This clearly differentiates it from siblings like import_project or list_projects.

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?

The description implies usage for starting a new project and mentions cold-start handoff for any agent, but it does not explicitly state when to use this tool versus alternatives (e.g., import_project) or provide any exclusions. The usage context is inferable, not explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.