Skip to main content
Glama

ces__BatchCreateAgentInvocations

Batch creates CES Agent tasks to install, update, roll back, or retry telescope agent operations across multiple hosts or existing task IDs.

Instructions

[CES] 批量创建Agent任务

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": {
      "invocation_type": "<invocation_type>",
      "project_id": "<project_id>"
    },
    "name": "ces__BatchCreateAgentInvocations"
  }
}

Input Schema

NameRequiredDescriptionDefault
originNoAgent任务接口调用源,CES表示由Console调用,APICOM_BMS表示由裸金属服务器调用,ADMIN_SERVER表示由运维平台调用
versionNo版本号
project_idYes项目id
instance_idsNo主机id列表(INSTALL和UPDATE时必须)
version_typeNo插件升级时需要选择升级“基础版本”还是“增强版本”,传值“BASIC_VERSION”表示升级成基础版本,传值“ADVANCE_VERSION”表示升级成增强版本
invocation_idsNo任务ID列表(ROLLBACK和RETRY时必须)
invocation_typeYes任务类型,INSTALL 安装,UPDATE升级,ROLLBACK回退,RETRY重试
invocation_targetNo任务对象,目前仅支持telescopetelescope

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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 it discloses nothing. It does not say this is a mutating batch operation, that INSTALL/UPDATE act on host instance_ids while ROLLBACK/RETRY act on existing invocation_ids, that up to 100 items are processed per call, or what happens on partial failure.

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 single phrase is front-loaded and contains no filler, but its brevity here reflects under-specification rather than economy. There is no structure to speak of because there is only a translated title.

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

Completeness1/5

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

This is an eight-parameter batch mutation tool with conditional requirements (instance_ids for INSTALL/UPDATE, invocation_ids for ROLLBACK/RETRY), four enums, and no output schema or annotations. A one-phrase description leaves the agent without the risk profile, preconditions, or behavioral context needed to invoke it safely.

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% and four parameters carry enums with inline explanations, so the schema already documents parameter meaning thoroughly. The description adds no parameter semantics of its own, which is the expected baseline 3 when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[CES] 批量创建Agent任务" is essentially the tool name translated into Chinese, so it restates the title rather than explaining the operation. It gives no indication that this batch endpoint actually triggers install, upgrade, rollback, or retry work on agent hosts, which is the real purpose implied by the invocation_type enum.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool, no mention of the conditions that distinguish it from siblings such as BatchCreateResources or the various install/upgrade agent tools, and no exclusions. An agent has nothing in the description to route on.

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