Skip to main content
Glama

drs__BatchShowParams

Retrieves source and target database parameters for specified migration jobs, enabling comparison to verify parameter consistency before cutover.

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

Input Schema

NameRequiredDescriptionDefault
jobsYes查询任务ID集合。
refreshYes是否重新获取数据库参数,1代表是,0代表否(从缓存中获取),第一次调用时请设置为1。
project_idYes租户在某一region下的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 behavioral burden. It does signal that this is a retrieval/comparison operation rather than a mutation, which is the most important safety fact, but it says nothing about caching behavior (left to the schema), permissions, or what the response contains. Adequate but thin for an unannotated tool.

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?

A single long run-on clause front-loaded with scenario justification ('为了确保迁移成功后业务应用的使用不受影响') before reaching the actual action at the very end. The preamble about migration benefits is padding; the agent-relevant facts (what it fetches, for comparison) could be stated in a fraction of the words.

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?

There is no output schema, so the description should characterize what comes back; it only says it obtains source and target DB parameters, without indicating result shape or whether results are per-job. Given three required parameters and no annotations, this is minimally sufficient but leaves real gaps for an agent planning the call sequence.

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% – all three parameters (jobs, project_id, refresh) are documented in the schema, including the important 'set to 1 on first call' caching instruction. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

The description states the specific action – obtaining the database parameters of the source and target databases ('此接口可以获取源库和目标库的数据库参数') – and situates it in the parameter-comparison workflow. It is clear enough to separate from the mutating sibling drs__UpdateParams, though it never says so explicitly and buries the verb at the end of a long scenario preamble.

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?

Usage is only implied through the migration/parameter-consistency scenario; there is no explicit 'use this when…' statement, no mention of the relationship to drs__UpdateParams or the other Batch* job tools, and no stated prerequisites beyond the schema-level note about refresh. An agent can infer the read/compare use case but must reason it out.

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