Skip to main content
Glama

codeartsinspector__ListGroups

Lists host groups for a specified CodeArts Inspector project, using limit and offset for pagination, to support host inventory and security scanning setup.

Instructions

[CODEARTSINSPECTOR] 获取主机组列表

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

Input Schema

NameRequiredDescriptionDefault
limitNo分页查询,每页显示的条目数量
offsetNo分页查询,偏移量,表示从此偏移量开始查询
project_idYesproject_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, yet it says nothing beyond 'get a list'. It does not disclose that listing requires a project_id, that results are paginated with a default limit of 5, whether ordering is stable, or what the response contains. Only the read-only nature of '获取/列表' is inferable.

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 phrase with zero wasted words, which is front-loaded and easy to read. But the brevity comes from under-specification rather than tight editing, so it does not earn a high conciseness score.

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 no annotations, no output schema, and a bare one-line description, an agent has almost nothing to reason about: no pagination behavior, no result contents, and no indication of permission or project-scoping requirements. It is inadequate relative to a paginated list tool with three parameters.

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%, with limit, offset, and project_id all documented in the schema, so the schema does the heavy lifting and a baseline 3 applies. The description adds no meaning about required vs optional parameters or pagination semantics beyond what the schema already provides.

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+resource ('获取主机组列表' = get host group list), so the basic operation is identifiable. However it is a bare restatement of the tool name ListGroups with no scope, no return shape, and no differentiation from the many other List*Groups siblings beyond the CODEARTSINSPECTOR prefix.

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 when-not-to-use, and no mention of alternatives such as other host-group listing tools. The only implied usage comes from the tool name itself, leaving the agent to infer that this lists host groups within a project.

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