Skip to main content
Glama

BW Objects (read)

bw
Read-onlyIdempotent

Inspect SAP Business Warehouse objects read-only: check system capabilities, list objects by type/pattern, read definitions, and trace where-used relationships.

Instructions

BW objects of any type: capabilities of the system's BW, list, read and where-used. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • capabilities — 5 line through SAP_BW, BW/4HANA through DW4CORE, or none), whether transport recording and where-used are available, and per BW object type which operations work (available), lack an API on this system (no_api) or are not built yet (not_built). Read it first on a new system. Runs in SAP through the engine's BW class; read-only. Optional: type. • list — List BW objects of one type by name pattern, with their long text: any type in BW's registry (InfoObjects, ADSOs, InfoAreas, CompositeProviders, transformations, DTPs, process chains, InfoCubes, …). Read-only; at most 1000, default 200. Use bw(action: "read") for one object and bw(action: "where_used") for its users. Required: type. Optional: pattern, version, language, maxRows. • read — Read one BW object: which versions exist (A active, M modified), its package, and its header rows from BW's own table; for an InfoObject the full definition through BAPI_IOBJ_GETDETAIL (details, compounds, attributes, navigation attributes). Read-only. Required: type, name. Optional: version. • where_used — Show which BW objects use a BW object and which objects it uses, from BW's where-used table RSOOBJXREF (the list BW itself checks before a delete). Read-only. Required: type, name. Optional: version.

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": {
      "action": "<action>"
    },
    "name": "bw"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoread, where_used: Object name (e.g. ZCUSTOMER, 0MATERIAL)
typeNocapabilities: Only this object type (TLOGO), with all its operations | list, read, where_used: BW object type (TLOGO) as BW names it: IOBJ InfoObject, ADSO DataStore object (advanced), AREA InfoArea, HCPR CompositeProvider, TRFN transformation, DTPA DTP, RSPC process chain, CUBE InfoCube, ODSO classic DSO, … (bw(action: "capabilities") lists the system's types)
actionYesWhat to do: capabilities, list, read, where_used (see the tool description)
maxRowsNolist: At most this many (default 200, max 1000)
patternNolist: Name pattern, * as wildcard (default *)
versionNolist, read, where_used: A active (default), M modified (saved, not yet activated) or D delivered (Business Content not yet installed)
languageNolist: Text language, one character (default the logon language)
connectionIdNoSAP system connection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description still adds genuine value beyond them: the 1000/200 row caps, the A/M/D version semantics, the note that capabilities executes through the engine's BW class, and that where-used reads the same RSOOBJXREF table BW itself checks before a delete. That is solid context but stops short of stating what list/read actually return in shape.

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?

Front-loaded one-line scope statement followed by per-action bullets with Required/Optional parameter callouts is an efficient structure and matches the schema. Editing lapses ('5 line through SAP_BW...', 'or none)') and repetitive 'Read-only' restatements cost a point.

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

Completeness3/5

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

For an 8-parameter multi-action tool with no output schema, it tells the agent what each action conceptually returns (feature matrix, name list with long text, object detail, dependency graph). It does not describe return structure or pagination behavior for list, which matters given the 1000-row cap.

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?

Schema coverage is 100%, so a 3 is the baseline, and the description earns more: it ties each parameter to the action that consumes it (type required for all, name for read/where_used, pattern/maxRows/language for list), explains the 200 default and 1000 ceiling, and notes connectionId selects the system. The garbled phrase around 'SAP_BW, BW/4HANA through DW4CORE' in the capabilities bullet slightly muddies the type discussion.

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?

Each of the four actions is stated with a concrete verb and resource: capabilities reports system BW feature support, list enumerates objects of one type by pattern, read returns one object's versions/package/header, where_used returns dependencies from RSOOBJXREF. An agent can tell the actions apart and knows this is the read-side BW tool versus the separate bw_write sibling.

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?

Usage guidance is explicit inside the tool: 'Read it first on a new system' for capabilities, and list explicitly routes to read for a single object and where_used for its users. What is missing is cross-sibling framing — it never states that mutations belong to bw_write, leaving the read/write split to be inferred from the repeated 'Read-only' wording.

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