Skip to main content
Glama

dataartsstudio__DeleteCodeTable

Deletes one or more DataArts Studio code tables by ID within a project, with an option to remove associated physical tables.

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

Input Schema

NameRequiredDescriptionDefault
idsYesID列表,ID字符串。
del_typesNo删除物理表。
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 burden. It states only that something is deleted, without disclosing that the action is irreversible, what permissions or project scope are required, whether deletion cascades, or what `del_types=PHYSICAL_TABLE` actually destroys. The physical-table deletion side effect in particular is a significant undisclosed behavioral trait.

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 has no padding within itself, but the "[DATAARTSSTUDIO]" prefix is namespace noise rather than information. Brevity here reflects under-specification rather than disciplined compression.

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 destructive, no-annotation, no-output-schema tool with a subtly overloaded enum parameter. Given that complexity, the description should at minimum warn about irreversibility and explain the `del_types` mode; it does neither, leaving the definition incomplete for safe invocation.

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 three parameters are already documented in the schema, and the baseline is 3. The description adds no meaning beyond that, notably failing to clarify the ambiguous `del_types` enum whose schema text ("删除物理表") is terse.

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?

"删除码表" names a clear verb (delete) and resource (code table), so the basic action is identifiable. However, the description says nothing about batch semantics (the required `ids` array with minItems:1), and it omits that the operation can also delete a physical table via `del_types`, which materially changes what the tool does. It also does not distinguish itself explicitly from sibling delete tools such as DeleteTableModel or DeleteDesignAggregationLogicTable.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as UpdateCodeTable. The only routing signal is the word "删除" in the name. For a destructive operation among many similarly named delete tools, this leaves the agent to infer selection entirely on its own.

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