Skip to main content
Glama

dlf__CreateScript

Creates a Data Lake Factory script with a chosen SQL or Shell type, content, database, directory, and optional DLI queue or connection settings for a Huawei Cloud project.

Instructions

[DLF] 创建脚本

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": {
      "project_id": "<project_id>"
    },
    "name": "dlf__CreateScript"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
typeNo脚本类型
contentNo脚本内容
databaseNo脚本执行所在的数据库
directoryNo脚本关联的目录
queueNameNo脚本关联的DLI队列名称
project_idYes
configurationNo脚本的配置项参数
connectionNameNo脚本关联的连接名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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, yet it discloses nothing about required permissions, whether the script is executed on creation, whether the operation is reversible, or what the response contains. For a mutation tool with nine parameters this is a serious 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 definition is a single short phrase with zero waste and is inherently front-loaded, but its brevity stems from under-specification rather than disciplined editing.

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 nine-parameter creation tool with no annotations and no output schema needs far more than one phrase. Nothing tells the agent which parameters are essential, what the script types imply, or what a successful call produces.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 78%, with gaps such as an empty description for project_id and no description for name. The description provides no parameter-level meaning at all, so it fails to compensate for those undocumented fields even though the schema covers most others.

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 "[DLF] 创建脚本" states a verb (create) and resource (script), but it is essentially the tool name translated into Chinese, adding no scope, target object, or differentiation from siblings such as dlf__UpdateScript or dlf__CreateJob.

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 guidance on when to create a script versus updating or executing one, no prerequisites (e.g. project context), and no mention of related siblings. The agent must infer usage entirely 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