Skip to main content
Glama

drs__CreateCompareTask

Create a comparison task to check object- or data-level consistency between source and target, or list existing comparison tasks when no comparison type is specified.

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__CreateCompareTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务id。
project_idYes租户在某一region下的project ID。
data_level_compare_infoNo数据级对比信息,不创建数据级对比时可以不传。object_level_compare_type和data_level_compare_info都为空时,只查询已创建的对比任务列表。
object_level_compare_typeNo对象级对比类型,取值为空代表不创建对象级对比。object_level_compare_type和data_level_compare_info都为空时,只查询已创建的对比任务列表。

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?

Since no annotations are provided, the description carries the full burden of explaining behavior. Aside from implying a create operation, it says nothing about permission or whitelist requirements, whether a call is idempotent, how a conflict with an unfinished data-level comparison is handled, or what happens on failure. This is a write operation with nested configurability, yet the description gives no behavioral context.

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 a single short sentence with no wasted words, but its brevity leaves substantial under-specification rather than efficient clarity. It is front-loaded with the verb and resource, yet contributes almost no information.

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 has four parameters including a nested object, requires whitelist-gated modes, and has no output schema or annotations. One generic sentence is far from enough to explain the level distinction (object-level versus data-level), the query-only fallback, or the conflict_policy behavior, even though the schema itself is detailed.

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%, and each field—including the nested compare_mode, compare_type, conflict_policy, and the two mutually exclusive object lists—is documented inside the schema. The description adds no meaning beyond that, so a baseline of 3 applies.

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?

"[DRS] 创建对比任务" names a verb (create) and a resource (comparison task), but it does not specify which kind of comparison task. Given siblings such as drs__CreateDataLevelTableCompareJob and drs__CreateObjectLevelCompareJob, an agent cannot tell which sibling to choose from this text alone.

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?

The description says nothing about when to use this tool or when not to use it, and it never mentions the related creation tools. This is important because the schema contains a non-obvious conditional behavior: when both object_level_compare_type and data_level_compare_info are empty, the call only lists compare tasks rather than creating one. That information appears in the schema but not in the description.

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