Skip to main content
Glama

workspaceapp__LogoffUserSession

Log off specified user sessions in a Workspace app, optionally after a delay and with a client pop-up message that sets the notification severity.

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": {
      "delay_time": "<delay_time>",
      "message_type": "<message_type>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__LogoffUserSession"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo弹框标题。
messageNo客户端弹框内容。
delay_timeYes延迟多长时间注销会话。
project_idYes项目ID。
session_idsNo会话信息id列表。
message_typeYes客户端弹框级别,代表给会话发消息时的严重程度(比如info、warning、error级别) 0->info; 1-> warn; 2->serious。
transaction_idNo事务id,用作客户端日志定位跟踪。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations exist, so the description carries the full disclosure burden and provides none. It does not say that sessions are forcibly terminated, that affected clients receive a pop-up defined by the required message_type/title/message fields, or how delay_time defers the action.

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?

It is a single short sentence with no wasted wording, but it reads as a bare label rather than a front-loaded explanation. Conciseness is not the problem; there is simply almost no content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A seven-parameter destructive tool with no annotations and no output schema needs substantially more description than one line. Nothing is said about the irreversible logoff effect, the required client notification fields, or the delay semantics, leaving the agent unequipped to invoke it safely.

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 documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema, such as how delay_time interacts with the pop-up message or whether session_ids can target multiple users at once.

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

Purpose2/5

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

The description reads '用户会话注销' (log off a user session), which essentially restates the tool name LogoffUserSession rather than explaining it. It names a verb and resource but gives no scope or distinguishing detail against siblings such as workspace__BatchLogoffDesktops or workspaceapp__ListSessionByUserName.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives for terminating sessions. An agent has no basis for choosing this over BatchLogoffDesktops or a session-listing tool before logging off.

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