Skip to main content
Glama

drs__CollectDbObjectsInfo

Submits a Data Replication Service request to query database object information for a specified job and project, optionally targeting databases or forcing a refresh.

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>",
      "type": "<type>"
    },
    "name": "drs__CollectDbObjectsInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes查询对象信息类型,取值:
job_idYes任务ID。
db_namesNo查询指定库的信息。
is_refreshNo是否强制刷新。取值:
project_idYes租户在某一Region下的Project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 it discloses almost nothing. 'Submit' implies a state-changing or job-creating action, yet the text never says whether this starts an asynchronous task, whether results must be fetched later (siblings suggest a separate status/result tool), or what permissions it needs. The truncated sentence makes the definition effectively incomplete.

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?

It is short but not concise: the single sentence ends mid-thought at '例如:', so the text is under-specified rather than economical. A fragment that trails off costs the agent more than a longer, complete definition would.

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 five-parameter tool with no annotations and no output schema, the description should at minimum state whether this kicks off an asynchronous collection and how results are retrieved. Given sibling names implying a separate status/result flow, that omission is a real gap, and the truncated text leaves the definition inadequate for correct invocation.

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%, so the baseline is 3; each of the five parameters is already documented in the schema, including the three required ones. The description adds no meaning beyond the schema, and notably the schema descriptions themselves are truncated ('取值:' with no values), which the prose does not compensate for.

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 it submits a query for database object information, which is a recognizable verb+resource, but it is vague about what actually happens (a job submission? a synchronous lookup?) and does nothing to distinguish it from nearby siblings like CollectDbObjectsAsync, ListDbObjects or ShowDbObjectsList. The trailing '例如:' ('for example:') promises clarification that never arrives.

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 when-to-use guidance, no prerequisites, and no mention of any alternative. The dangling '例如:' actually signals examples were intended but omitted, leaving the agent to guess the context in which this collection should be triggered instead of the other object-listing tools.

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