Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Monitor loads and process chains

bw_monitor
Read-only

Monitors SAP BW load requests, process chain runs, remodeling requests, query statistics, and BPF instances/to-dos to inspect statuses and execution details.

Instructions

Monitor loads and runs: requests, process chain runs and their steps, remodeling requests, query statistics, Business Process Flow instances and to-dos. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_monitor", 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_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the window (default now). [query_statistics]
topNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [requests, remodeling_requests]
fromNoStart of the window, ISO date or timestamp (UTC unless an offset is given). [query_statistics]
hoursNoWindow length when from is not given (default 24). [query_statistics]
limitNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [chain_runs, chain_last_status]
formatNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [6 of 12 operations]
log_idNoRun log ID from bw_list_process_chain_runs or bw_list_process_chain_last_status (logId field). [chain_run_detail]
statusNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [4 of 12 operations]
targetNoTarget InfoProvider technical name (e.g. "OBJECT_NAME"). [requests]
date_toNoOptional upper bound for run start date (ISO format). [chain_runs]
slowestNoHow many of the slowest executions to break down (default 3, at most 10, 0 for none). [query_statistics]
storageNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [requests, request]
versionNoOnly instances of this template version (e.g. "0003"). [bpf_instances]
chain_idNoProcess chain technical name (e.g. "CHAIN_NAME"). [chain_run_detail]
providerNoInfoProvider queried directly, as bw_query_data with is_provider does (e.g. "PROVIDER_NAME"). [query_statistics]
step_uidNoOne navigation step, as shown in an earlier answer. [query_statistics]
date_fromNoOptional lower bound for run start date (ISO format, e.g. "YYYY-MM-DD" or "YYYY-MM-DDTHH:MM:SS"). [chain_runs]
operationYesOperation — one of: requests: List the recent load requests of an InfoProvider from the runtime request monitor, with decoded request status, record counts and timestamps. Requires target. | request: Full status analysis of one load request in a single call, bundling the request header, DTP information (including start, finish and duration), the process ste… Requires request_tsn. | chain_runs: List execution runs of one or all process chains from the process chain monitoring log. | chain_run_detail: Read the execution detail of one process chain run — all process steps with type, variant, status, timestamps, and parent/child relationships (predecessor grap… Requires chain_id, log_id. | chain_last_status: Read the latest execution status and scheduling state for every process chain in the system — one row per chain. | remodeling_requests: List remodeling requests from the remodeling monitor, with decoded status, last run and creator. | remodeling_request: Full status of one remodeling request: header, the five processing steps (CHECK, SAVE, CONVERT, ACTIVATE, CLEANUP) with their individual status, and the applic… Requires info_provider, remodeling_rule. | query_statistics: Read the BW query statistics (RSDDSTAT) of any frontend, as RSRT statistics and ST03 show them, without SAP GUI. | bpf_monitor: The BPF process monitor of an environment: every process instance visible to the calling user, with template, version, status, context and owner. Requires environment. | bpf_instances: List the process instances of a BPF template, of all versions or of one. Requires environment, template_id. | bpf_todo: The BPF to-do list of the calling user: the process instances with something to do, or with instance_id the activities of that instance. Requires environment. | bpf_reopen_activities: List the activities of a BPF process instance that can be reopened. Requires environment, instance_id.
chain_nameNoOptional process chain technical name to restrict to runs of a single chain (e.g. "CHAIN_NAME"). [chain_runs]
query_nameNoQuery whose executions to read (e.g. "QUERY_NAME"). [query_statistics]
environmentNoBPC environment (e.g. "MYENV"). [4 of 12 operations]
include_logNoInclude the application log messages (default true). [remodeling_request]
instance_idNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [bpf_todo, bpf_reopen_activities]
request_tsnNoInternal request TSN from bw_list_requests output. [request]
target_typeNoTarget object type (default "ADSO"). [requests]
template_idNoId of the BPF template (e.g. "TEMPLATE_ID"). [bpf_instances]
created_fromNoOptional server-side lower time bound, ISO 8601 with milliseconds and Z (24 chars, e.g. "YYYY-MM-DDTHH:MM:SS.… [requests]
info_providerNoDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [remodeling_requests, remodeling_request]
last_start_toNoOptional upper bound for last run start date (ISO format). [chain_last_status]
request_numberNoOptional request GUID from bw_list_remodeling_requests output. [remodeling_request]
last_start_fromNoOptional lower bound for last run start date (ISO format, e.g. "YYYY-MM-DD"). [chain_last_status]
remodeling_ruleNoRemodeling rule ID, from bw_list_remodeling_requests output. [remodeling_request]
include_warningsNoAlso show long text, variables and program location for warnings, not only for errors (default false). [chain_run_detail]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.2.0
    • addedInput schema / properties / environment
      Added value: +{
      +  "description": "BPC environment (e.g. \"MYENV\"). [4 of 12 operations]",
      +  "type": "string"
      +}
    • changedInput schema / properties / format / description
      Previous value: -"Defined per operation — bw_describe(tool: \"bw_monitor\", operation: \"…\") gives each definition. [request, remodeling_request]"New value: +"Defined per operation — bw_describe(tool: \"bw_monitor\", operation: \"…\") gives each definition. [6 of 12 operations]"
    • addedInput schema / properties / instance_id
      Added value: +{
      +  "description": "Defined per operation — bw_describe(tool: \"bw_monitor\", operation: \"…\") gives each definition. [bpf_todo, bpf_reopen_activities]",
      +  "type": "string"
      +}
    • changedInput schema / properties / operation / description
      Previous value: -"Operation — one of: requests: List the recent load requests of an InfoProvider from the runtime request monitor, with decoded request status, record counts and timestamps. Requires target. | request: Full status analysis of one load request in a single call, bundling the request header, DTP information (including start, finish and duration), the process ste… Requires request_tsn. | chain_runs: List execution runs of one or all process chains from the process chain monitoring log. | chain_run_detail: Read the execution detail of one process chain run — all process steps with type, variant, status, timestamps, and parent/child relationships (predecessor grap… Requires chain_id, log_id. | chain_last_status: Read the latest execution status and scheduling state for every process chain in the system — one row per chain. | remodeling_requests: List remodeling requests from the remodeling monitor, with decoded status, last run and creator. | remodeling_request: Full status of one remodeling request: header, the five processing steps (CHECK, SAVE, CONVERT, ACTIVATE, CLEANUP) with their individual status, and the applic… Requires info_provider, remodeling_rule. | query_statistics: Read the BW query statistics (RSDDSTAT) of any frontend, as RSRT statistics and ST03 show them, without SAP GUI."New value: +"Operation — one of: requests: List the recent load requests of an InfoProvider from the runtime request monitor, with decoded request status, record counts and timestamps. Requires target. | request: Full status analysis of one load request in a single call, bundling the request header, DTP information (including start, finish and duration), the process ste… Requires request_tsn. | chain_runs: List execution runs of one or all process chains from the process chain monitoring log. | chain_run_detail: Read the execution detail of one process chain run — all process steps with type, variant, status, timestamps, and parent/child relationships (predecessor grap… Requires chain_id, log_id. | chain_last_status: Read the latest execution status and scheduling state for every process chain in the system — one row per chain. | remodeling_requests: List remodeling requests from the remodeling monitor, with decoded status, last run and creator. | remodeling_request: Full status of one remodeling request: header, the five processing steps (CHECK, SAVE, CONVERT, ACTIVATE, CLEANUP) with their individual status, and the applic… Requires info_provider, remodeling_rule. | query_statistics: Read the BW query statistics (RSDDSTAT) of any frontend, as RSRT statistics and ST03 show them, without SAP GUI. | bpf_monitor: The BPF process monitor of an environment: every process instance visible to the calling user, with template, version, status, context and owner. Requires environment. | bpf_instances: List the process instances of a BPF template, of all versions or of one. Requires environment, template_id. | bpf_todo: The BPF to-do list of the calling user: the process instances with something to do, or with instance_id the activities of that instance. Requires environment. | bpf_reopen_activities: List the activities of a BPF process instance that can be reopened. Requires environment, instance_id."
    • changedInput schema / properties / operation / enum
      Previous value: -[
      -  "requests",
      -  "request",
      -  "chain_runs",
      -  "chain_run_detail",
      -  "chain_last_status",
      -  "remodeling_requests",
      -  "remodeling_request",
      -  "query_statistics"
      -]New value: +[
      +  "requests",
      +  "request",
      +  "chain_runs",
      +  "chain_run_detail",
      +  "chain_last_status",
      +  "remodeling_requests",
      +  "remodeling_request",
      +  "query_statistics",
      +  "bpf_monitor",
      +  "bpf_instances",
      +  "bpf_todo",
      +  "bpf_reopen_activities"
      +]
    • changedInput schema / properties / status / description
      Previous value: -"Defined per operation — bw_describe(tool: \"bw_monitor\", operation: \"…\") gives each definition. [4 of 8 operations]"New value: +"Defined per operation — bw_describe(tool: \"bw_monitor\", operation: \"…\") gives each definition. [4 of 12 operations]"
    • addedInput schema / properties / template_id
      Added value: +{
      +  "description": "Id of the BPF template (e.g. \"TEMPLATE_ID\"). [bpf_instances]",
      +  "type": "string"
      +}
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "Only instances of this template version (e.g. \"0003\"). [bpf_instances]",
      +  "type": "string"
      +}
  2. Changed8 schema fields changedv2.1.1
    • changedInput schema / properties / chain_id / description
      Previous value: -"Process chain technical name (e.g. [chain_run_detail]"New value: +"Process chain technical name (e.g. \"CHAIN_NAME\"). [chain_run_detail]"
    • changedInput schema / properties / chain_name / description
      Previous value: -"Optional process chain technical name to restrict to runs of a single chain (e.g. [chain_runs]"New value: +"Optional process chain technical name to restrict to runs of a single chain (e.g. \"CHAIN_NAME\"). [chain_runs]"
    • changedInput schema / properties / created_from / description
      Previous value: -"g.000Z\"). [requests]"New value: +"Optional server-side lower time bound, ISO 8601 with milliseconds and Z (24 chars, e.g. \"YYYY-MM-DDTHH:MM:SS.… [requests]"
    • changedInput schema / properties / date_from / description
      Previous value: -"Optional lower bound for run start date (ISO format, e.g. [chain_runs]"New value: +"Optional lower bound for run start date (ISO format, e.g. \"YYYY-MM-DD\" or \"YYYY-MM-DDTHH:MM:SS\"). [chain_runs]"
    • changedInput schema / properties / last_start_from / description
      Previous value: -"Optional lower bound for last run start date (ISO format, e.g. [chain_last_status]"New value: +"Optional lower bound for last run start date (ISO format, e.g. \"YYYY-MM-DD\"). [chain_last_status]"
    • changedInput schema / properties / provider / description
      Previous value: -"InfoProvider queried directly, as bw_query_data with is_provider does (e.g. [query_statistics]"New value: +"InfoProvider queried directly, as bw_query_data with is_provider does (e.g. \"PROVIDER_NAME\"). [query_statistics]"
    • changedInput schema / properties / query_name / description
      Previous value: -"Query whose executions to read (e.g. [query_statistics]"New value: +"Query whose executions to read (e.g. \"QUERY_NAME\"). [query_statistics]"
    • changedInput schema / properties / target / description
      Previous value: -"Target InfoProvider technical name (e.g. [requests]"New value: +"Target InfoProvider technical name (e.g. \"OBJECT_NAME\"). [requests]"
  3. Addedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the monitored domains and points to bw_describe for per-operation requirements, but does not disclose return formats, pagination, or auth needs beyond what the enum provides.

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, front-loaded with the monitored domains, with no filler. The pointer to the enum and bw_describe is efficient for a 33-parameter 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?

For a 12-operation, 33-parameter tool, the description delegates detail to the operation enum and bw_describe. That is reasonably complete because the enum provides per-operation purpose and requirements, though the description itself does not cover return values (no output schema).

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 operation enum describes each operation's requirements. The description adds no parameter meaning beyond pointing to the enum and bw_describe; it relies entirely on 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?

States the verb 'Monitor' and enumerates the monitored resources (requests, process chain runs, remodeling requests, query statistics, BPF instances and to-dos). It is clear what the tool does, but it does not explicitly differentiate from sibling tools such as bw_query_data or bw_run.

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?

No explicit when-to-use versus alternatives or exclusions. The description only instructs to consult the operation enum and bw_describe for parameter details, which is discovery guidance rather than usage guidance.

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