Skip to main content
Glama

saveProjProject

Create a new project by providing customer name, code, and ID. Optionally assign a project manager after querying available users.

Instructions

新增项目,直接调用 /projProject/saveEntityMap。调用本工具前必须先调用 queryProjCustomer 查询并让用户选择客户;customerName、customerCode、customerId 必须来自 queryProjCustomer 返回的同一条客户记录。若要填写项目经理,还必须先调用 queryProjUser 查询并让用户选择用户;userId 必须来自 queryProjUser 返回记录的 id,pmName 应使用同一条用户记录的名称。projectStatus 固定为 0,id 固定为空字符串。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmNameNo项目经理名称,可选。若传 userId,应使用 queryProjUser 返回的同一条用户记录的名称。
userIdNo负责人用户ID,可选。必须来自 queryProjUser 返回的用户记录 id。
planHoursNo计划工时,可选。
customerIdYes客户ID。必须来自 queryProjCustomer 返回的同一条客户记录的 id。
projectCodeNo项目编码,可选。
projectNameNo项目名称,可选。
requirementNo需求说明,可选。
customerCodeYes客户编码。必须来自 queryProjCustomer 返回的同一条客户记录。
customerNameYes客户名称。必须来自 queryProjCustomer 返回的同一条客户记录。
deliveryDateNo交付日期,可选,格式建议为 YYYY-MM-DD。
Behavior4/5

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

With no annotations, the description carries full burden. It discloses direct API invocation and fixed fields, adding context beyond creation. However, it omits details like error handling, permissions, or idempotency, but for a creation tool the disclosed preconditions and fixed values are substantial.

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 front-loaded with the core purpose, then succinctly lists prerequisites and fixed fields. Every sentence adds necessary information without redundancy, making it efficient yet comprehensive.

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?

For a tool with 10 parameters, 3 required, and no output schema, the description covers prerequisites, fixed fields, and parameter sources. It lacks return value details, but given no output schema, this is acceptable. Overall, it provides most needed context.

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 baseline is 3. The description adds value by explaining the dependency on queryProjCustomer and queryProjUser results for customer and user parameters, and revealing fixed values for id and projectStatus (not in schema). This context beyond schema justifies a 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 clearly states the tool's purpose: '新增项目' (add new project) and specifies the direct API call /projProject/saveEntityMap. It distinguishes from sibling tools like queryProjProjectList (list), updateProjProject (update), and deleteProjProject (delete) by focusing on creation.

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

Usage Guidelines5/5

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

The description explicitly lists prerequisites: must call queryProjCustomer first and have user select customer for customerName, customerCode, customerId; and if filling manager, must call queryProjUser for userId and pmName. It also notes fixed parameters (projectStatus=0, id=''). This provides clear when-to-use and how-to-use guidance.

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/guansuian/project-mcp'

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