Skip to main content
Glama

coc__DeleteDocument

Deletes a custom COC job document by its document ID, enabling removal of obsolete or unwanted job definitions from Huawei Cloud.

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": {
      "document_id": "<document_id>"
    },
    "name": "coc__DeleteDocument"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYes作业uuid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden, and it discloses nothing about irreversibility, required permissions, or what happens to dependent scheduled tasks and executions. For a destructive delete operation, the absence of any consequence or prerequisite information is a material gap.

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?

The single phrase is free of padding and front-loads the action, but it is under-specified rather than efficiently concise. There is nothing extra to trim, yet nothing informative is offered.

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 destructive, one-parameter tool with no annotations and no output schema, the definition does not say what is removed, whether the action is reversible, or what a caller should expect afterwards. An agent would have to guess at the consequences before invoking it.

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 coverage is 100% and the only parameter, document_id, is documented in the schema as the job UUID, so the schema already does the work. The description adds no format, sourcing, or validity detail beyond that, which places it at the baseline for a fully covered schema.

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 phrase "[COC] 删除自定义作业" gives a verb (delete) and an object (custom job), but the object is not consistent with the tool name DeleteDocument, and nothing explains what a "custom job/document" is in this product. An agent can infer it removes something persistent, but cannot distinguish clearly from the sibling deletes such as coc__DeleteScript or coc__DeleteScheduledTask.

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 statement of when to use this tool, when not to, or which sibling to prefer for a different deletion target. The only context is implicit in the name and in the adjacent CreateDocument/UpdateDocument siblings.

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