Skip to main content
Glama

projectman__AddIssueWorkHours

Add work hours to a specified project issue using start and end dates, total hours, and an optional work-hour type to track effort accurately.

Instructions

[PROJECTMAN] 添加指定工作项工时

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "due_date": "<due_date>",
      "issue_id": "<issue_id>",
      "project_id": "<project_id>",
      "start_date": "<start_date>",
      "work_hours": "<work_hours>"
    },
    "name": "projectman__AddIssueWorkHours"
  }
}

Input Schema

NameRequiredDescriptionDefault
due_dateYes工时结束日期,年-月-日
issue_idYes工作项id
project_idYes项目id
start_dateYes工时开始日期,年-月-日
work_hoursYes工时总数(若工时日期范围包含多天,单日工时将设为“工时总数/天数”)
work_hours_type_idNo工时类型id(项目预设工时类型id及名称对照:21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/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, yet it discloses nothing about permissions, reversibility, or side effects. It does not say what happens if hours already exist, whether the call is idempotent, or what is returned. The only behavioral detail, the splitting of total hours across a date range, appears in the schema rather than the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with no waste, and the action is front-loaded. However, it is under-specified rather than truly concise: a one-line description cannot carry the usage and behavioral context this mutation tool needs.

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

Completeness2/5

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

This is a write operation with 5 required parameters, no annotations, and no output schema, so the description should explain effects and return behavior. It offers none of that. The agent must rely entirely on the input schema to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents each parameter, including the date format and the work_hours splitting rule. The description adds no parameter meaning beyond that baseline. A 3 is therefore the correct baseline when the schema does all the work.

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 states a specific verb and resource: '添加' (add) '工作项工时' (work-item work hours). This clearly separates it from read-oriented siblings like ListProjectWorkHours and ShowProjectWorkHours. It stops short of explicitly naming or contrasting any sibling, so it does not reach the top score.

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?

There is no guidance on when to use this tool versus alternatives such as ListProjectWorkHours or ShowProjectWorkHours, and no prerequisites are stated. The only hint of context is that it targets a specific work item, which the agent must infer from the name and required issue_id.

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

Deploy Server

Other Tools