Skip to main content
Glama
lingcSun

mcp-bw-adt-api

by lingcSun

bw_trfn_switch_runtime

Switch a transformation's runtime between HANA and ABAP. Supply the transformation ID, an existing lock handle, and set useHana to true for HANA or false for ABAP.

Instructions

Switch a transformation between HANA and ABAP runtime. Requires an existing lockHandle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
corrNrNo
useHanaYestrue → HANA runtime, false → ABAP runtime.
versionNoVersion: m=active, a=modified, d=revised.
timestampNo
lockHandleYesRequired lock handle for the transformation.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action (switch) and the requirement (lockHandle), but doesn't reveal what happens during the switch, whether it's a persistent mutation, what failure modes exist, or any side effects. The word 'switch' implies a change but the consequences are not described.

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?

Two sentences with zero fluff. The core action is front-loaded, and the prerequisite is stated immediately. Every word earns its place, and the description is easy to scan.

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?

The tool has 7 parameters, 3 required, and no output schema. The description only covers the action and lockHandle requirement, leaving the purposes of id, corrNr, version, timestamp, and outputPath entirely unexplained. It also doesn't specify what the tool returns or whether it persists changes. Given the moderate complexity, this is a significant gap.

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

Parameters2/5

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

Schema description coverage is 57%, and the description adds no information beyond the schema. It only repeats the lockHandle requirement, which is already in the schema. The parameters id, corrNr, and timestamp have no descriptions in either the schema or the tool description, so the description fails to compensate for the gap. It adds no semantic value over what the agent already knows from the schema.

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 clearly states the action: 'Switch a transformation between HANA and ABAP runtime.' This is a specific verb-resource combination that distinguishes it from other bw_trfn_* tools. However, it doesn't explicitly mention any sibling tools or contrast itself with them, so it falls slightly short of a 5.

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?

The description provides only a prerequisite ('Requires an existing lockHandle'), but no guidance on when to use this tool versus alternatives or when not to use it. It doesn't mention that a lock must be obtained first via another tool, nor does it clarify when ABAP vs HANA runtime is appropriate. The usage context is implied but not explicit.

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