Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

activate_object

Activates one or more existing ABAP objects and returns the raw activation result, supporting batch activation for mutually dependent RAP objects such as a behavior definition and its implementation.

Instructions

Activate one or more existing ABAP objects and report the raw activation result. Pass a single object (objectUri + objectName), or several at once via objects - activating together is required for mutually-dependent RAP objects, e.g. a behavior definition and its behavior implementation class. Blocked on production profiles.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "activate_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectsNoActivate several objects together (needed for a BDEF + its behavior class).
objectUriNoADT URI of a single object, e.g. /sap/bc/adt/oo/classes/zcl_foo
objectNameNoName of the single object, e.g. ZCL_FOO

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the operation is a mutation on existing objects, that the result is returned raw (implying the caller must interpret activation errors/warnings rather than receiving a normalized status), and that it is 'blocked on production profiles', a hard environment constraint. It does not say what happens on partial failure in a batch or whether activation is idempotent.

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?

Two sentences, front-loaded with the action and the calling convention, with no filler. Slightly dense in the second sentence where the single/batch split, the RAP rationale, and the production restriction are packed together, but every clause carries information.

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 three-parameter mutation tool with no output schema and no annotations, the description covers purpose, both invocation shapes, the key grouping constraint, and the environment restriction. Remaining gaps are the shape of the 'raw activation result' and batch partial-failure semantics, which matter but are secondary.

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 the baseline is 3, but the description adds real meaning the schema cannot express: the schema has zero required fields, so the description is what tells the agent the two valid call shapes (single object vs `objects` array) and why the array form exists. It does not explain the ADT URI format beyond the schema's own example.

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?

States a specific verb and resource ('Activate one or more existing ABAP objects') plus the output behavior ('report the raw activation result'). This clearly separates it from the create_* and get_* siblings, which build or read objects rather than activating them.

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?

Gives concrete when-to-use guidance: a single object via objectUri + objectName, several via `objects`, and explicitly when batching is *required* (mutually-dependent RAP objects such as a BDEF plus its behavior implementation class). No alternative sibling tools are named, but the create/get tools are not substitutes for activating, so nothing important is left ambiguous.

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