Skip to main content
Glama

drs__UploadDbObjectTemplate

Upload a file-import template to select database objects for a DRS job, defining database-, table-, or column-level synchronization scope.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID。
project_idYes租户在某一Region下的Project ID。
file_import_db_levelNo文件模板支持数据同步级别,不填默认为table表级。table

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 disclosure burden, yet it says nothing about permissions, whether the upload overwrites an existing template, what file/format is expected, or what a successful call returns. Notably the schema contains no file parameter at all, and the description does not explain how the template content is supplied, leaving real ambiguity for a write-type operation.

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?

It is a single short phrase with no wasted words, but that brevity comes from under-specification rather than economy. The core verb is buried inside a parenthetical after the category label, so it is not strongly front-loaded.

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 three-parameter write operation with no annotations and no output schema, the definition should at minimum state what is uploaded, the expected file/format, and what the caller gets back. None of that is present, so an agent would have to rely entirely on the parameter names and the tool name.

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%, including the enum values database/table/column and the default of table for file_import_db_level, so the structured data already does the parameter work. The description adds no additional meaning about the parameters, which is acceptable at full coverage but earns only the baseline.

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 reads as a bracketed category label – "[DRS] 对象选择(文件导入 - 模板上传)" – combining an object-selection tag with "template upload" for file import. The action (upload) and resource (a DB object template) can be inferred, and it implicitly distinguishes from the sibling DownloadDbObjectTemplate, but the wording is a taxonomy tag rather than a stated "this tool uploads X for Y" sentence.

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 (e.g. that a job must exist or which import scenario this serves), and no mention of the Download/Show template siblings it pairs with in a workflow. The agent must guess the position of this tool relative to ShowDbObjectTemplateProgress and ShowDbObjectTemplateResult.

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