Skip to main content
Glama

roma__CreateMultiTaskMappings

Creates field-level mappings for a ROMA combined task, linking source and target data sources, tables, and columns to define data integration flow.

Instructions

[ROMA] 创建组合任务映射

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "source_datasource_id": "<source_datasource_id>",
      "target_datasource_id": "<target_datasource_id>",
      "task_id": "<task_id>"
    },
    "name": "roma__CreateMultiTaskMappings"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes任务ID
ext_infoNo扩展属性,目前只支持server_id
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
instance_idYes实例ID
source_tableNo源表名
target_tableNo目标表名
source_columnsNo源端字段列表
target_columnsNo目标端字段列表
mapping_columnsNo字段映射列表
source_datasource_idYes源端数据源ID
target_datasource_idYes目标端数据源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/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 supplies none of it. It does not state that this is a mutating write, whether the operation is idempotent, what permissions or instance state are required, or what happens to an existing mapping for the same task_id.

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 short here reflects under-specification rather than economy: a bracketed vendor tag plus a four-character name echo, with no front-loaded statement of scope, effect, or return.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter write tool with nested required structures, no annotations and no output schema, the description is completely inadequate. It leaves the agent unable to reason about effects, sequencing with the related ROMA task tools, or failure modes.

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% with examples, length bounds and per-field descriptions for all 11 parameters including the nested mapping_columns structure, so the schema already does the semantic work. The description adds nothing beyond that, which is the baseline 3 case.

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 phrase "创建组合任务映射" gives a verb (create) and a resource (multi-task mapping), so the basic action is identifiable. But it is essentially a Chinese restatement of the tool name and does nothing to distinguish it from siblings such as roma__CreateMultiTasks or roma__CreateMultiTaskMappings-adjacent tools, so it sits at minimum viability.

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 tool. An agent cannot tell from this definition whether it should call this before or after roma__CreateMultiTasks or roma__InstallMultiTasks.

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