Skip to main content
Glama

drs__CreateDataLevelTableCompareJob

Creates a data-level table comparison job to verify row-level consistency between source and target databases, with options for comparison scope, sampling, and scheduling.

Instructions

[DRS] 创建数据级表对比任务。

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": {
      "job_id": "<job_id>",
      "project_id": "<project_id>",
      "type": "<type>"
    },
    "name": "drs__CreateDataLevelTableCompareJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes对比类型。
job_idYes任务ID。
optionsNo对比配置项,key-value形式。
project_idYes租户在某一Region下的Project ID。
start_timeNo对比任务启动时间,时间戳格式,取值为空代表立即启动。
compare_modeNo数据级对比模式,取值为空时需要在compare_object或者compare_object_with_token传对象信息,quick_comparison-快速对比。quick_comparison
compare_objectNo数据级对比的对象。
compare_task_numNo对比任务线程数量,当前仅cloudDataGuard-cassandra和cloudDataGuard-gausscassandra-to-gausscassandra链路支持。
proportion_valueNo抽样比例,对比类型为抽样对比时填写。
compare_object_with_tokenNo数据级对比的对象(Cassandra灾备专用,带token信息)。
compare_transformation_infosNo过滤数据信息。

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 provided, so the description carries the full behavioral-disclosure burden for a mutation operation. It does not mention permissions, whether the job starts immediately, async behavior, idempotency, or side effects, beyond the bare implication of 'create'.

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 one short, front-loaded sentence with no unnecessary wording. However, for an 11-parameter nested-object mutation tool, it is too terse to be appropriately sized.

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?

The tool is a complex create operation with required job_id, project_id, type, nested object parameters, and no annotations or output schema. The description is far too sparse to explain prerequisites, object-level versus data-level selection, or what a successful creation returns.

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 the baseline is 3. The description adds no parameter-level meaning or guidance about the nested compare-object structures, compare modes, or filter/transformation inputs already documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '创建数据级表对比任务' only restates the tool name (CreateDataLevelTableCompareJob) in Chinese, with no elaboration of scope or effect. It is clear at a glance but offers no information beyond the identifier, which is the definition of tautological naming.

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 guidance on when to use this tool versus siblings such as drs__CreateObjectLevelCompareJob, drs__StartPromptlyDataLevelTableCompareJob, or drs__ListDataLevelTableCompareJobs. The agent must infer usage entirely from the name.

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