Skip to main content
Glama

dataartsstudio__CreateTemplate

Creates a DataArts Studio rule template by defining SQL logic, quality dimension, directory, version, and publish status for a specified project.

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

Input Schema

NameRequiredDescriptionDefault
idNotemplate id
nameNotemplate name
statusNo规则模板状态,0表示下线1表示已发布
publishNo是否是发布操作, true:发布新版本 false:普通的保存操作
sql_infoNo模板中的sql内容
project_idYesproject id
descriptionNo描述
origin_nameNo修改前的模板名
version_numNo获取模板信息时候的版本号
dimension_idNo维度ID, 1:完整性,2:唯一性,3:及时性,4:有效性,5:准确性,6:一致性
directory_idNo目录
result_descriptionNo结果说明
abnormal_table_templateNo异常表模板
user_define_version_nameNo用户自定义版本名V1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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, yet it only implies a create/mutate operation. It says nothing about the publish-versus-save distinction (the schema has a 'publish' flag and version semantics), permission requirements, side effects, or whether creation is versioned and idempotent.

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 bracketed phrase is free of redundancy and front-loaded, but it is too terse to be called well-structured guidance. It is short 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?

This tool has 14 parameters, a publish/version workflow, no annotations, and no output schema, so the description should explain the creation and publication model. A five-character restatement of the name cannot support correct invocation of such a complex operation.

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% across all 14 parameters, including the tricky 'publish', 'origin_name', 'version_num', and 'dimension_id' fields, so the schema already does the explanatory work. The description adds no parameter meaning beyond the schema, which sets the baseline at 3.

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 text "创建规则模板" (create rule template) does give a verb plus a resource, and the word "规则" (rule) mildly distinguishes it from siblings like CreateStandardTemplate. However, it is essentially a restatement of the tool name with no statement of scope, target objects, or how it differs from UpdateTemplate or CreateStandardTemplate.

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 at all: nothing says when to create a rule template versus updating one, versus creating a standard template. No prerequisites, no alternatives, no exclusions are given.

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