Skip to main content
Glama

dataartsstudio__UpdateCodeTableValues

Update code table field values by adding, modifying, or removing attributes and values for a specified entity in Huawei Cloud DataArts Studio.

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__UpdateCodeTableValues"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes实体ID,ID字符串。
to_addNo新增码表属性、属性值列表。
to_modifyNo编辑码表属性值列表。
to_removeNo删除码表属性ID列表。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。

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 carries the full behavioral burden, and it discloses almost nothing. "编辑" hints at mutation, but the description never states that the call can create new attributes/values (to_add) or permanently drop them (to_remove), nor does it describe required permissions, whether changes are reversible, or the operational scope of a bulk edit.

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 sentence is front-loaded and wastes no words, but it is terse to the point of under-specification given the complexity of the payload. Brevity here reflects missing content rather than disciplined economy.

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?

This is a complex, unchecked mutation tool with three nested list parameters and no annotations or output schema, so the description needed to explain mutation semantics, add/modify/remove behavior, and error-relevant prerequisites. A one-line summary leaves the agent materially under-informed about a bulk write 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%, so all five parameters (id, project_id, to_add, to_modify, to_remove) are already documented in the schema. The description adds no format, ordering, or interaction semantics 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 gives a verb plus resource ("编辑码表字段值" / edit code-table field values), which is more specific than a bare name restatement, but it omits the tool's real scope: bulk add, modify and remove of code-table attributes and their values, as revealed by the to_add/to_modify/to_remove parameters. An agent cannot tell from the text alone how this differs from dataartsstudio__UpdateCodeTable or dataartsstudio__SearchCodeTableValues.

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 prerequisites such as needing an existing code table and project/entity IDs, and no routing to alternatives like SearchCodeTableValues for reading values. The single sentence implies a mutation but leaves all selection logic to inference.

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