Skip to main content
Glama

coc__AcceptScript

Approve or reject a Huawei Cloud COC script by UUID, with optional review comments, to complete script approval workflows.

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": {
      "script_uuid": "<script_uuid>",
      "status": "<status>"
    },
    "name": "coc__AcceptScript"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes审批状态
commentsNo审批意见
script_uuidYes脚本Uuid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 full behavioral burden, and it discloses nothing about side effects, required permissions, irreversibility of a REJECTED decision, or what state the script transitions into. A mutation with legal/operational consequences gets a four-character label.

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?

It is a single short clause with no filler, so it is front-loaded and compact. But the brevity comes from omission rather than discipline — there is effectively one noun phrase of content where at least a sentence of decision context is needed.

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?

For a two-required-parameter state-changing approval tool with no annotations and no output schema, the definition supplies only a label. An agent cannot know from this text who may call it, whether the action is reversible, or what a successful response represents.

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 every parameter (script_uuid, status, comments) is already documented with types, enums, and length bounds; baseline 3 applies. The description adds nothing about the parameters and notably fails to note that the enum allows REJECTED, which is the single most important semantic the prose could have reinforced.

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 a verb and resource ('审批脚本' / approve-review a script), which is more than a tautology given the qualified name AcceptScript. However, it never clarifies that this tool both approves AND rejects based on the status argument, so an agent could mistake it for an approval-only action. It also makes no attempt to distinguish itself from siblings such as coc__CheckScriptRisk or coc__UpdateScript.

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 when-to-use guidance at all: no preconditions (e.g. script must be in a pending-review state), no mention of a risk-check step before approval, and no reference to any alternative or follow-up tool. The agent must infer the entire workflow from the name alone.

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