Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Delete objects

bw_delete
Destructive

Permanently deletes SAP BW/4HANA modeling objects—including aDSOs, InfoObjects, transformations, DTPs, and queries—to remove obsolete definitions.

Instructions

Delete a BW object permanently. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_delete", 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_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationYesOperation — one of: delete: Delete a BW object permanently (aDSO, InfoObject, Transformation, DTP, Query, etc.). Requires object_type, object_name.
object_nameNoTechnical object name (e.g. "OBJECT_NAME").
object_typeNoBW object type: adso, iobj, trfn, dtpa, query (alias elem), etc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.0
    • addedInput schema / properties / operation
      Added value: +{
      +  "description": "Operation — one of: delete: Delete a BW object permanently (aDSO, InfoObject, Transformation, DTP, Query, etc.). Requires object_type, object_name.",
      +  "enum": [
      +    "delete"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "object_type",
      -  "object_name"
      -]New value: +[
      +  "operation"
      +]
  2. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / object_type / description
      Previous value: -"BW object type: adso, iobj, trfn, dtpa, etc."New value: +"BW object type: adso, iobj, trfn, dtpa, query (alias elem), etc."
  3. First observedv0.7.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, readOnlyHint=false and idempotentHint=false, so the safety profile is largely covered; the description adds meaningful reinforcement with 'permanently'. It does not disclose permission/auth requirements, whether dependent objects cascade, or whether re-deleting a missing object errors, which are the details an agent acting on a destructive tool would want.

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 sentences with the destructive verb and scope front-loaded, and no filler. The second sentence earns its place by routing the agent to bw_describe for detail, though it is somewhat procedural rather than descriptive.

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 3-parameter, single-operation delete with fully documented schema and strong destructive annotations, this is close to sufficient. The remaining gap is behavioral consequence — what happens to callers holding references or to dependent objects — which is left entirely unstated.

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 coverage is 100% and the enum entry already spells out that 'delete' requires object_type and object_name, so the schema does the heavy lifting. The description adds only a meta-hint that bw_describe expands any single parameter definition, not any new semantics about the individual fields.

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?

States a specific verb and resource ('Delete a BW object') plus the key qualifier 'permanently', and the enum description enumerates the object kinds (aDSO, InfoObject, Transformation, DTP, Query). It does not name a sibling such as bw_write_* or bw_manage to contrast a delete from a modify, so it falls short of full sibling differentiation.

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?

The permanence qualifier implies this is the tool for destructive removal rather than modification, but the description never says when not to use it or names an alternative for reversible/undoable changes. The pointer to bw_describe for full parameter definitions is useful process guidance but is about parameter discovery, not tool selection.

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