Skip to main content
Glama

cdm__CreateAndStartRandomClusterJob

Creates and starts data migration jobs on a randomly selected running CDM cluster from a provided ID list, simplifying job execution without manually choosing a cluster.

Instructions

[CDM] 随机集群创建作业并执行接口。

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": {
      "clusters": "<clusters>",
      "jobs": "<jobs>",
      "project_id": "<project_id>"
    },
    "name": "cdm__CreateAndStartRandomClusterJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYes作业列表,请参见jobs数据结构说明。
clustersYesCDM集群ID列表,系统会从里面随机选择一个开机状态的集群,在该集群中创建作业并执行作业。
project_idYes项目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 burden and delivers almost nothing. It implies a write plus execution (mutation, non-idempotent, side effects on a production cluster) but does not say whether execution is synchronous, whether the job persists if execution fails, what permissions are required, or what the response contains; the detail that only a powered-on cluster is chosen lives in the schema, not the description.

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, front-loaded with the action and with no filler; the only wasted token is the bracketed '[CDM]' product tag. Its problem is under-specification rather than verbosity, which is penalized in other dimensions.

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?

The tool is complex: three required params, a deeply nested job specification with from/to/driver config structures, and no annotations or output schema to fall back on. For that level of complexity a one-line description leaves the agent without critical context about execution behavior, failure modes, or return values.

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 the nested job/cluster structures are extensively self-documented, so the schema already carries parameter meaning. The description adds no parameter-specific guidance (e.g. how the clusters list interacts with the random selection or how jobs must be fully specified), so baseline 3 applies.

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 the action (create a job and execute it) and the qualifier '随机集群' (random cluster), which mildly separates it from siblings like cdm__CreateJob and cdm__StartJob. However, it is essentially a restatement of the tool name with the generic word '接口' appended, and it never explains what 'random cluster' selection actually means.

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 precondition or exclusion, and no reference to the obvious alternatives (cdm__CreateJob plus cdm__StartJob, or cdm__CreateAndStartRandomClusterJob vs targeting a specific cluster). The agent must infer selection criteria entirely from the tool 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