Skip to main content
Glama

projectman__ShowProjectWorkHours

Queries work-hour records for selected users in a single Huawei Cloud DevCloud project, filtered by dates and work-hour types, with paginated results.

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": {
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "projectman__ShowProjectWorkHours"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示数量,每页最多显示100条
offsetYes偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
end_timeNo工时结束日期,年-月-日
user_idsNo查询的用户id列表
begin_timeNo工时开始日期,年-月-日
project_idYesdevcloud项目的32位id
work_hours_datesNo工时日期,以逗号分隔,年-月-日
work_hours_typesNo工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. '查询' implies a read operation, but the description says nothing about required permissions, whether results are aggregated per user, pagination behavior, or how the date-range and type filters interact.

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?

The single tag-prefixed sentence is front-loaded and contains no padding, but it is under-specified rather than truly concise for an 8-parameter query tool. Nothing is wasted, yet very little is delivered.

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?

With 8 parameters, 3 of them required, no annotations, and no output schema, the definition should explain what the response contains (e.g., per-user aggregates) and how filters combine. The one-line description leaves these gaps for an agent to guess at.

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%, so every parameter including limit/offset paging rules, the 32-character project_id, and the work_hours_types code list is already documented in the schema. The description adds no additional meaning beyond that baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb (查询/query) and resource (工时/work hours) with a scope hint (按用户 by user, 单项目 single project). However, '单项目' vs the equally named sibling projectman__ListProjectWorkHours is not clarified, so an agent cannot confidently distinguish the two from the text alone.

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?

No indication of when this tool should be chosen over projectman__ListProjectWorkHours or projectman__ListProjectWorkHoursType, and no prerequisites or exclusions are stated. The agent must infer usage from the name and schema alone.

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