Skip to main content
Glama

coc__ListInstancesBatch

Retrieves automatic batching results for target instances using the AUTO_BATCH strategy, helping organize hosts into execution batches.

Instructions

[COC] 根据分批策略获取分批结果,只支持自动分批:

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": {
      "batch_strategy": "<batch_strategy>",
      "target_instances": "<target_instances>"
    },
    "name": "coc__ListInstancesBatch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_strategyYes分批策略:只支持自动分批
target_instancesYes目标主机实例

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. It does not say whether the operation is read-only (only '获取' implies it), whether results are paginated or capped, what authorization or agent-online state is needed, or what the response contains. The trailing colon also suggests the text was truncated, leaving behavior undefined.

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?

The text is a single short sentence with no waste, but it ends in a colon, which reads as an incomplete fragment. Brevity here reflects under-specification rather than disciplined 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 two-parameter list tool with no annotations and no output schema, the description should explain what a 'batch result' contains and how the target instance list affects the result. It does neither, so an agent knows the tool's name but not what it will receive or how to interpret the output.

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 already documents both parameters thoroughly. The description only echoes the batch_strategy enum restriction and adds no detail on target_instances semantics, the 200-instance cap, or the deprecated nested fields. A baseline 3 is appropriate when the schema does the heavy lifting.

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 names an action and object ('获取分批结果' – get batch results), but 'batch results' is vague and does not say what the returned instances represent. The only additional qualifier, 'only supports automatic batching', just restates the enum. An agent cannot distinguish this from siblings such as coc__ListExecutionInstances or coc__GetScriptJobBatch based on the text alone.

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?

The description states one constraint ('only automatic batching is supported') but gives no guidance on when to use this tool versus related listing tools. There is no mention of prerequisites, which batch strategy choices are valid, or what problem the tool solves, leaving the agent to guess.

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