Skip to main content
Glama

workspace__ShowDesktopMonitorData

Retrieve desktop monitoring data such as CPU, memory, disk, network, and user online metrics for a specified 1-hour to 30-day period to analyze performance and usage.

Instructions

[WORKSPACE] 该接口可获取某一计算机在一段时间段(范围:1小时到30天)的数据信息(例如CPU占用率、内存占用率、用户的在线时间段等),最长数据保存时间不能超过180天。

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

Input Schema

NameRequiredDescriptionDefault
end_timeYes监控结束时间:由日期加时间组成,UTC格式,例如“2021-05-11T11:45:42Z”。
desktop_idYes桌面ID。
project_idYes项目ID。
start_timeYes监控开始时间:由日期加时间组成,UTC格式,例如“2021-05-11T11:45:42Z”。
metric_nameNo监控查询指标:例如 "cpu_util",详情见下表;当metric_name为空时,为批量查询| 指标 | 指标名称 | 测量对象 | 监控周期 || ------------------------------------- | ----------------- | ------------ | -------- || cpu_util | CPU使用率 | 云桌面 | 5分钟 || mem_util | 内存使用率 | 云桌面 | 5分钟 || disk_util_inband | 磁盘使用率 | 云桌面 | 5分钟 || disk_read_bytes_rate | 磁盘读带宽 | 云桌面 | 5分钟 || disk_write_bytes_rate | 磁盘写带宽 | 云桌面 | 5分钟 || disk_read_requests_rate | 磁盘读IOPS | 云桌面 | 5分钟 || disk_write_requests_rate | 磁盘写IOPS | 云桌面 | 5分钟 || network_incoming_bytes_rate_inband | 带内网络流入速率 | 云桌面 | 5分钟 || network_outgoing_bytes_rate_inband | 带内网络流出速率 | 云桌面 | 5分钟 || network_incoming_bytes_aggregate_rate | 带外网络流入速率 | 云桌面 | 5分钟 || network_outgoing_bytes_aggregate_rate | 带外网络流出速率 | 云桌面 | 5分钟 || network_vm_connections | 网络连接数 | 云桌面 | 5分钟 || cpu_credit_usage | CPU积分使用量 | 云桌面 | 5分钟 || cpu_credit_balance | CPU积分累积量 | 云桌面 | 5分钟 || cpu_surplus_credit_balance | CPU超额积分累积量 | 云桌面 | 5分钟 || cpu_surplus_credit_charged | CPU超额积分收费量 | 云桌面 | 5分钟 || user_online_info | 用户在线信息 | 云桌面 | - |

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does disclose the time-range constraint and the 180-day retention limit, which are real behavioral traits. However, it says nothing about authorization requirements, what happens when the range is violated, sampling granularity, or response shape, leaving meaningful gaps for an unannotated tool.

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 front-loaded sentence that leads with the verb and resource, then appends the range and retention constraints. No filler or redundancy; only minor loss from packing three constraints into one long clause.

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

Completeness4/5

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

For a read-only monitoring query with full schema coverage and no output schema, the description covers purpose, time-range limits, retention, and representative metric types. An agent can call it correctly; only return-shape and permission details are absent, which is a modest gap given the rich schema.

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%, including a detailed metric_name table enumerating every valid indicator and the 5-minute monitoring period, so the schema already does the heavy lifting. The description's mention of CPU/memory/online-time examples loosely maps to metric_name but adds no syntax or format detail beyond the schema. 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 states a specific verb and resource in Chinese: obtain data for a certain computer (某一计算机) over a time period, with example metrics (CPU usage, memory usage, user online periods). This clearly distinguishes it as a per-desktop monitoring data retrieval tool, though it does not explicitly differentiate from near-name siblings like drs__ShowMonitorData or dws__ListMonitorIndicatorData.

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

Usage Guidelines3/5

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

The description supplies concrete operational bounds: the time window must be 1 hour to 30 days, and data retention cannot exceed 180 days. That is genuine usage context, but there is no explicit when-to-use / when-not-to-use guidance and no naming of alternatives for overlapping monitoring queries.

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