Skip to main content
Glama

projectman__ListProjectWorkHours

Query work hours for multiple users and projects, filtered by date range, specific dates, or work-hour types, with pagination for reviewing logged time.

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>"
    },
    "name": "projectman__ListProjectWorkHours"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示数量,每页最多显示100条
offsetYes偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
end_timeNo工时结束日期,年-月-日
user_idsNo查询的用户id列表
begin_timeNo工时开始日期,年-月-日
project_idsNo查询的项目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.6/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 behavioral burden, yet it discloses nothing about pagination semantics, permission/auth needs, result aggregation, or what the response contains. The only implicit signal is that it is a listing read, which the agent must infer from the name.

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 single phrase is front-loaded with the tool family tag and contains no filler. Its brevity is a completeness problem rather than a verbosity one, so the structure itself is efficient.

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?

For an 8-parameter query tool with no annotations and no output schema, one short phrase is far too thin. An agent gets no explanation of how the date filters, id lists, and comma-separated type codes combine, nor what the returned rows represent.

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%, with every parameter including limit, offset, date ranges, id lists, and the comma-separated work_hours_types enumeration fully documented in the schema. The description adds no meaning beyond that, so the baseline of 3 applies.

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 names a verb (查询/query), a resource (工时/work hours), and a filter dimension (按用户/by user) with a scope hint (多项目/multi-project). It stops short of distinguishing this list operation from relatives like ShowProjectWorkHours or ListProjectWorkHoursType, so an agent cannot confidently tell which one returns what without opening the schemas.

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 statement of when to use this tool versus the sibling work-hour tools, and no prerequisites or exclusions. The parenthetical '(多项目)' is the only routing hint, and it is too vague to resolve the choice between List, Show, and ListType variants.

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