Skip to main content
Glama

coc__OperateScriptJob

Manages Huawei Cloud COC script job operations: cancel an instance or order, skip a batch, or pause and resume an entire work order.

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": {
      "execute_uuid": "<execute_uuid>",
      "operation_type": "<operation_type>"
    },
    "name": "coc__OperateScriptJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_indexNo适用于批次操作时
instance_idNo适用于实例操作时
execute_uuidYes脚本工单的执行Id,取自executeJobScript和ListJobScriptOrders返回体中
operation_typeYes操作类型:取消实例、跳过批次、取消整个工单、暂停整个工单、继续整个工单

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 provided, so the description carries the full behavioral burden. It names destructive-sounding operations such as cancel, skip, pause, and continue, but does not disclose consequences, whether pause is reversible, what happens to running instances, required permissions, or error behavior.

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?

The description is a single short clause with no filler and the operation list is front-loaded. Its brevity is efficient, although much of the content duplicates the operation_type enum rather than adding new information.

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?

This is a four-parameter mutation tool with no annotations and no output schema, so the description should explain execution consequences, permissions, and operation-specific parameter requirements. Instead it only enumerates operation types, which is not enough for an agent to invoke it confidently.

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%, with each parameter documented, including the conditional applicability of batch_index and instance_id. The description adds no meaning beyond the schema and mostly repeats the operation_type enum description, so the baseline 3 is appropriate.

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 lists operation types (cancel instance, skip batch, cancel/pause/continue order), which gives some sense of what the tool does, but it frames them only as 'operation_type' values and never states that it operates on a running script job execution. It does not distinguish this tool from the sibling coc__OperateExecution.

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 alternatives, or which operation type applies in which situation. It also does not explain that batch_index is needed for batch operations and instance_id for instance operations, leaving required parameter combinations to inference from the schema.

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