Skip to main content
Glama

dataartsstudio__UpdateTemplate

Updates DataArts Studio rule templates, including SQL content, status, description, and dimension settings, and supports publishing a new version when needed.

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

Input Schema

NameRequiredDescriptionDefault
idYestemplate 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.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description bears the full disclosure burden, yet it says nothing about mutation effects, required permissions, versioning consequences, or irreversibility. The important behavioral distinction between 'publish a new version' and 'plain save' is only visible in the schema's publish parameter description, not in the tool description. Not misleading, but effectively silent on behavior.

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 description is a single short phrase with no redundant wording, which satisfies brevity, but brevity here comes at the cost of under-specification rather than efficient information density. There is no structure or front-loaded qualifiers because there is essentially only the action name.

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 14-parameter mutation tool with no annotations and no output schema, a five-character description is far too thin. The rich schema partially compensates for parameter documentation, but nothing tells the agent about publish semantics, version handling, or side effects that matter when updating a rule template.

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 14 parameters (including the nuanced publish, status, version_num, and origin_name fields) are already documented in the schema. The description adds no parameter meaning beyond that, so the 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 states a verb and resource ('更新规则模板' / update rule template), which is at least specific about the action type. However, it offers no scope, no qualifying detail, and nothing that distinguishes it from the many sibling update/create template tools in the catalog, leaving an agent to guess from the name alone.

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 prerequisite conditions, and no mention of alternatives such as CreateTemplate or UpdateStandardTemplate. The agent must infer usage entirely from the tool name and the sibling list.

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