Skip to main content
Glama

drs__BatchSetObjects

Batch-select databases, tables, schemas, or views for DRS migration jobs, defining which objects to include or exclude before migration.

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

Input Schema

NameRequiredDescriptionDefault
jobsYes批量更新数据库对象请求任务ID列表
project_idYes租户在某一region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral burden. It does not explain that this mutates existing job object selections, how the selected/sync_database flags affect behavior, whether changes are reversible, or what permissions are required.

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?

The description is a single front-loaded sentence with no wasted wording. It is concise, though its brevity contributes to the gaps noted in other dimensions.

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 a complex nested schema for batch object selection and no annotations or output schema, but the description is extremely thin. It omits key behavioral context about updating job selections, custom versus full migration, and how the batch jobs parameter is used.

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 coverage is 100%, so the nested jobs, selected, sync_database, and project_id parameters are documented in the schema. The description adds only the broad purpose of selecting databases or tables and does not clarify the semantics of partial selection or batch job updates 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 says to select databases or tables before migration, which gives a recognizable purpose. However, it does not state that this is a batch update of migration object selection for existing jobs, nor does it clearly distinguish the operation from sibling batch-setting tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'before migration' implies the usage context, but there is no explicit guidance on when to choose this tool over the related object-listing or batch-setting siblings, and no stated exclusions or prerequisites beyond project_id being required.

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