Skip to main content
Glama

updateProjTask

Modifies project task details such as name, assignee, dates, and progress. Requires the task ID from a prior query; only send fields that need change.

Instructions

修改项目任务信息,调用 /projTask/saveEntityMap。调用本工具前必须先调用 queryProjectTask 查询任务树并让用户选择要修改的任务,id 必须来自任务记录 id。除了 id 以外,只传需要修改的字段。若修改责任人,dutyUserId、dutyUserName 必须来自 queryDutyList 返回的同一条责任人记录并一起传入。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes任务ID。必须来自 queryProjectTask 返回任务记录的 id。
parentIdNo父任务ID,可选。若调整为子任务,应来自 queryProjectTask 返回任务 id。
progressNo进度,可选。只有明确要修改进度时才传。
taskNameNo任务名称,可选。
delayDaysNo延期天数,可选。只有明确要修改延期天数时才传。
planHoursNo计划工时,可选。
projectIdNo项目ID,可选。一般不建议修改;如需修改,必须来自 queryProjProjectList 返回项目记录 id。
dutyUserIdNo责任人用户ID,可选。若修改责任人,必须来自 queryDutyList 返回记录 id,并与 dutyUserName 一起传入。
notifyTypeNo通知类型,可选。
taskDetailNo任务详情,可选。
planEndDateNo计划结束日期,可选,格式建议为 YYYY-MM-DD。
dutyUserNameNo责任人姓名,可选。若修改责任人,必须来自 queryDutyList 返回同一条记录,并与 dutyUserId 一起传入。
planStartDateNo计划开始日期,可选,格式建议为 YYYY-MM-DD。
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses the underlying API call and parameter dependencies, but lacks details on error behavior, response format, or whether the operation is reversible. Moderate transparency for a mutation tool.

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?

Three sentences, each essential and well-structured. Front-loaded with purpose and prerequisite. No redundant information, highly efficient.

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?

Given 13 parameters and no output schema, the description adequately covers update operation and special parameter rules. However, it lacks information on return value, error handling, and whether updates are partial or full. Could be more complete for a complex tool.

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 covers all 13 parameters with descriptions. The tool description adds significant value beyond schema by explaining usage rules: only pass modified fields, id must come from queryProjectTask, duty fields must come together from queryDutyList. This enhances parameter understanding.

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 modifies project task information and refers to the specific API endpoint. It distinguishes itself from siblings like saveProjTask (create) and deleteProjTask by focusing on update, and mentions prerequisites that differentiate usage from query tools.

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

Usage Guidelines4/5

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

Explicitly states prerequisite of calling queryProjectTask first, and instructs to only pass modified fields. Provides specific constraints for dutyUserId/dutyUserName. Does not explicitly mention when not to use (e.g., for creation), but this is implicit given sibling 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/guansuian/project-mcp'

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