Skip to main content
Glama
lingcSun

mcp-bw-adt-api

by lingcSun

bw_datasource_fields

Retrieve a parsed list of fields for a specified DataSource and source system, returning structured field details from SAP BW/4HANA ADT.

Instructions

Get parsed DataSource field list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasourceYes
outputPathNoIf provided, the full result is written to this path (under the workdir) and the tool returns only a small summary envelope { ok, outputPath, bytes, summary }. Objects/arrays are written as JSON; ONLY the bw_*_get_xml family writes the raw XML string as plain text (that file is directly reusable as xmlPath in a later save call). Other *_get tools (e.g. bw_dtp_get, bw_trfn_get) write the PARSED XML-to-JSON tree, not raw XML — use the matching bw_*_get_xml tool when you need the raw XML string. Use outputPath for large responses (XML, table data, logs, dataflow graphs). When set, tools skip inline pagination/projection so the file contains the complete payload.
sourceSystemYes
forceCacheUpdateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. Saying 'Get parsed DataSource field list' only states the high-level read behavior; it does not explain caching, forceCacheUpdate effects, output structure, or any prerequisites, which is a meaningful gap for a tool with four unannotated parameters.

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?

The description is a single, front-loaded sentence with no redundant phrasing. While sparse, its brevity is not padded with filler; however, it may be slightly too terse to stand alone for such an under-documented tool.

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

Completeness2/5

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

For a tool with four parameters, no output schema, and no annotations, a one-line description is not complete enough. It does not explain what the returned field list looks like, what sourceSystem must contain, or what forceCacheUpdate does, so an agent lacks critical context for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%: only outputPath is documented in the schema. The description adds no meaning for datasource, sourceSystem, or forceCacheUpdate, so the agent is left without enough context about what these required parameters mean or how they affect the operation.

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?

The description clearly identifies the action ('Get') and resource ('parsed DataSource field list'), so an agent can tell it returns field information rather than raw XML or metadata. It doesn't explicitly name or differentiate it from sibling getters like bw_datasource_details or bw_datasource_get_xml, but the object is specific enough to be unambiguous.

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?

There is no guidance on when to use this tool versus alternatives such as bw_datasource_get_xml, bw_datasource_details, or bw_datasource_versions. No exclusions or preferred contexts are mentioned, leaving the agent to infer usage solely from the tool name and sibling list.

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