Skip to main content
Glama

dataartsstudio__UpdateBizMetric

Update a DataArts Studio business metric to revise its definition, calculation expression, refresh interval, ownership, and catalog details.

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": {
      "biz_catalog_id": "<biz_catalog_id>",
      "definition": "<definition>",
      "destination": "<destination>",
      "expression": "<expression>",
      "interval_type": "<interval_type>",
      "name": "<name>",
      "owner": "<owner>",
      "owner_department": "<owner_department>",
      "project_id": "<project_id>",
      "time_filters": "<time_filters>"
    },
    "name": "dataartsstudio__UpdateBizMetric"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo编码,更新时必填,创建时为空,ID字符串。
l1No主题域分组中文名,只读,创建和更新时无需填写。
l2No主题域中文名,只读,创建和更新时无需填写。
l3No业务对象中文名,只读,创建和更新时无需填写。
codeNo指标编码,只读。
guidNo资产同步后的guid,只读。
nameYes指标名称。
unitNo计量单位。
ownerYes指标责任人。
remarkNo备注。
statusNo实体的发布状态,只读,创建和更新时无需填写。
measureNo度量对象。
new_bizNo业务版本管理,只读。
biz_typeNo业务实体类型。
create_byNo创建人,只读。
update_byNo更新人,只读。
biz_metricNo生产环境创建表状态
definitionYes指标定义。
dimensionsNo统计维度。
expressionYes计算公式。
name_aliasNo指标别名。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
create_timeNo创建时间,只读,格式遵循RFC3339,精确到秒,UTC时区,即yyyy-mm-ddTHH:MM:SSZ,如1970-01-01T00:00:00Z。
data_originNo数据来源。
destinationYes设置目的。
update_timeNo更新时间,只读,格式遵循RFC3339,精确到秒,UTC时区,即yyyy-mm-ddTHH:MM:SSZ,如1970-01-01T00:00:00Z。
time_filtersYes统计周期(时间限定)。
approval_infoNo审批信息,只读参数。业务对象最近一次的审批信息,包括审批的业务详情、审核人信息、审核时间等。
interval_typeYes刷新频率。DAY
apply_scenarioNo应用场景。
biz_catalog_idYes归属的流程架构的ID,ID字符串。
summary_statusNo生产环境创建表状态
general_filtersNo统计口径和修饰词。
biz_catalog_pathNo归属的流程架构路径,只读。
owner_departmentYes指标管理部门。
technical_metricNo关联技术指标,ID字符串。
self_defined_fieldsNo自定义项
technical_metric_nameNo关联技术指标名称,只读。
technical_metric_typeNo业务实体类型。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral load, and it does not. It conveys only that this is a mutation, saying nothing about required identifiers, partial vs full replacement, approval/publish side effects (the schema exposes status/approval fields), or permission needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single seven-word sentence with no waste, but that brevity is under-specification rather than conciseness for a 39-parameter mutation tool. The "[DATAARTSSTUDIO]" prefix carries little information.

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?

With 39 parameters, 10 required fields, nested objects, no annotations, and no output schema, the description omits everything an agent needs about scope, side effects, and required inputs. It is completely inadequate for a tool of this complexity.

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 39 parameters, including enums and read-only markers, are already documented in the schema. The description adds no meaning beyond that, which is the baseline expectation when the schema does the heavy lifting.

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?

"更新业务指标" gives a verb (update) and a resource (business metric), but it is essentially the tool name restated in Chinese. It does not say what part of the metric gets updated, nor does it distinguish this tool from the many sibling Update* tools (e.g. UpdateDesignCompoundMetric) in the same namespace.

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 reference to alternatives such as CreateBizMetric or UpdateDesignCompoundMetric. An agent must infer from the name alone that this is for modifying an existing metric rather than creating one.

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