Skip to main content
Glama

drs__ShowObjectMapping

Queries real-time DRS synchronization mappings, covering database, schema, and table object selections along with column mappings used in data processing.

Instructions

[DRS] 查询实时同步映射关系包括对象选择时的库映射、schema映射、表映射和数据加工时的列映射。

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

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量。默认为10,取值范围【1-1000】
job_idYes任务ID。
offsetNo偏移量,表示从此偏移量开始查询, offset 大于等于 0。默认为0
db_nameNo库名。
project_idYes租户在某一Region下的Project ID。
table_nameNo表名。
schema_nameNo模式名。
has_column_infoNo是否有映射。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden. It implies a read operation via 查询 and discloses which mapping categories are returned, but says nothing about pagination behavior, permissions/tenant scoping, empty-result handling, or the shape of the returned records — significant omissions for an 8-parameter tool with no annotation coverage.

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 front-loaded sentence with no filler; the verb and resource lead and the enumeration follows. Nothing is wasted, though the bracketed [DRS] prefix consumes space without informing tool selection.

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 description does communicate what categories of mapping data come back, which partly compensates for the absent output schema. However, for a tool with 8 parameters and zero annotations, it omits pagination expectations and job-state prerequisites that an agent would need before invoking it.

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 (limit, offset, job_id, project_id, db_name, schema_name, table_name, has_column_info) is already documented in the schema. The description adds no format, default, or filtering semantics 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 pairs a specific verb (查询/query) with a specific resource (实时同步映射关系 – real-time synchronization mappings) and enumerates the mapping kinds covered: database, schema, table, and column mappings. That enumeration distinguishes it from generic status/progress siblings such as ShowDbObjectCollectionStatus, though it never names an alternative explicitly.

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 prerequisite (e.g. must be a running synchronization job), and no statement of when another sibling tool would be preferable. The reader must infer the calling context entirely from the tool name and the required job_id/project_id parameters.

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