Skip to main content
Glama

codeartsinspector__AddGroup

Batch create host groups in CodeArts Inspector for a given project to organize hosts for inspection. Use it to add multiple groups in one call when setting up project-level host grouping.

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

Input Schema

NameRequiredDescriptionDefault
project_idYesproject_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 full behavioral burden and does not meet it. It does not say what happens on duplicate group names, whether creation is idempotent, what permissions are required, or what the response contains — gaps that matter for a write operation.

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 vendor prefix and the action front-loaded. Nothing is redundant, though the compression is achieved by omitting substance rather than by editing.

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 mutation tool with no annotations, no output schema, and an apparent mismatch between the advertised batch creation and a single-project-id input, the description is far too thin. It should at minimum explain how groups are supplied and what the call returns.

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 coverage is 100% and the single parameter (project_id, 32-char path id) is fully typed in the schema, so the baseline of 3 applies. The description adds no meaning about the parameter, and notably never explains how a 'batch' create is expressed when the only input is a project id.

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 gives a specific verb and resource (批量创建主机组 = batch-create host groups), which separates it from DeleteGroup and ListGroups by verb alone. However, it never explains what a 'host group' is or what 'batch' means operationally, and the schema exposes only project_id, leaving the purpose only partly resolved.

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 mention of prerequisites or permissions, and no pointer to alternatives such as ListGroups or DeleteGroup. An agent must infer entirely from the verb that this is the creation step in a group lifecycle.

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