Skip to main content
Glama

drs__CollectDbObjectsAsync

Starts an asynchronous collection of database object information for a DRS job, so you can query source, modified, or synchronized objects by project and job ID.

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

Input Schema

NameRequiredDescriptionDefault
typeYes查询对象信息类型。
limitNo查询返回记录的数量限制。
job_idYes任务ID。
offsetNo偏移量,表示查询该偏移量后面的记录。
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. It never says this is an asynchronous submission that returns a job handle requiring polling (e.g., via ShowDbObjectCollectionStatus), nor does it describe permission requirements, side effects, or refresh behavior even though an is_refresh parameter exists.

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 by design – the sentence is cut off at '例如:' with the promised example missing. Brevity that results from truncation is under-specification rather than conciseness.

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 7-parameter asynchronous submission tool with no annotations and no output schema, the description explains neither the async lifecycle nor what is returned. The schema covers parameter semantics, but the behavioral contract an agent needs in order to call and follow up correctly is entirely absent.

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 every parameter is already documented in the schema, and the description adds no parameter meaning of its own. That places it at the baseline 3 for a high-coverage 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 states a verb and resource ('提交查询数据库对象信息' – submit a query for database object information), which is enough to know roughly what the tool does. But it is truncated mid-sentence ('例如:' with no example following) and never distinguishes itself from close siblings such as drs__CollectDbObjectsInfo, drs__ListDbObjects, or drs__ShowDbObjectsList.

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 versus the other DRS object-collection tools, and no mention of prerequisites, sequencing, or follow-up steps. The one implied usage cue is the word 'Async' in the tool name, which the description never picks up.

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