Skip to main content
Glama

hss__ListJarPackageHostInfo

Lists servers hosting a specified middleware JAR package by file name and project ID, with optional IP, host name, category, and fuzzy-match 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": {
      "file_name": "<file_name>",
      "project_id": "<project_id>"
    },
    "name": "hss__ListJarPackageHostInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
host_ipNo服务器IP
categoryNo类别,包含如下:
file_nameYes文件名称
host_nameNo服务器名称
part_matchNo是否模糊匹配,默认false表示精确匹配
project_idYes项目ID
enterprise_project_idNo主机所属的企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 behavioral burden and falls short. It does not state that results are paginated (limit/offset), that matching defaults to exact unless part_match is set, or that access requires a project scope. Only the bare 'returns a list' behavior is conveyed, with no safety or result-shape context.

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 return value front-loaded; nothing extraneous. The second clause ('by passing in the middleware name parameter...') is somewhat redundant with the first, which keeps it below a 5.

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?

For a 9-parameter, unannotated, no-output-schema listing tool, the description is far too thin. It should at minimum cover pagination, the exact-vs-fuzzy match default, and what a returned host record contains; none of that is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, which sets a baseline of 3, but the description actively muddies parameter meaning by referring to a 'middleware name parameter' that corresponds to none of the schema's fields (the required one is file_name) and omits any mention of filtering by IP, host name, or category. It adds no real meaning over the schema and slightly misdirects.

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 (query the server list for a specified middleware and return matching hosts), so the general intent is legible. However, the tool name is about jar-package host info while the text talks about 'middleware,' and nothing distinguishes it from siblings such as ListJarPackageStatistics or ListWebFrameworkHostInfo. An agent must guess that 'middleware name' maps to file_name.

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?

No when-to-use guidance, no preconditions, and no mention of alternatives. The definition never explains when to pick this host-list tool over the statistics sibling or the other asset-listing tools. Usage must be inferred entirely from the name and required parameters.

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