Skip to main content
Glama

drs__CheckDataFilter

Validates data filtering rules for a DRS migration or sync job, checking table and column filter conditions and advanced join conditions before they are applied. Use it to verify filtering logic prior to running the task.

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>"
    },
    "name": "drs__CheckDataFilter"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID。
project_idYes租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html)
data_process_infoNo指定任务数据加工规则请求体

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing: it does not say whether the tool is a read-only check or mutates job state, whether it has side effects, whether permissions are required, or whether it is idempotent. A single leading tag [DRS] plus a four-word phrase is all that is offered.

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?

The text is a single bracketed tag plus a short phrase, so it is technically short but is under-specified rather than concise; there is no sentence structure, no front-loaded explanation of scope, and the [DRS] prefix occupies part of an already minimal budget.

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 tool with a deeply nested data_process_info payload (databases, schemas, tables, columns, filter conditions) and no output schema, so the description should explain what the validation covers and what a result means. The delivered text tells the agent essentially nothing beyond the tool name.

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 job_id, project_id and the large nested data_process_info are already documented in the schema, and the baseline of 3 applies even with no parameter detail in the description. The description does not help the agent understand the complex nested data_process_info payload, but that is the schema's job here.

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 数据过滤规则校验 names a verb (校验/validate) and a resource (数据过滤规则/data filtering rules), so the general intent is inferable. But it never says what is being validated (rule syntax? compatibility with the job? synchronization status?) or what the tool produces, and it does nothing to distinguish itself from siblings such as drs__ShowDataFilteringResult or drs__BatchCheckJobs.

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 at all: no preconditions (does the job need to exist or be stopped?), no statement of when to pick this over ShowDataFilteringResult or ShowDataProcessingRulesResult, and no exclusions. The agent must guess 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