Skip to main content
Glama

CreateServiceDefinition

Create a new ABAP service definition in an SAP system by specifying name, package, and optional source code; supports activation and transport requests.

Instructions

Operation: Create. Subject: ServiceDefinition. Will be useful for creating service definition. Create a new ABAP service definition in SAP system. Creates the service definition object in initial state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_definition_nameYesService definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
descriptionNoService definition description. If not provided, service_definition_name will be used.
package_nameYesPackage name (e.g., ZOK_LOCAL, $TMP for local objects)
transport_requestNoTransport request number (e.g., E19K905635). Required for transportable packages.
source_codeNoService definition source code (optional). If not provided, a minimal template will be created.
activateNoActivate service definition after creation. Default: true.
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It mentions 'creates the service definition object in initial state' but does not detail side effects, permissions, or lifecycle implications. Without annotations, this is insufficient for a create operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is repetitive, starting with 'Operation: Create. Subject: ServiceDefinition. Will be useful for creating service definition.' This redundancy wastes tokens and reduces conciseness. A single, clear sentence would suffice.

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?

Given the tool has 6 parameters, 2 required, and no output schema, the description lacks completeness about return values, activation behavior, and the meaning of 'initial state.' It does not provide enough context for an agent to fully understand the tool's impact.

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 baseline is 3. The tool description adds no additional parameter information beyond what the schema already provides, so no extra value is added.

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 clearly states the tool's purpose: 'Create a new ABAP service definition in SAP system.' It uses a specific verb (Create) and resource (ServiceDefinition), distinguishing it from sibling tools like UpdateServiceDefinition or ActivateServiceDefinition.

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?

The description does not explicitly state when to use this tool versus alternatives or prerequisites. It merely says 'Will be useful for creating service definition,' which provides implied usage but lacks guidance on when not to use it or what to do before calling it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server