Skip to main content
Glama

workspace__ListHistoryOnlineInfoNew

Retrieves historical login counts and online-user information for a Workspace project by time range or query type; at least one filter is required.

Instructions

[WORKSPACE] 该接口用于查询登录人数,注意查询参数不可全空。

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": "workspace__ListHistoryOnlineInfoNew"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_timeNo查询的结束时间。指定该参数后,返回的结果为此时间之前的所有登录记录。时间格式如:“2016-08-20T21:11Z”。起始时间不为空时,终止时间为必填参数。类型查询优先于时间查询。类型查询和时间查询必须有一个存在。
project_idYes项目ID。
query_typeNo查询类型,类型查询优先于时间查询。类型查询和时间查询必须有一个存在。
start_timeNo查询的起始时间。指定该参数后,返回的结果为此时间之后的所有登录记录。时间格式如:“2016-08-20T21:11Z”。终止时间不为空时,起始时间为必填参数。类型查询优先于时间查询。类型查询和时间查询必须有一个存在。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden, and it discloses very little: 查询 implies a read-only operation, and there is one input constraint. It says nothing about required permissions, result size, pagination, or whether the call returns a count or a list, which matters because there is no output schema.

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 compact sentence with the module tag, the action, and the key constraint front-loaded; nothing is padded. It is arguably too terse rather than verbose, but it wastes no words.

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?

With no annotations, no output schema, and a name ('List History Online Info') that suggests records while the description suggests a headcount, the definition leaves a genuine ambiguity about what is returned. For a four-parameter query tool operating without any other structured context, it should say more about the response and permission requirements.

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 coverage is 100%, and the schema already documents project_id, start_time, end_time, query_type, and the rule that type queries take priority and cannot all be empty. The description merely repeats the 'not all empty' rule, adding no format details or examples beyond the schema, 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?

States a specific verb and resource: 查询登录人数 (query the number of logged-in users) within the WORKSPACE module. That is clearer than the name alone, but it does not differentiate the tool from plausible siblings such as ListLoginRecordsNew or ExportUserLoginInfoNew, 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?

The only guidance offered is the constraint that query parameters cannot all be empty, which is a validity rule rather than a when-to-use statement. It never says when to pick this tool over ListLoginRecordsNew, ExportUserLoginInfoNew, or the ListUsedDesktopInfo sibling, and it never explains the type-query-vs-time-query choice in user terms.

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