Skip to main content
Glama

drs__BatchResetPassword

Batch-updates database passwords for multiple running Data Replication Service jobs when source or target credentials change.

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

Input Schema

NameRequiredDescriptionDefault
jobsYes批量修改数据库密码信息列表
project_idYes租户在某一region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add one behavioral fact beyond structured data — the task-started precondition — but says nothing about permissions required, whether the new credential is validated against the live database, whether the task is interrupted or must be paused, or what happens to passwords already set for jobs not listed. For a credential-mutating batch endpoint this is a meaningful gap.

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?

A single well-formed sentence with the precondition front-loaded and no redundant restatement of parameters. Minor filler ("调用此接口" — "call this interface") could be trimmed, and the "batch" aspect deserves a clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema is fully described and there is no output schema to explain, so the essentials for calling are covered. However, a batch credential-reset tool with nested per-job entries and no annotations should tell the agent whether all listed jobs are reset atomically, whether one bad password fails the whole batch, and what the caller gets back — none of that is present.

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 every field (job_id, db_password, end_point_type, kerberos block, project_id) is documented in the schema itself. The description's "源库/目标库" only loosely echoes the end_point_type enum and adds no detail on the jobs list, per-job password granularity, or mixed so/ta entries. 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[DRS]" scopes it to the DRS product and "任务启动之后需要修改源库/目标库密码时" states a specific action (change source/target database passwords) on a specific resource. It omits the "batch" nature that its own name and schema (a jobs array) make central, and does not distinguish itself from the many other *ResetPassword siblings, but the verb+resource is unambiguous.

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

Usage Guidelines4/5

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

Gives a real precondition: call only after the migration/sync task has already been started. That is a usable trigger. It offers no exclusions (e.g., what to do before task start, or which sibling handles single-job reset) or alternatives, so it stops short of a 5.

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