Skip to main content
Glama

updateProjProject

Update project information by specifying the project ID and only the fields to modify. For customer or manager changes, use data from the corresponding query results.

Instructions

修改项目信息,调用 /projProject/saveEntityMap。调用本工具前必须先调用 queryProjProjectList 查询项目并让用户选择要修改的项目,id 必须来自项目记录 id。除了 id 以外,只传需要修改的字段。若修改客户,customerName、customerCode、customerId 必须来自 queryProjCustomer 返回的同一条客户记录并一起传入;若修改项目经理,pmName、userId 必须来自 queryProjUser 返回的同一条用户记录并一起传入。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes项目ID。必须来自 queryProjProjectList 返回记录的 id。
pmNameNo项目经理名称,可选。若修改项目经理,必须来自 queryProjUser 返回的同一条用户记录,并与 userId 一起传入。
userIdNo负责人用户ID,可选。若修改项目经理,必须来自 queryProjUser 返回的同一条用户记录 id,并与 pmName 一起传入。
planHoursNo计划工时,可选。
customerIdNo客户ID,可选。若修改客户,必须来自 queryProjCustomer 返回的同一条客户记录 id,并与 customerName、customerCode 一起传入。
projectCodeNo项目编码,可选。
projectNameNo项目名称,可选。
requirementNo需求说明,可选。
customerCodeNo客户编码,可选。若修改客户,必须来自 queryProjCustomer 返回的同一条客户记录,并与 customerName、customerId 一起传入。
customerNameNo客户名称,可选。若修改客户,必须来自 queryProjCustomer 返回的同一条客户记录,并与 customerCode、customerId 一起传入。
deliveryDateNo交付日期,可选,格式建议为 YYYY-MM-DD。
projectStatusNo项目状态,可选。只有明确要修改状态时才传。
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 discloses the underlying endpoint call, the mutation nature, dependencies on prior queries, and field consistency requirements. It lacks details on error handling or partial success, but for an update tool, the behavioral context added beyond the schema is substantial.

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 a single paragraph with dense, essential information. It is front-loaded with the action, then prerequisites, then detailed rules. Every sentence contributes value, though a bullet-point structure could improve readability. No excess wording is present.

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?

Given the complexity (12 parameters, no output schema), the description covers the main usage flow: prerequisites, valid id sources, and field constraints. It does not specify the return value or error handling, but for an update tool, the usage context is well-addressed. The schema descriptions further support completeness.

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%, and the description adds higher-level rules: relationships between parameters (e.g., customerName, customerCode, customerId must be from the same record; pmName and userId together). It also reiterates that id must come from a prior query. This adds meaning beyond the individual parameter descriptions.

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 '修改项目信息' (modify project information), specifying the verb and resource. It distinguishes the tool from siblings like updateProjTask, deleteProjProject, and saveProjProject by outlining specific prerequisites and constraints, ensuring the agent understands the exact purpose.

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 instructs to call queryProjProjectList first, mandates that the id must come from that query, and advises to only pass fields that need modification. It provides specific rules for modifying customer or project manager fields, including which other tools to query (queryProjCustomer, queryProjUser) and how to pass related parameters together. This gives clear when-to-use and when-not-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