Skip to main content
Glama

hss__ListProcessStatistics

Query HSS process statistics by executable path to see how many servers run a specified process, with pagination and project scoping for host inventory analysis.

Instructions

[HSS] 查询进程列表,通过传入进程路径参数查询对应的服务器数

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

Input Schema

NameRequiredDescriptionDefault
pathNo可执行进程路径
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
categoryNo类别,默认为host,包含如下:
project_idYes项目ID
enterprise_project_idNo主机所属的企业项目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 provided, so the description carries the full behavioral burden and does not meet it. It does not state that the operation is read-only, how results are paginated (limit defaults to 10, max 100 in the schema), what the maximum offset of 10000 implies, or what "统计" output actually contains; only the vague tag "[HSS]" hints at the product domain.

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 filler, which is good, but the second clause undercuts the first rather than front-loading a clear purpose, so the brevity comes at the cost of a coherent statement of what the tool returns.

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 six parameters, no annotations, and no output schema, the description should explain what statistics are returned (per-process host counts?) and how filtering by path, category, and enterprise project combine. Instead it leaves the return shape and the role of the category field unresolved, which is inadequate for this complexity.

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%, so every one of the six parameters is already documented in the schema, and the baseline is 3. The description nominally highlights path as the filtering key, which adds a little emphasis, but it says nothing about project_id, category, enterprise_project_id, or the interaction between pagination fields.

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 gives a verb and a resource ("查询进程列表"), but immediately muddies it by saying the goal is "查询对应的服务器数" (query the corresponding server count). An agent cannot tell whether this returns a list of processes or an aggregate count of affected servers, and it never distinguishes itself from the many sibling hss__List*Statistics tools.

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 when-to-use guidance, no statement of when to prefer this over related statistics tools such as hss__ListAppStatistics or hss__ListPortStatistics, and no prerequisites. The only hint at a selection condition is that path can be passed, which is inferred rather than stated.

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