Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Read a BW object

bw_read
Read-only

Read any SAP BW/4HANA modeling object definition by type and technical name—aDSOs, InfoObjects, transformations, DTPs, queries—to inspect its fields, settings, and structure.

Instructions

Read the definition of one BW object. type selects the object type, name is its technical name. The type enum lists every operation with what it requires; bw_describe(tool: "bw_read", type: "…") 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": {
      "type": "<type>",
      "name": "<name>"
    },
    "name": "bw_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNocurrency or unit; omit to try both. [conversion_type]
nameYesTechnical name of the object (for a DataSource together with source_system).
nodeNoView node to show the fields and inputs of (e.g. "J1"); defaults to the default node. [hcpr]
typeYesObject type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read an InfoArea definition — name, label, parent area, object status. | trcs: Read an InfoSource (TRCS) structure — label, InfoArea, version status, the aggregation and DataStore-like switches, the owning object of a generated InfoSource… | trfn: Read a Transformation structure — source/target segments, mapping rules. | dtpa: Read a DTP (Data Transfer Process) definition — source, target, transformation, extraction settings, and filter fields (selections and routines). | query: Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definition… | hcpr: Read a CompositeProvider (HCPR) structure — general info, view node type (Union/Join), source providers (inputs) with mapping counts, fields with their field g… | ckf: Read a global Calculated Key Figure (CKF) defined at CompositeProvider level. | rkf: Read a global Restricted Key Figure (RKF) defined at CompositeProvider level. | structure: Read a global Structure defined at CompositeProvider level. | variable: Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, p… | rsds: Read the full structure of a DataSource (RSDS) — metadata, all fields with types and properties, and adapter configuration. Requires source_system. | lsys: Read the metadata of a single logical source system (LSYS) — type, description, connection details, and maintenance properties. | dest: Read an Open Hub Destination (TLOGO DEST) definition — destination type, DB table, InfoArea, package, status, database properties (write mode, technical key, c… | rspc: Read a Process Chain (RSPC) definition — header metadata, scheduling and monitoring settings, all steps (nodes) with type, variant, and last execution status,… | process_variant: Read the detail configuration of a single Process Variant from a Process Chain step. Requires process_type. | alvl: Read an Aggregation Level (TLOGO ALVL) definition — the planning-enabled view on top of an InfoProvider (aDSO or CompositeProvider) used for Integrated Plannin… | plse: Read a Planning Function (TLOGO PLSE) definition — a planning operation (formula/FOX, copy, delete, repost, distribution, currency translation, custom exit, …)… | plsq: Read a Planning Sequence (TLOGO PLSQ) definition — an ordered list of planning steps for Integrated Planning / embedded BPC. | planning_filter: Read a planning filter — the selection a planning sequence step or an input template works on. | planning_properties: Read the Planning Properties (TLOGO PLCR) of a plan-enabled InfoProvider (real-time aDSO or CompositeProvider). | conversion_type: Read a currency translation type (TLOGO CTRT) or a unit conversion type (TLOGO UOMT): source and target (fixed, from the record or chosen when converting, from… | hierarchy: Read the hierarchies of a characteristic. | push_schema: Fetch the JSON schema for an aDSO write interface. | afo_workbook: Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. | query_roles: Get all roles and folders where a specific BW query is currently published. | query_check: Check the stored definition of a query component for inconsistencies: a query, a reusable structure, a filter, a restricted or calculated key figure, or a vari… | bpf_template: Read a BPF template in full: header, identity dimensions, process owners, the activities in their order with driving dimension and members, and per activity th… Requires environment. | bpf_instance: Read one BPF process instance: status, context values, owner, template version, and its activity instances with ordinal, name, value of the driving dimension,… Requires environment.
draftNoRead the draft instead of the released version (default false). [bpf_template]
formatNoDefined per operation — bw_describe(tool: "bw_read", type: "…") gives each definition. [18 of 30 operations]
versionNoDefined per operation — bw_describe(tool: "bw_read", type: "…") gives each definition. [hierarchy, query_check, bpf_template]
overwriteNoReplace an existing file at save_path (default false). [afo_workbook]
save_pathNoLocal file or directory to save the workbook to. [afo_workbook]
environmentNoBPC environment (e.g. "MYENV"). [bpf_template, bpf_instance]
process_typeNoProcess type technical name from the chain step (e.g. "ABAP", "DTP_LOAD", "ADSOACT", "ADSOREM", "PLSWITCHL",… [process_variant]
source_systemNoLogical source system name (e.g. "LSYS_NAME"). [rsds]
hierarchy_nameNoHierarchy to read. [hierarchy]
include_contentNoReturn the file as base64 (default false). [afo_workbook]
resolve_actionsNoRead the workspaces and resolve their actions (default true). [bpf_template]
include_variant_detailsNoIf true (default), fetches variant configuration detail for each step automatically and includes it inline. [rspc]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.2.0
    • addedInput schema / properties / draft
      Added value: +{
      +  "description": "Read the draft instead of the released version (default false). [bpf_template]",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / environment
      Added value: +{
      +  "description": "BPC environment (e.g. \"MYENV\"). [bpf_template, bpf_instance]",
      +  "type": "string"
      +}
    • changedInput schema / properties / format / description
      Previous value: -"Defined per operation — bw_describe(tool: \"bw_read\", type: \"…\") gives each definition. [15 of 27 operations]"New value: +"Defined per operation — bw_describe(tool: \"bw_read\", type: \"…\") gives each definition. [18 of 30 operations]"
    • addedInput schema / properties / resolve_actions
      Added value: +{
      +  "description": "Read the workspaces and resolve their actions (default true). [bpf_template]",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"Object type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read an InfoArea definition — name, label, parent area, object status. | trcs: Read an InfoSource (TRCS) structure — label, InfoArea, version status, the aggregation and DataStore-like switches, the owning object of a generated InfoSource… | trfn: Read a Transformation structure — source/target segments, mapping rules. | dtpa: Read a DTP (Data Transfer Process) definition — source, target, transformation, extraction settings, and filter fields (selections and routines). | query: Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definition… | hcpr: Read a CompositeProvider (HCPR) structure — general info, view node type (Union/Join), source providers (inputs) with mapping counts, fields with their field g… | ckf: Read a global Calculated Key Figure (CKF) defined at CompositeProvider level. | rkf: Read a global Restricted Key Figure (RKF) defined at CompositeProvider level. | structure: Read a global Structure defined at CompositeProvider level. | variable: Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, p… | rsds: Read the full structure of a DataSource (RSDS) — metadata, all fields with types and properties, and adapter configuration. Requires source_system. | lsys: Read the metadata of a single logical source system (LSYS) — type, description, connection details, and maintenance properties. | dest: Read an Open Hub Destination (TLOGO DEST) definition — destination type, DB table, InfoArea, package, status, database properties (write mode, technical key, c… | rspc: Read a Process Chain (RSPC) definition — header metadata, scheduling and monitoring settings, all steps (nodes) with type, variant, and last execution status,… | process_variant: Read the detail configuration of a single Process Variant from a Process Chain step. Requires process_type. | alvl: Read an Aggregation Level (TLOGO ALVL) definition — the planning-enabled view on top of an InfoProvider (aDSO or CompositeProvider) used for Integrated Plannin… | plse: Read a Planning Function (TLOGO PLSE) definition — a planning operation (formula/FOX, copy, delete, repost, distribution, currency translation, custom exit, …)… | plsq: Read a Planning Sequence (TLOGO PLSQ) definition — an ordered list of planning steps for Integrated Planning / embedded BPC. | planning_filter: Read a planning filter — the selection a planning sequence step or an input template works on. | planning_properties: Read the Planning Properties (TLOGO PLCR) of a plan-enabled InfoProvider (real-time aDSO or CompositeProvider). | conversion_type: Read a currency translation type (TLOGO CTRT) or a unit conversion type (TLOGO UOMT): source and target (fixed, from the record or chosen when converting, from… | hierarchy: Read the hierarchies of a characteristic. | push_schema: Fetch the JSON schema for an aDSO write interface. | afo_workbook: Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. | query_roles: Get all roles and folders where a specific BW query is currently published."New value: +"Object type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read an InfoArea definition — name, label, parent area, object status. | trcs: Read an InfoSource (TRCS) structure — label, InfoArea, version status, the aggregation and DataStore-like switches, the owning object of a generated InfoSource… | trfn: Read a Transformation structure — source/target segments, mapping rules. | dtpa: Read a DTP (Data Transfer Process) definition — source, target, transformation, extraction settings, and filter fields (selections and routines). | query: Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definition… | hcpr: Read a CompositeProvider (HCPR) structure — general info, view node type (Union/Join), source providers (inputs) with mapping counts, fields with their field g… | ckf: Read a global Calculated Key Figure (CKF) defined at CompositeProvider level. | rkf: Read a global Restricted Key Figure (RKF) defined at CompositeProvider level. | structure: Read a global Structure defined at CompositeProvider level. | variable: Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, p… | rsds: Read the full structure of a DataSource (RSDS) — metadata, all fields with types and properties, and adapter configuration. Requires source_system. | lsys: Read the metadata of a single logical source system (LSYS) — type, description, connection details, and maintenance properties. | dest: Read an Open Hub Destination (TLOGO DEST) definition — destination type, DB table, InfoArea, package, status, database properties (write mode, technical key, c… | rspc: Read a Process Chain (RSPC) definition — header metadata, scheduling and monitoring settings, all steps (nodes) with type, variant, and last execution status,… | process_variant: Read the detail configuration of a single Process Variant from a Process Chain step. Requires process_type. | alvl: Read an Aggregation Level (TLOGO ALVL) definition — the planning-enabled view on top of an InfoProvider (aDSO or CompositeProvider) used for Integrated Plannin… | plse: Read a Planning Function (TLOGO PLSE) definition — a planning operation (formula/FOX, copy, delete, repost, distribution, currency translation, custom exit, …)… | plsq: Read a Planning Sequence (TLOGO PLSQ) definition — an ordered list of planning steps for Integrated Planning / embedded BPC. | planning_filter: Read a planning filter — the selection a planning sequence step or an input template works on. | planning_properties: Read the Planning Properties (TLOGO PLCR) of a plan-enabled InfoProvider (real-time aDSO or CompositeProvider). | conversion_type: Read a currency translation type (TLOGO CTRT) or a unit conversion type (TLOGO UOMT): source and target (fixed, from the record or chosen when converting, from… | hierarchy: Read the hierarchies of a characteristic. | push_schema: Fetch the JSON schema for an aDSO write interface. | afo_workbook: Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. | query_roles: Get all roles and folders where a specific BW query is currently published. | query_check: Check the stored definition of a query component for inconsistencies: a query, a reusable structure, a filter, a restricted or calculated key figure, or a vari… | bpf_template: Read a BPF template in full: header, identity dimensions, process owners, the activities in their order with driving dimension and members, and per activity th… Requires environment. | bpf_instance: Read one BPF process instance: status, context values, owner, template version, and its activity instances with ordinal, name, value of the driving dimension,… Requires environment."
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "adso",
      -  "iobj",
      -  "area",
      -  "trcs",
      -  "trfn",
      -  "dtpa",
      -  "query",
      -  "hcpr",
      -  "ckf",
      -  "rkf",
      -  "structure",
      -  "variable",
      -  "rsds",
      -  "lsys",
      -  "dest",
      -  "rspc",
      -  "process_variant",
      -  "alvl",
      -  "plse",
      -  "plsq",
      -  "planning_filter",
      -  "planning_properties",
      -  "conversion_type",
      -  "hierarchy",
      -  "push_schema",
      -  "afo_workbook",
      -  "query_roles"
      -]New value: +[
      +  "adso",
      +  "iobj",
      +  "area",
      +  "trcs",
      +  "trfn",
      +  "dtpa",
      +  "query",
      +  "hcpr",
      +  "ckf",
      +  "rkf",
      +  "structure",
      +  "variable",
      +  "rsds",
      +  "lsys",
      +  "dest",
      +  "rspc",
      +  "process_variant",
      +  "alvl",
      +  "plse",
      +  "plsq",
      +  "planning_filter",
      +  "planning_properties",
      +  "conversion_type",
      +  "hierarchy",
      +  "push_schema",
      +  "afo_workbook",
      +  "query_roles",
      +  "query_check",
      +  "bpf_template",
      +  "bpf_instance"
      +]
    • changedInput schema / properties / version / description
      Previous value: -"A = active (default where it exists), M = revised version. [hierarchy]"New value: +"Defined per operation — bw_describe(tool: \"bw_read\", type: \"…\") gives each definition. [hierarchy, query_check, bpf_template]"
    • removedInput schema / properties / version / enum
      Removed value: -[
      -  "A",
      -  "M"
      -]
  2. Changed4 schema fields changedv2.1.1
    • addedInput schema / properties / node
      Added value: +{
      +  "description": "View node to show the fields and inputs of (e.g. \"J1\"); defaults to the default node. [hcpr]",
      +  "type": "string"
      +}
    • changedInput schema / properties / process_type / description
      Previous value: -"Process type technical name from the chain step (e.g. [process_variant]"New value: +"Process type technical name from the chain step (e.g. \"ABAP\", \"DTP_LOAD\", \"ADSOACT\", \"ADSOREM\", \"PLSWITCHL\",… [process_variant]"
    • changedInput schema / properties / source_system / description
      Previous value: -"Logical source system name (e.g. [rsds]"New value: +"Logical source system name (e.g. \"LSYS_NAME\"). [rsds]"
    • changedInput schema / properties / type / description
      Previous value: -"Object type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read an InfoArea definition — name, label, parent area, object status. | trcs: Read an InfoSource (TRCS) structure — fields, key fields, label, InfoArea, version status. | trfn: Read a Transformation structure — source/target segments, mapping rules. | dtpa: Read a DTP (Data Transfer Process) definition — source, target, transformation, extraction settings, and filter fields (selections and routines). | query: Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definition… | hcpr: Read a CompositeProvider (HCPR) structure — general info, view node type (Union/Join), source providers (inputs) with mapping counts, fields with their field g… | ckf: Read a global Calculated Key Figure (CKF) defined at CompositeProvider level. | rkf: Read a global Restricted Key Figure (RKF) defined at CompositeProvider level. | structure: Read a global Structure defined at CompositeProvider level. | variable: Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, p… | rsds: Read the full structure of a DataSource (RSDS) — metadata, all fields with types and properties, and adapter configuration. Requires source_system. | lsys: Read the metadata of a single logical source system (LSYS) — type, description, connection details, and maintenance properties. | dest: Read an Open Hub Destination (TLOGO DEST) definition — destination type, DB table, InfoArea, package, status, database properties (write mode, technical key, c… | rspc: Read a Process Chain (RSPC) definition — header metadata, scheduling and monitoring settings, all steps (nodes) with type, variant, and last execution status,… | process_variant: Read the detail configuration of a single Process Variant from a Process Chain step. Requires process_type. | alvl: Read an Aggregation Level (TLOGO ALVL) definition — the planning-enabled view on top of an InfoProvider (aDSO or CompositeProvider) used for Integrated Plannin… | plse: Read a Planning Function (TLOGO PLSE) definition — a planning operation (formula/FOX, copy, delete, repost, distribution, currency translation, custom exit, …)… | plsq: Read a Planning Sequence (TLOGO PLSQ) definition — an ordered list of planning steps for Integrated Planning / embedded BPC. | planning_filter: Read a planning filter — the selection a planning sequence step or an input template works on. | planning_properties: Read the Planning Properties (TLOGO PLCR) of a plan-enabled InfoProvider (real-time aDSO or CompositeProvider). | conversion_type: Read a currency translation type (TLOGO CTRT) or a unit conversion type (TLOGO UOMT): source and target (fixed, from the record or chosen when converting, from… | hierarchy: Read the hierarchies of a characteristic. | push_schema: Fetch the JSON schema for an aDSO write interface. | afo_workbook: Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. | query_roles: Get all roles and folders where a specific BW query is currently published."New value: +"Object type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read an InfoArea definition — name, label, parent area, object status. | trcs: Read an InfoSource (TRCS) structure — label, InfoArea, version status, the aggregation and DataStore-like switches, the owning object of a generated InfoSource… | trfn: Read a Transformation structure — source/target segments, mapping rules. | dtpa: Read a DTP (Data Transfer Process) definition — source, target, transformation, extraction settings, and filter fields (selections and routines). | query: Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definition… | hcpr: Read a CompositeProvider (HCPR) structure — general info, view node type (Union/Join), source providers (inputs) with mapping counts, fields with their field g… | ckf: Read a global Calculated Key Figure (CKF) defined at CompositeProvider level. | rkf: Read a global Restricted Key Figure (RKF) defined at CompositeProvider level. | structure: Read a global Structure defined at CompositeProvider level. | variable: Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, p… | rsds: Read the full structure of a DataSource (RSDS) — metadata, all fields with types and properties, and adapter configuration. Requires source_system. | lsys: Read the metadata of a single logical source system (LSYS) — type, description, connection details, and maintenance properties. | dest: Read an Open Hub Destination (TLOGO DEST) definition — destination type, DB table, InfoArea, package, status, database properties (write mode, technical key, c… | rspc: Read a Process Chain (RSPC) definition — header metadata, scheduling and monitoring settings, all steps (nodes) with type, variant, and last execution status,… | process_variant: Read the detail configuration of a single Process Variant from a Process Chain step. Requires process_type. | alvl: Read an Aggregation Level (TLOGO ALVL) definition — the planning-enabled view on top of an InfoProvider (aDSO or CompositeProvider) used for Integrated Plannin… | plse: Read a Planning Function (TLOGO PLSE) definition — a planning operation (formula/FOX, copy, delete, repost, distribution, currency translation, custom exit, …)… | plsq: Read a Planning Sequence (TLOGO PLSQ) definition — an ordered list of planning steps for Integrated Planning / embedded BPC. | planning_filter: Read a planning filter — the selection a planning sequence step or an input template works on. | planning_properties: Read the Planning Properties (TLOGO PLCR) of a plan-enabled InfoProvider (real-time aDSO or CompositeProvider). | conversion_type: Read a currency translation type (TLOGO CTRT) or a unit conversion type (TLOGO UOMT): source and target (fixed, from the record or chosen when converting, from… | hierarchy: Read the hierarchies of a characteristic. | push_schema: Fetch the JSON schema for an aDSO write interface. | afo_workbook: Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. | query_roles: Get all roles and folders where a specific BW query is currently published."
  3. Addedv2.0.0

TDQS

A4/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 agent knows this is a non-mutating read. Beyond that the description only explains the type-selection mechanism; it does not say what happens when the object does not exist, whether large definitions are truncated, or how per-type payloads differ in size. It adds the useful bw_describe escape hatch, but genuine behavioral context is thin for a 30-operation dispatcher.

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 short sentences, front-loaded with the core action, then the selector semantics, then the discovery pointer. Nothing is redundant or padding, and the reader reaches the routing advice in the final clause of the second sentence.

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 30-operation, 16-parameter dispatcher with no output schema, the definition supplies the two essentials: how to pick an operation and where to get its full parameter contract. The remaining gap is return-shape disclosure — with no output schema, the description never indicates what a read of a "definition" actually looks like or how it varies by type.

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 the type enum enumerates every operation with a prose description, so the structured data does the heavy lifting. The description repeats that type selects the object and name is its technical name, and adds the pointer to bw_describe for the per-operation parameters (format, version) whose meaning varies by type — helpful, but baseline 3 is warranted given full schema coverage.

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 first sentence gives a specific verb and resource ("Read the definition of one BW object") and immediately explains the two required selectors: type chooses the object type, name is its technical name. The read/write verb boundary against the bw_write_* siblings is unambiguous, and the explicit routing to bw_describe separates metadata lookup from definition retrieval.

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 explains the workflow for the hard part of this polymorphic tool: the type enum lists every operation with its requirements, and bw_describe(tool: "bw_read", type: "…") yields the full parameter definition of a single operation. That is clear, actionable context. It stops short of exclusions or a discovery step (e.g. use bw_find first when the technical name is unknown).

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