Skip to main content
Glama
lingcSun

mcp-bw-adt-api

by lingcSun

bw_trfn_create

Creates a transformation, hydrates source/target elements and default rules, returns trfnId and XML for subsequent mapping and saving.

Instructions

Create a transformation via the 8TRANSIENT transient flow (Eclipse wizard equivalent). Server mints the id, hydrates all source/target elements and default rules from the two providers. Returns trfnId + hydrated XML. packageName defaults to $TMP; pass a real package together with transport to register in a workbench request. Then use bw_trfn_auto_map_and_save / bw_trfn_add_rules_and_save / bw_trfn_check to finish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transportNoWorkbench request number.
outputPathNoIf provided, the full result is written to this path (under the workdir) and the tool returns only a small summary envelope { ok, outputPath, bytes, summary }. Objects/arrays are written as JSON; ONLY the bw_*_get_xml family writes the raw XML string as plain text (that file is directly reusable as xmlPath in a later save call). Other *_get tools (e.g. bw_dtp_get, bw_trfn_get) write the PARSED XML-to-JSON tree, not raw XML — use the matching bw_*_get_xml tool when you need the raw XML string. Use outputPath for large responses (XML, table data, logs, dataflow graphs). When set, tools skip inline pagination/projection so the file contains the complete payload.
sourceNameYesSource object name (e.g. staging ADSO).
sourceTypeNoSource tlogo type, default ADSO.
targetNameYesTarget object name.
targetTypeNoTarget tlogo type, default ADSO.
descriptionNoDescription (set on a follow-up save).
packageNameNoTarget package, default $TMP. Non-$TMP requires transport.
responsibleNoResponsible user, defaults to login user.
masterSystemNoMaster system, default BPD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral burden. It discloses server-side id generation, hydration of source/target elements and default rules, the trfnId + hydrated XML return, the $TMP package default, and the transport requirement for real packages. It stops short of explicitly stating whether the transient artifact persists without the follow-up save, though 'then use ... to finish' implies it does not.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded, with the purpose in the first sentence. It packs the key behavioral facts, default behavior, return value, and next-step tools into four sentences without repeating parameter-level detail already present in the schema.

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

Completeness4/5

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

For a 10-parameter tool with no annotations and no output schema, the description covers the important workflow context: creation, return shape, package/transport coupling, and follow-up tools. It relies on the schema for parameter detail and could add an explicit 'does not persist until a save call' warning, but overall an agent has enough to select and invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 10 parameters. The description adds valuable semantic context beyond the schema by explaining that packageName defaults to $TMP)Skip, that a real package requires transport, and that this is a create-only step with follow-up tools for rules and saving.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Create a transformation via the 8TRANSIENT transient flow.' It clarifies this is the Eclipse-wizard-equivalent creation step/allocation, and it distinguishes itself from save/activate siblings by explicitly naming follow-up tools needed to finish. The server-minted id and hydrated-XML return further define the tool's specific scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear progression: create, then use bw_trfn_auto_map_and_save / bw_trfn_add_rules_and_save / bw_trfn_check to finish. It also explains the packageName/transport condition for registering in a workbench request. It does not explicitly say 'do not use this to save/activate,' but the transient-flow framing and 'to finish' provide strong contextual guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.