Skip to main content
Glama

drs__BatchSetDefiner

Batch configure whether DRS migration jobs replace database object definers with the target database user, using job IDs and a replace flag.

Instructions

[DRS] 批量设置Definer迁移是否迁移到到该用户下。

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

Input Schema

NameRequiredDescriptionDefault
jobsYes批量设置replaceDefiner请求列表
project_idYes租户在某一region下的project ID。

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?

No annotations are supplied, so the description carries the full behavioral burden, and 'BatchSet' implies a bulk mutation with no disclosure of prerequisites, permission requirements, reversibility, or what happens to jobs that fail validation. The only behavioral hint is the implicit batch semantics of '批量', which is a thin substitute for mutation-risk disclosure.

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?

One short sentence, appropriately front-loaded, so there is no bloat. But the sentence is poorly formed with a duplicated word and an ambiguous clause, so brevity comes at the cost of clarity rather than being earned concision.

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 bulk mutation that takes a nested array of per-job flags, with no annotations and no output schema, the description should at minimum state the effect of the flag and the success/failure shape for a partial batch. None of that is present, leaving the agent to guess at operational consequences.

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%: job_id, replace_definer, and project_id are each documented in the schema itself. The description adds no meaning beyond that — it does not clarify the relationship between the nested per-job replace_definer flag and the overall operation, nor constraints on batch size. Baseline 3 applies when the schema does the heavy lifting.

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 batch operation on a 'definer' migration setting, which is a recognizable verb+resource pair. However, the phrasing 'Definer迁移是否迁移到到该用户下' is garbled (including a duplicated character) and never states clearly what the setting means — whether the definer is kept or replaced by the target-database user. It also does nothing to separate this tool from siblings such as drs__BatchSetPolicy or drs__BatchSetObjects.

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, what state the migration jobs must be in, or which sibling to use for other batch settings. The agent must infer everything 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