Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

update_sfpi

Replace an Adobe Form Interface's entire XML source, with lock/write/unlock steps, optional activation, and production-profile protection.

Instructions

Replace the entire source of an existing Adobe Form Interface (SFPI) with new XML. Locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles.

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_sfpi"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesComplete replacement interface context XML.
activateNoActivate after writing.
transportNoTransport request.
interfaceNameYesForm interface name, e.g. ZFI_INVOICE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 load and does disclose real behavior: the lock → PUT → unlock sequence, the optional post-write activation, and a production-profile refusal that is a genuine safety guardrail. It stops short of saying what happens if the lock cannot be acquired or whether a transport is mandatory when activating.

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 operation itself, then the execution mechanics, then the safety guard. No filler and nothing buried.

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 destructive full-replacement mutation with no annotations and no output schema, the description covers the important unknowns: locking, activation, and the production block. The remaining gap is outcome information, such as what is returned on success or how partial failure after lock is handled, which matters given there is no output schema.

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 schema already documents interfaceName, source, activate and transport; that sets the baseline at 3. The description reinforces that source must be a complete replacement payload and that activate is optional, but adds no format, length or transport-resolution detail beyond the schema.

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?

"Replace the entire source of an existing Adobe Form Interface (SFPI) with new XML" gives a specific verb and resource, and the words "entire" and "existing" implicitly separate it from patch_sfpi (partial edit) and create_sfpi (new object). It stops short of naming those siblings, so an agent must infer the boundary rather than read it.

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 definition supplies a hard usage constraint ("Refuses to run on production profiles") and states that activation is optional, which helps an agent decide whether to call it at all. It never says when to prefer update_sfpi over patch_sfpi or create_sfpi, so the choice between siblings remains implied from the word "entire".

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