Skip to main content
Glama
lingcSun

mcp-bw-adt-api

by lingcSun

bw_table_describe

Describe a SAP DDIC table in one call, combining metadata, field info, and data-preview metadata. Use outputPath to save the full snapshot as a file.

Instructions

Describe a DDIC table in one call: merges metadata, info, fields, and data-preview metadata. Prefer outputPath when you need the full snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesDDIC table name.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It discloses that the call merges several metadata aspects and that outputPath produces a full snapshot with a summary envelope. However, it does not describe the default inline return shape or whether the default response is paginated/truncated, which is relevant given the outputPath hint.

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 tool description is two crisp sentences that front-load the purpose and then give the key usage tip. Every sentence earns its place, and the longer outputPath detail is appropriately placed in the schema rather than the main description.

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 two-parameter tool with no output schema, the description is largely complete: it states what the tool returns conceptually and gives a strategy for obtaining the full snapshot. The main gap is the missing default response format, but the agent can still invoke the tool correctly with just the required table parameter.

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%, so the input schema already documents both parameters fully. The main description adds little beyond the schema; even the rich outputPath explanation lives inside the schema property description. This matches the baseline 3 for high 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 description names a specific verb and resource: 'Describe a DDIC table in one call'. It also enumerates the exact scope of the result—metadata, info, fields, and data-preview metadata—which separates it from data-retrieval siblings like bw_table_get_data or bw_table_query_sql.

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 gives clear context: use this tool to describe a DDIC table, and 'Prefer outputPath when you need the full snapshot' is a concrete conditional usage guideline. It does not explicitly name alternatives or exclusions, but the guidance is sufficient for correct tool selection.

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