Skip to main content
Glama

hss__ListJarPackageStatistics

Query jar package and middleware statistics, filter by name or category, and map results to the corresponding server tree for HSS asset visibility.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden for a 6-parameter statistics endpoint. The verb '查询' weakly implies a read-only operation, but the description says nothing about aggregation semantics, permissions, pagination behavior, or what the statistics represent, and its 'server tree' claim is unrelated to the 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?

It is a single short sentence with the [HSS] prefix and the action front-loaded, so there is no padding or redundant clause. The problem is accuracy, not length; the sentence is efficiently built even though its content is wrong.

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?

For a statistics tool with six parameters, no output schema, and no annotations, the description supplies nothing an agent needs: no return shape, no field meanings, no constraints. Worse, its only substantive content (middleware list / server tree) is inconsistent with the tool name and schema, leaving the definition effectively undocumented.

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 the schema itself documents limit, offset, category, file_name, project_id, and enterprise_project_id — establishing the baseline of 3. The description adds no parameter meaning and in fact references a 'middleware name' filter that maps to no parameter, so it neither helps nor compensates.

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 says '查询中间件列表' (query middleware list) and '服务器树' (server tree), but the tool is named ListJarPackageStatistics and its parameters are file_name ('jar包名称'), category, and project_id — nothing about middleware or server trees. A verb and resource are stated, but they describe a different tool, so an agent reading only the description would select it for the wrong task.

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 or when-not-to-use guidance, and no reference to siblings such as hss__ListJarPackageHostInfo. The only usage hint — 'filter by middleware name' — points to a filter that does not exist in the schema, actively misdirecting rather than merely omitting guidance.

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