Skip to main content
Glama

drs__BatchChangeData

Batch configure data transformation rules for selected DRS synchronization objects, adding SQL condition filters or advanced row filters to control replicated data.

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": {
      "jobs": "<jobs>",
      "project_id": "<project_id>"
    },
    "name": "drs__BatchChangeData"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYes批量数据加工规则请求列表
project_idYes租户在某一region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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. It does not disclose that this is a mutating operation that creates rules, whether existing rules are replaced or appended, whether changes are reversible, what permissions are needed, or what happens on partial failure across the batch of jobs.

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

Conciseness4/5

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

It is a single short sentence with no filler, though the '[DRS]' prefix is redundant and the sentence leads with product framing rather than the action. Nothing is wasted, but nothing is front-loaded either.

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 tool taking two required parameters with deeply nested transformation configuration objects and no output schema or annotations, one generic sentence is far too thin. An agent cannot determine the operation's semantics, side effects, or expected result from this definition.

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 nested job_id, object_info, transformation_info, and config_transformation fields are already documented in the schema. The description adds only the loose notion of 'selected objects' and 'adding rules', which marginally maps to object_info.select and transformation_info but adds no syntax, enum, or length guidance beyond the schema.

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 that DRS can process synchronized objects by adding rules to selected objects, which implies creating data-processing/filter rules. It never names the verb as batch-oriented, never mentions jobs or project scope, and never distinguishes this tool from siblings such as drs__CheckDataFilter or drs__ShowDataProcessingRulesResult, which operate on the same rule domain.

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 the related filter/rule tools, no preconditions (for example, whether the sync job must be in a particular state), and no mention that it acts on a batch of jobs. The agent must infer all routing from the name alone.

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