Skip to main content
Glama

dataartsstudio__CreateDirectory

Creates a directory for data standards or code tables in Huawei Cloud DataArts Studio, organizing catalog entries under a specified project, parent, and sibling order.

Instructions

[DATAARTSSTUDIO] 创建目录(数据标准、码表)。

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": {
      "name": "<name>",
      "parent_id": "<parent_id>",
      "prev_id": "<prev_id>",
      "project_id": "<project_id>",
      "type": "<type>"
    },
    "name": "dataartsstudio__CreateDirectory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID,创建时可不传,更新时必填。填写String类型替代Long类型。
nameYes目录名称。
typeYes目录类型。
ref_idNo关联的主题ID,ID字符串。
prev_idYes上个节点ID,首节点传null。填写String类型替代Long类型。
root_idNo根节点ID,根节点此ID为自身ID,只读。填写String类型替代Long类型。
childrenNo子目录。
create_byNo创建人,只读。
parent_idYes父目录ID,首层传null。填写String类型替代Long类型。
update_byNo更新人,只读。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
create_timeNo创建时间,只读,格式遵循RFC3339,精确到秒,UTC时区,即yyyy-mm-ddTHH:MM:SSZ,如1970-01-01T00:00:00Z。
descriptionNo描述。
from_publicNo是否来自公共层,只读。
update_timeNo更新时间,只读,格式遵循RFC3339,精确到秒,UTC时区,即yyyy-mm-ddTHH:MM:SSZ,如1970-01-01T00:00:00Z。
qualified_nameNo目录的资产名称,只读。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 does not meet it. It does not state that this is a write/mutation operation, whether it is idempotent (the schema's id field hints at create-or-update semantics, which the description never explains), what permissions are required, or what happens on naming collisions in the same parent.

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 definition is a single short line with zero padding and is fully front-loaded. It is efficient, though its brevity borders on under-specification rather than true conciseness.

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 16-parameter mutation tool with 5 required fields, no annotations, and no output schema, a one-line description is far too thin. An agent gets no help on directory hierarchy construction (parent_id vs prev_id vs root_id), required permission scoping, or what the call returns.

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 including the read-only fields is already documented inline; the baseline of 3 applies. The description only implicitly maps '(数据标准、码表)' to the type enum and adds no new meaning for parent_id, prev_id, or ordering semantics beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (创建/Create) and resource (目录/Directory), and the parenthetical '(数据标准、码表)' scopes it to the two directory kinds that match the type enum. It is clear what is created, though it offers no differentiation from siblings such as DeleteDirectory/UpdateDirectory or the separate CreateCatalog tool.

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 (e.g. that project_id must be resolved first, or that parent_id/prev_id can be null for top-level/first nodes), and no mention of alternatives. The agent must infer all invocation context from the schema 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