Skip to main content
Glama

dataartsstudio__ImportModels

Import relationship, dimension, code table, data standard, business metric, and process architecture models into Huawei Cloud DataArts Studio for centralized governance.

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": {
      "action-id": "<action-id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__ImportModels"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idNo关系建模的模型ID,在导入模型(import_relation)时必填。
action-idYes需要执行的动作,根据导入的对象不同而选择不同的导入动作。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
skip-existNo是否需要覆盖更新已有的实体。
directory_idNo导入的目录id,在导入码表(import_codetable)和数据标准(import_datastandard)时生效,选填。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 for a mutating tool, yet it discloses nothing about side effects, permission requirements, what happens to pre-existing entities, or whether the operation is idempotent. The only behavioral hint (overwrite semantics via skip-exist) lives in the schema, not the description, and the description adds no transparency of its own.

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?

A single short sentence plus vendor tag, front-loaded with the verb and object list. Nothing is wasted, though the enumerated list largely duplicates the enum values in the schema rather than adding information.

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 mutating, ten-action, five-parameter tool with no annotations and no output schema, the description is far too thin: it omits action selection guidance, return/结果 behavior, and failure handling. The schema covers parameter meaning, but nothing covers what the agent should expect to happen or how to choose among ten import actions.

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 all five parameters are already documented, including the note that model_id is mandatory for import_relation and that directory_id applies only to codetable/datastandard imports. The description merely echoes the object categories behind the action-id enum and adds no syntax, format, or selection detail beyond the schema; baseline 3 applies.

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 specific verb (导入/import) and enumerates the object families covered (关系建模, 维度建模, 码表, 业务指标, 流程架构), which maps loosely to the action-id enum. However, it never says what 'importing' actually means here (uploading a file? copying from another project?) or how it differs from sibling tools such as ImportCatalogs, which overlaps visibly with several of the listed object types.

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 mention of alternatives, and no stated prerequisites (e.g. that import_relation requires model_id, or that directory_id only applies to two of the ten actions). The agent must reverse-engineer all usage conditions from the schema.

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