Skip to main content
Glama

css__CreateAiOps

Creates a CSS cluster detection task to monitor cluster health, with optional SMN alarm notifications and task description.

Instructions

[CSS] 该接口用于创建一个集群检测任务。

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": {
      "cluster_id": "<cluster_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "css__CreateAiOps"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes检测任务名称。
alarmNo检测任务完成后发送SMN告警消息。
cluster_idYes指定待操作的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
descriptionNo检测任务描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations and no output schema exist, so the description carries the full behavioral burden but supplies almost nothing: it does not say whether task creation is asynchronous, whether it can be triggered repeatedly, what permissions the project/cluster require, or what the alarm block changes downstream. Only the bare mutation intent is conveyed.

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 short sentence with no filler and the core purpose front-loaded. It is lean rather than padded, though the leanness coincides with the gaps noted elsewhere.

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

Completeness4/5

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

Scored against its low complexity: a create-only call whose parameters are fully documented in the schema and whose safety profile needs no annotation caveats. The absence of return-value or post-creation semantics is a minor gap for a task-creating endpoint.

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 parameters (cluster_id, project_id, name, description, alarm with level/smn_topic) are already documented in the schema. The description adds no meaning beyond that baseline, which is adequate but not additive.

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 and resource ("创建一个集群检测任务" – create a cluster detection task), which tells an agent exactly what the tool produces. It does not explicitly differentiate itself from DeleteAiOps/ListAiOps, so it stops short of a 5.

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 guidance on when to use this tool versus the sibling AiOps operations (ListAiOps, DeleteAiOps), no prerequisites, and no statement of what state the cluster must be in before creating a detection task. The agent must infer usage entirely from the name.

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