Skip to main content
Glama

UpdateIncludeMetadata

Replaces an existing ABAP include's stored metadata with a complete new ADT metadata document and records the change in the specified transport request.

Instructions

Updates the stored metadata of an existing ABAP include (PROG), replacing it whole, 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>",
      "metadata": "<metadata>"
    },
    "name": "UpdateIncludeMetadata"
  }
}

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
metadataYesThe whole ADT metadata document of the include, as GetInclude part "metadata" returns it, with the changes made; it is sent as given and replaces the stored one.
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

A3.5/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 the most important trait — the metadata document is replaced whole, so unmentioned fields are lost — and that the write is recorded in a transport. It omits permissions, whether activation is separately required, and error behavior for non-existent or non-transportable targets.

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 dense sentence, front-loaded with the verb and resource, with each clause (whole replacement, transport recording) earning its place. 'recorded in the transport given' is slightly compressed but not wasteful.

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 4-parameter mutation tool with no annotations and no output schema, the definition covers the essential danger (full replacement) and the transport requirement, and the schema handles return detail. The remaining gap is workflow context — whether the caller must fetch metadata via GetInclude first and whether activation is needed.

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 coverage is 100%, and every parameter already documents itself in detail (including the metadata 'as GetInclude part "metadata" returns it' workflow hint and the detail enum levels). The description only echoes the whole-replacement and transport-recording semantics the schema already states, adding little beyond baseline.

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 ('Updates') and a precise resource ('the stored metadata of an existing ABAP include (PROG)'), and the phrase 'metadata ... replacing it whole' separates it from source-code siblings like UpdateInclude. It stops short of explicitly naming a sibling or stating the contrast, so an agent must infer the metadata-vs-source split.

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?

'existing ABAP include' and 'replacing it whole' imply a read-modify-write flow and that the target must already exist, but no alternative tool or when-not condition is named. There is no statement about activation afterwards or when to prefer UpdateInclude instead.

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