Skip to main content
Glama

workspaceapp__ListSessions

Query paginated user session lists for Huawei Cloud WorkspaceAPP by project and time range, filtering by user, machine, IP, session state, or creation success.

Instructions

[WORKSPACEAPP] 查询用户会话列表。

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": {
      "project_id": "<project_id>",
      "query_begin_time": "<query_begin_time>",
      "query_end_time": "<query_end_time>"
    },
    "name": "workspaceapp__ListSessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo单次查询的大小[1-100]。
vm_ipNo服务器IP。
offsetNo查询的偏移量。
public_ipNo客户端出口IP。
user_nameNo用户名。
is_successNo会话是否创建成功,默认不填则查询全部
project_idYes项目ID。
machine_nameNo应用服务器名称。
session_stateNo应用状态,支持查询多个,中间用英文逗号分隔:
query_end_timeYes搜索结束时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。
query_begin_timeYes搜索开始时间,以会话开始时间为条件查询,格式2024-02-27T03:47:51.182Z。
app_server_group_idNoAppServer组ID。

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 behavioral burden, yet it discloses nothing beyond the label. It does not state that this is a read-only, paginated, filterable query bounded by a required begin/end time range, nor how results are ordered or capped.

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 sentence is front-loaded and free of waste, but it is under-specified rather than genuinely concise. There is no structural cue such as a scope or constraint clause to make the sentence earn its brevity.

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 twelve-parameter, three-required-parameter query tool with no annotations and no output schema, so the description should explain the required time-window semantics and the pagination model. It says nothing about either, leaving the richest context burden unmet.

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 all twelve parameters, including limit, offset, user_name and the required time window, are documented inline. The description adds no parameter meaning of its own, 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 states a verb and resource (查询…会话列表), so an agent knows it lists sessions. However, it adds no scope detail and does not distinguish the tool from close siblings such as ListSessionByUserName or ListSessionType, which the name alone cannot resolve.

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 the session-oriented siblings, and no mention of prerequisites such as project_id or the mandatory time window. An agent must infer usage entirely from the name.

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