Skip to main content
Glama
lingcSun

mcp-bw-adt-api

by lingcSun

bw_dtp_save_and_activate

Saves and activates an SAP BW DTP object, managing locks and optional transport, with configurable output.

Instructions

One-stop: lock → PUT → (optional) activate → unlock. Prefer xmlPath (from bw_dtp_get_xml + outputPath) over inline xmlContent. When a transport is required: pass transport= OR createTransport=true. Compact projection returned; set outputPath for full detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
xmlPathNoPath (under the workdir) to a file containing the xml. Takes precedence over xmlContent. Use bw_*_get_xml with outputPath to produce such a file.
transportNo
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.
xmlContentNoInline xml content. Mutually exclusive with xmlPath.
autoActivateNo
createTransportNo
transportDescriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/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 burden and does well: it reveals the lock/PUT/activate/unlock sequence, marks activation as optional, and states that a compact projection is returned unless outputPath is set. It does not explain failure behavior or whether unlock still happens after an error, but this is still substantive disclosure.

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?

The description is compact and front-loaded with the core pipeline, followed by parameter preferences and return behavior. Every sentence earns its place, though terms like 'PUT' and 'TRKORR' assume domain familiarity.

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 main call path, parameter preferences, transport handling, and return behavior are covered, which is good for a tool with 8 parameters and no output schema. Still, it omits how autoActivate relates to the optional activation, what happens on failure, and when to prefer bw_dtp_activate instead.

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 only 38%, so the description partly compensates by explaining the relationship between xmlPath/xmlContent, transport/createTransport, and outputPath. However, it leaves autoActivate, transportDescription, and id semantics mostly to inference, and it does not explicitly map 'optional activate' to autoActivate.

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 identifies a combined pipeline for saving and activating a DTP object ('lock → PUT → (optional) activate → unlock') and names the preferred input path. It is specific about the resource type via the tool name and sibling context, but it does not explicitly differentiate this tool from bw_dtp_activate or bw_dtp_create.

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 concrete conditional guidance: prefer xmlPath over xmlContent, use transport=<TRKORR> or createTransport=true when a transport is required, and set outputPath for full detail. It lacks an explicit 'when not to use this tool' or a comparison with sibling save/activate tools, but the context is clear enough for most selections.

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