Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

update_interface

Overwrite an existing ABAP interface's source with a complete new version; use for full replacements when patch edits are unsuitable. Refuses production profiles and can activate after writing.

Instructions

Overwrite the source of an EXISTING ABAP interface. REPLACES the whole interface - read it first and send the complete result back. Refuses to run on production profiles. Prefer patch_interface for small edits.

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": {
      "interfaceName": "<interfaceName>",
      "source": "<source>"
    },
    "name": "update_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesComplete new ABAP source - REPLACES the entire interface
activateNoActivate after writing. Default false.
transportNoTransport request. Omit only for local/$TMP objects.
interfaceNameYesInterface name, e.g. ZIF_ABL_PLANT_EMAIL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/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 behavioral burden and does well: it warns that the whole interface is REPLACES, requires a read-first workflow, and refuses production profiles. It does not describe activation/transport side effects or failure behavior, but the core destructive semantics are clearly disclosed.

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?

Three short sentences, front-loaded with the destructive replacement warning before the read-first instruction and alternative. Every sentence contributes useful guidance with no wasted wording.

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 four-parameter destructive tool with no annotations or output schema, the description covers replacement scope, production restrictions, and the safer alternative. Remaining operational details such as activation and transport are handled by the schema, though failure or validation behavior is not described.

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 the baseline is 3. The description reinforces the source parameter's replacement semantics and the read-first workflow, but it adds no syntax or constraints beyond what the schema already documents.

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 and resource: overwrite the source of an EXISTING ABAP interface. It immediately distinguishes this from create_interface by emphasizing EXISTING and from patch_interface by recommending that sibling for small edits.

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?

It gives explicit when-to-use guidance: read the interface first and send the complete result back. It also gives a clear when-not/alternative: prefer patch_interface for small edits, and notes that production profiles are refused.

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