Skip to main content
Glama
Hollway

mcp-abap-abap-adt-api

by Hollway

activateSafe

Activates inactive ABAP objects by reading them, activating exactly those entries, and verifying none remain inactive—stopping with an error if verification fails.

Instructions

Activate an object and prove it worked. Reads inactiveObjects, activates exactly those entries (class plus its method fragments, sections and test include), then re-reads inactiveObjects and fails if anything is still inactive. Prefer this over activateByName, which can answer success:true without activating anything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectsNoExplicit entries to activate instead of what inactiveObjects reports. Same shape as activateObjects.
objectUrlNoObject URL, e.g. /sap/bc/adt/oo/classes/zcl_app. An alternative way to select the rows.
parentUriNoPackage URI (/sap/bc/adt/packages/<package>), used to fill in adtcore:parentUri where the inactive list leaves it empty - activation rejects entries with an empty parentUri.
objectNameNoName of the object to activate, e.g. ZCL_APP. Used to pick its rows out of the inactive list; omit to activate everything inactive.
preauditRequestedNoAsk the backend to list the fragments it would activate. Useful on a large live class: it is the only diff available here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

The description discloses a detailed behavioral contract: it reads inactiveObjects, activates exactly those entries, re-reads and fails if anything is still inactive. This goes far beyond the annotations (readOnlyHint=false, destructiveHint=false) and provides crucial safety information about verification and failure handling.

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 description is three sentences long, front-loads the core purpose, and provides both process details and usage guidance without redundancy. Every sentence earns its place.

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?

Given the complexity of the tool and the absence of an output schema, the description adequately explains the verification behavior and usage guidance. It does not explicitly cover error scenarios (e.g., lock requirements), but the key behavioral aspects are well covered, making it sufficient for an agent to 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?

All 5 parameters have descriptions in the schema (100% coverage), so the baseline is 3. The tool description itself does not add parameter-specific meaning beyond what the schema provides, but it does not need to given full schema documentation.

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 states a specific verb ('activate') and resource ('object'), and further clarifies what 'activate' means (class plus its method fragments, sections and test include). It explicitly contrasts itself with activateByName, making its unique purpose unmistakable.

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

Usage Guidelines5/5

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

The description explicitly recommends this tool over activateByName, explaining the risk of the alternative returning success without activating. It also implies when to use it (when you need verified activation) by referencing inactiveObjects.

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

Deploy Server

Other Tools