Skip to main content
Glama
dnic-dev

bw-modeling-mcp

by dnic-dev

bw_delete_request

Delete or roll back load requests on an InfoProvider to enable switching a DTP from delta to full extraction. Runs asynchronously; confirm by listing requests.

Instructions

Delete load requests from an InfoProvider, removing the data they brought in along with their entry in the request management. This is the precondition BW demands before several follow-up steps — above all switching a DTP from delta to full extraction, which BW refuses while delta requests remain in the target. NOT the same as selective deletion of records by condition, which removes rows but leaves the request. Handles both kinds of request: a load request in the inbound queue is deleted, an activation request is rolled back instead — a rollback also undoes every later activation and removes the load request underneath it. Use all_requests=true with target to clear a provider completely, which is the regular case before an extraction-mode change. Asynchronous: a successful call starts the deletion; confirm with bw_list_requests. Returns which requests were rolled back and which were deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoTarget InfoProvider technical name (e.g. "OBJECT_NAME"). Required with all_requests; optional with request_tsn, where it lets the tool report which further requests a rollback cascade took with it.
storageNoStorage area code the request lives in (default "AQ"). Take it from the "Storage" line of bw_list_requests. AT/AX mark an activation request, which is rolled back rather than deleted.
request_tsnNoRequest TSN to delete (from bw_list_requests / bw_run_dtp output). Omit when using all_requests.
target_typeNoTarget object type (default "ADSO").
all_requestsNoDelete every request of target in one run (default false): roll back the activations, then delete what is left in the inbound queue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4.9/5.0
Behavior5/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, and it does so thoroughly. It reveals the operation is asynchronous, requires confirmation via bw_list_requests, explains that activation requests are rolled back (which undoes later activations and removes the load request underneath), and states the return value (which requests were rolled back vs. deleted). This goes well beyond a simple 'deletes requests' and prepares the agent for side effects and follow-up actions.

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 information-dense but well structured: it leads with the core action, then clarifies scope and exceptions, explains the two request types, gives the all_requests use case, states asynchronicity, and ends with the return value. Every sentence serves a purpose and there is no fluff. The length is justified by the complexity of the tool, and the front-loading makes the intent immediately clear.

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

Completeness5/5

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

Given there is no output schema, the description appropriately explains what the call returns and how to confirm success. It also covers the two operational modes (single request vs. all_requests), the storage code distinction, and the rollback behavior – all essential for correct invocation. An agent has everything needed to decide whether and how to call this tool, and what to expect.

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?

The schema already documents all 5 parameters with descriptions (100% coverage), so the baseline is 3. The tool description adds extra meaning beyond the schema: it explains that storage codes AT/AX mark activation requests (which are rolled back rather than deleted), that all_requests=true with target clears a provider completely, and that target is required with all_requests but only optional with request_tsn. These clarifications help the agent choose parameter values correctly, so a 4 is warranted.

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 precise verb and resource: 'Delete load requests from an InfoProvider' and immediately clarifies it removes both the data and the request-management entry. It explicitly contrasts itself with selective deletion by condition, which leaves the request intact – a differentiating detail that lets an agent tell it apart from any sibling deletion tool without inspecting schemas.

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

Usage Guidelines5/5

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

The description states the key precondition (switching a DTP from delta to full extraction), distinguishes between load requests (deleted) and activation requests (rolled back), and gives explicit guidance for the all_requests=true case to clear a provider. It also names the confirmation step (bw_list_requests) and explicitly says what it is NOT for (selective deletion), giving an agent clear when-to-use and when-not-to-use context.

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

Deploy Server

Other Tools