Skip to main content
Glama

UpdateInclude

Updates the source code of an existing ABAP include, optionally activates it, and records the change in a specified transport request.

Instructions

Updates the source code of an existing ABAP include (PROG), activating it when asked, recorded in the transport given.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "include_name": "<include_name>",
      "source_code": "<source_code>"
    },
    "name": "UpdateInclude"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.terse
activateNoActivate the include after the write. Default: false.
source_codeYesComplete ABAP source of the include.
include_nameYesInclude name. The include must already exist.
transport_requestNoTransport request number, not a task. Required for transportable packages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful traits beyond the schema: activation is conditional ('when asked') and the change is recorded in a transport. It does not say whether the source is fully overwritten, what happens on failure or on a locked object, or what errors a missing transport produces.

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?

A single compact sentence with the resource and precondition front-loaded and no filler. The trailing clauses ('activating it when asked, recorded in the transport given') are slightly compressed and read awkwardly, but no words are wasted.

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?

A five-parameter mutation tool with no annotations and no output schema needs more behavioral coverage than this. The schema fully documents inputs, but nothing explains the shape of the response implied by the detail parameter or the consequences of the write, leaving a moderate gap for a destructive operation.

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 all five parameters are already documented, including the detail enum and the transport_request caveat. The description only echoes the activation and transport concepts without adding format, syntax, or constraint detail beyond the schema; baseline 3 applies.

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?

The description names a specific verb (updates) and resource (the source code of an existing ABAP include), and the '(PROG)' tag pins the object type. It is distinguishable from UpdateIncludeMetadata (metadata, not source) and ActivateInclude, though it never names those siblings explicitly.

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 word 'existing' implies a precondition that the include must already be present, and schema text reinforces this ('The include must already exist'). However, there is no explicit guidance on when to use this versus UpdateIncludeMetadata or ActivateInclude, and no statement about when activation should be requested.

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