Skip to main content
Glama

hss__ListAppStatistics

Query software inventory statistics to return server counts by software name, with pagination and optional project/category filters.

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__ListAppStatistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
app_nameNo软件名称
categoryNo类别,默认为host,包含如下:
project_idYes项目ID
enterprise_project_idNo主机所属的企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 entire burden, and it discloses almost nothing behavioral. It does not say whether results are paginated in practice, what the count represents (distinct hosts? assets?), whether project_id scoping is mandatory in effect, or what permissions are needed for a read.

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 resource and the key filter front-loaded; nothing is wasted. It is terse to the point of under-specification, but that is a completeness problem rather than a verbosity one.

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 is the only place an agent can learn how this behaves, and it says only one sentence. The category parameter's allowed values are even left dangling in the schema text ("包含如下:"), and the description does nothing to compensate.

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 limit, offset, app_name, category, project_id and enterprise_project_id are all documented in the schema itself. The description only reinforces app_name as the filtering dimension and adds no format or semantics beyond that, so the baseline 3 applies.

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 states a verb and resource ("查询软件列表") and adds that the result is the server count per software name, which hints at an aggregation. However, it never reconciles the name's "Statistics" framing with the "software list" wording, and it gives no basis for distinguishing this tool 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 exclusions, and no named alternative. An agent cannot tell from this text whether to reach for ListAppStatistics or hss__ListWebAppAndServiceStatistics when it wants application-level data.

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