Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Create and change Open Hub Destinations

bw_write_open_hub
Destructive

Create or update SAP BW Open Hub Destinations by copying fields and keys from an aDSO, CompositeProvider, or query, or adjust table/file output and field settings.

Instructions

Create or change an Open Hub Destination. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_open_hub", operation: "…") gives the complete parameter definition of one.

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": {
      "operation": "<operation>"
    },
    "name": "bw_write_open_hub"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoFields to add; existing fields are kept. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "update"). [update]
packageNoDevelopment package (default "$TMP"). [create]
directoryNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
file_nameNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
file_typeNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
info_areaNoInfoArea to create the destination in (e.g. "INFOAREA_NAME"). [create]
operationYesOperation — one of: create: Create an Open Hub Destination (TLOGO DEST) from a template object: the server copies the fields and key of the given aDSO, CompositeProvider or query and gene… Requires open_hub_name, description, info_area, template_object_name. | update: Change an Open Hub Destination (TLOGO DEST): description, the database options of a table destination (write mode, technical key, connection), the file options… Requires open_hub_name.
separatorNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
transportNoTransport request to record the change on. [update]
key_fieldsNoTable only, without technical key. The complete semantic key in order, by field name as bw_get_open_hub lists it (including any $BIC$ prefix); an empty array clears the key. [update]
write_modeNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
descriptionNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
server_nameNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
open_hub_nameNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
remove_fieldsNoField names to remove, including from the key. [update]
rename_fieldsNoFields to rename, as an object of current field name to new field name. A new name has at most 16 characters, starts with a letter and consists of letters, digits and underscores. [update]
connection_typeNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
rfc_destinationNoRFC destination for the notification. [update]
destination_typeNoTAB = database table, FILE = flat file. Default "TAB". [create]
logical_file_nameNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
use_technical_keyNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
db_connection_nameNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
external_format_onNoFields to switch to external format; output type and length follow the modeling tools (CHAR with the display length, STRG for strings). [update]
file_on_app_serverNoDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
external_format_offNoFields to switch back to internal format. [update]
dtp_external_programNoThe DTP into this destination is started by an external program. [update]
template_object_nameNoTechnical name of the object whose fields and key are copied (an aDSO, a CompositeProvider or a query). [create]
template_object_typeNoType of the template object. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "create"). [create]
send_notification_rfcNoNotify an RFC destination after a load; needs rfc_destination. [update]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the mutation profile is known. The description adds only that the tool is a create/change writer and that details live behind a second call; it does not say what update can overwrite, whether changes need a transport, or what happens to fields not mentioned.

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?

Two short, front-loaded sentences with an actionable second sentence naming the exact follow-up call. It is efficient, though extremely terse for a 29-parameter destructive tool.

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?

Given a 100%-covered schema, an operation enum that spells out requirements, and no output schema, the description's delegation to bw_describe is a reasonable completeness strategy. It still omits behavioral consequences of a destructive 29-parameter write, so it is not fully self-sufficient.

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% and many parameters carry per-operation tags and inline notes (e.g. fields kept on update, key_fields semantics), so the schema does the heavy lifting. The description adds no parameter meaning of its own beyond telling the agent to call bw_describe per operation, which is the documented baseline for full coverage.

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 names a specific verb pair and resource: "Create or change an Open Hub Destination." That distinguishes it from siblings like bw_write_adso or bw_write_datasource by resource, though it does not explicitly say how it differs from those writers.

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

Usage Guidelines3/5

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

It points the agent at the operation enum for per-operation requirements and at bw_describe for full parameter definitions, which is useful routing guidance. However, it never states when to pick create vs. update, when to prefer this tool over a sibling writer, or any prerequisites such as transport handling.

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