Skip to main content
Glama

coc__CreateDocument

Creates a custom Cloud Operations Center job from DSL content, specifying its name, enterprise project, and risk level for controlled execution.

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": {
      "content": "<content>",
      "enterprise_project_id": "<enterprise_project_id>",
      "name": "<name>",
      "risk_level": "<risk_level>"
    },
    "name": "coc__CreateDocument"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes作业名称
tagsNo标签列表
contentYes作业内容,DSL语句,最大长度64KB
risk_levelYes风险等级。
descriptionNo描述
enterprise_project_idYes企业项目id

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 carries the full behavioral burden, and it discloses nothing: no statement about required permissions, what the required risk_level means operationally, whether execution is triggered, or whether the created object is mutable/deletable afterward. For a create mutation with 4 required parameters, this is a complete 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?

It is a single short phrase with no wasted words, but the terseness comes from under-specification rather than disciplined editing. There is no front-loaded statement of what the tool produces or how it behaves.

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?

A six-parameter create mutation with four required fields, a risk_level enum, no annotations, and no output schema needs substantially more explanation than one sentence. Nothing tells the agent what a successful creation returns or how it relates to ExecuteDocument.

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 inline descriptions for name, content (DSL, max 64KB), risk_level enum, tags, description, and enterprise_project_id. The description adds no additional meaning beyond the schema, so the baseline of 3 applies.

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] 创建自定义作业" restates the tool name (CreateDocument) in Chinese without adding scope or resource detail. It does signal a create operation, but "作业" (job) does not clearly match "Document", and nothing distinguishes it from coc__CreateScript or coc__CreateScheduledTask in the sibling list.

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 prerequisites, and no mention of alternatives such as coc__UpdateDocument or coc__CreateScript. An agent must infer usage purely 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