Skip to main content
Glama

ExportBehaviorDefinitionToFile

Export a RAP behavior definition from an SAP ABAP system to a .bdef.asbdef file in the tmp folder, with the behavior name converted to the Z-namespace automatically.

Instructions

Export a RAP behavior definition from the system directly to a file in the tmp folder with .bdef.asbdef extension. Automatically converts behavior name to Z-namespace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
behavior_nameYesName of the behavior definition to export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses non-obvious behavior: the output location (tmp folder), the .bdef.asbdef extension, and the automatic Z-namespace conversion of the behavior name. However it omits overwrite behavior for an existing file and what the call returns (e.g., a path), which matter for a write-to-disk tool.

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 with no filler, and the core action plus destination are front-loaded before the namespace-conversion detail.

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?

With no output schema and no annotations, the description should carry more of the contract. It covers destination and naming behavior but leaves the return value (file path?) and overwrite semantics unexplained, which are the details an agent needs to chain this call correctly.

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?

One required parameter with 100% schema description coverage, so the schema already documents behavior_name and the baseline is 3. The description adds marginal value by noting the name is converted to Z-namespace, but gives no further syntax or format guidance.

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 a specific verb (export) and resource (RAP behavior definition) plus the destination (file in tmp with .bdef.asbdef). It implicitly contrasts with the sibling GetBehaviorDefinition by emphasizing file output, but never names that alternative explicitly, so differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the 'to file' framing versus retrieval siblings, but there is no explicit statement of when to choose this tool over GetBehaviorDefinition or the other Export*ToFile variants, nor any prerequisites or exclusions.

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