Skip to main content
Glama

aom__ShowAgentInfos

Queries AOM hosts that have completed UniAgent installation tasks, with pagination and filters by ECS, agent, or CMDB ID.

Instructions

[AOM] 该接口用于查询执行过安装UniAgent任务的主机列表信息。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aom__ShowAgentInfos"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo分页查询的起始页数(第几页)。默认值:1。
page_sizeNo每页查询数量,默认20。
ecs_id_listNoecs ID列表信息。
agent_id_listNoagent ID列表信息。
coc_cmdb_id_listNocmdb ID列表信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose the key scoping behavior — only hosts that have executed the UniAgent installation task are returned — and 查询 implies a read-only operation. It omits return shape, pagination limits, permission requirements, and whether the id filters are ANDed or ORed.

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 with no filler, and the scoping condition is stated before anything else. It is arguably too terse for a five-parameter list endpoint, but there is no wasted wording.

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

Completeness3/5

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

All parameters are optional, there is no output schema and no annotations, so the description is the only behavioral source. It covers the core purpose and scope but leaves the agent without guidance on filter interaction, pagination defaults, or when this endpoint is preferable to the sibling agent tools.

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 all five optional parameters (page, page_size, ecs_id_list, agent_id_list, coc_cmdb_id_list) are already documented in the schema. The description adds no parameter-level meaning such as default page size or multi-filter combination semantics, so the 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 names a specific verb (查询/query) and a specific resource (hosts that have run the UniAgent installation task), which is more precise than the opaque name ShowAgentInfos. It does not explicitly contrast itself with nearby siblings such as aom__BatchImportAgent or aom__BatchUpdateAgent, so the read-vs-write distinction is only implied.

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: nothing says when to call this instead of the batch import/update agent tools or other host-listing endpoints. The only hint is the implicit scope (hosts that executed the install task), with no prerequisites, no exclusion conditions, and no note on how the optional filters should be combined.

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