Skip to main content
Glama

coc__ExecutePublicScript

Executes a public script across specified Huawei Cloud ECS instances in configurable batches, using execution user, timeout, and success-rate parameters.

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_batches": "<execute_batches>",
      "execute_param": "<execute_param>",
      "script_uuid": "<script_uuid>"
    },
    "name": "coc__ExecutePublicScript"
  }
}

Input Schema

NameRequiredDescriptionDefault
script_uuidYes公共脚本Uuid
execute_paramYes脚本执行参数
execute_batchesYes目标实例分批信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description bears the full disclosure burden, and it discloses nothing. It does not mention that this runs commands on target cloud servers, what the batching and CONTINUE/PAUSE rotation semantics imply for interruption, whether execution is irreversible, whether permissions or risk checks are required, or what happens on partial batch failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only a tag plus a noun phrase, so brevity here reflects under-specification rather than economy. There is no front-loaded guidance or structure an agent could act on for a tool with three required, heavily nested parameters.

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 a high-impact, deeply nested execution tool with no annotations and no output schema, so the description is the only place behavioral context could live — and it provides none. An agent cannot tell from this text what the tool does to servers, what the batching rules mean, or what is returned.

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 each of the three required parameters (script_uuid, execute_param, execute_batches) and their deeply nested fields are already documented in the schema. The description contributes no additional semantics, which meets the baseline-3 expectation given the excellent schema coverage.

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?

"[COC] 执行公共脚本" is essentially the tool name (ExecutePublicScript) rendered in Chinese with a product tag. It states an action and an object, but adds no specificity beyond what the name already conveys, and it does not distinguish this from the sibling coc__ExecuteScript (non-public script execution) or coc__AcceptScript.

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 at all: nothing about prerequisites (whether the script UUID must be an approved/checked public script), when to prefer this over coc__ExecuteScript, or when not to call it. The agent must infer call conditions 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