Skip to main content
Glama

workspaceapp__ListUserConnection

Retrieve user login and connection records for a Huawei Cloud WorkspaceApp project to audit access history and troubleshoot failed sessions.

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

Input Schema

NameRequiredDescriptionDefault
idNo登录记录唯一标识ID。
limitNo单次查询的大小[1-100]。
vm_ipNo应用服务器ip。
wi_ipNo连接IP。
offsetNo查询的偏移量。
public_ipNo客户端出口ip。
tenant_idNo租户id。
user_nameNo登录用户名称。
project_idYes项目ID。
virtual_ipNo会话虚拟ip。
client_nameNo客户端名称。
client_typeNo客户端操作系统类型。
failed_codeNo连接失败状态码。
machine_sidNo应用服务器sid。
update_timeNo登录应用开始时间,格式 2022-10-31 08:07:39。
connect_flagNo连接标志,目前值为0。
connect_typeNo用户连接类别。
machine_nameNo应用服务器名称。
agent_versionNoaps hda版本。
failed_reasonNo连接失败原因。
client_versionNo客户端版本。
login_end_timeNo登录应用结束时间,格式 2022-10-31 08:07:39。
login_start_timeNo登录应用开始时间,格式 2022-10-31 08:07:39。

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 behavioral burden, yet it is a single sentence. It implies a read operation only through the name 'List' but says nothing about permissions, whether results are paginated, return shape, or filtering behavior.

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 description is a single front-loaded sentence with no waste, but for a 23-parameter tool it is under-specified rather than appropriately concise. It is brief to the point of missing needed value.

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?

A 23-parameter listing tool with no annotations and no output schema needs a description to explain filtering behavior, defaults (limit 10, offset 0), and return contents. The one-sentence description leaves these significant gaps 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% with all 23 parameters documented (limit, offset, user_name, client_type, IPs, timestamps, etc.), so the schema already carries semantic meaning. The description adds nothing beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb (query/query) and resource (user login records / 用户登录记录), so the agent knows it lists login connection records. It does not differentiate from siblings like ListAppConnection or ListSessionByUserName, which are close in scope, so it falls 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?

No guidance on when to use this tool versus alternatives, no prerequisites, and no conditions/exclusions. The only guidance is the bare title/verb; the agent must infer when it applies relative to ListAppConnection and ListSessionByUserName.

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