Skip to main content
Glama

workspace__ListUserEvents

Queries user activity events for a Huawei Cloud Workspace project over the last 30 days, supporting filters by user, event type, resource, and pagination.

Instructions

[WORKSPACE] 查询用户事件,一次最多查询30天,支持最近30天的数据查询。

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": {
      "end_time": "<end_time>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "workspace__ListUserEvents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo用于分页查询,返回用户事件数量限制,取值范围0-1000。如果不指定,默认为100。
offsetNo用于分页查询,查询的起始记录序号,从0开始。
end_timeYes查询结束时间,格式为:UTC时间,例如"1970-01-01T00:00:00Z"。
usernameNo用户名(精确搜索)。
event_typeNo事件类型,英文逗号隔开。
project_idYes项目ID。
start_timeYes查询起始时间,格式为:UTC时间,例如"1970-01-01T00:00:00Z"。
resource_idNo操作资源ID。
resource_nameNo操作资源名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a genuinely important constraint — the 30-day query window and the 30-day retention limit — but says nothing about pagination behavior, result ordering, permissions, or what the response contains.

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?

A single dense sentence with the 30-day constraint front-loaded; nothing is wasted. The only minor noise is the '[WORKSPACE]' namespace prefix.

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 a 9-parameter tool with no annotations and no output schema, the description is thin: it omits the filtering dimensions (username, event_type, resource_id/name), pagination behavior, and any indication of return shape. The time-window note is helpful but leaves most caller-relevant context unaddressed.

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 one of the 9 parameters is already documented (limit/offset pagination, time format, username exact match, comma-separated event_type, etc.). The description adds no meaning beyond the schema and does not mention the available filters at all, so the baseline 3 applies.

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 gives a specific verb and resource ('查询用户事件' / query user events), so an agent can tell what the tool fetches. It does not differentiate from the similarly named siblings (e.g. workspace__ListUserEventsLtsConfigurations, workspace__ListUserDetail), so it stops short of a 5.

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 many sibling listing tools, and no prerequisites or exclusions. The only guidance-like content is a hard constraint (max 30 days per query / last 30 days of data), which is behavioral rather than usage guidance.

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