Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

update_sfpf

Replaces the complete XDP layout source of an existing Adobe Form, with lock/PUT/unlock handling and optional activation; blocked on production profiles.

Instructions

Replace the entire XDP layout source of an existing Adobe Form (SFPF). 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": {
      "formName": "<formName>",
      "source": "<source>"
    },
    "name": "update_sfpf"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesComplete replacement XDP layout XML.
activateNoActivate after writing.
formNameYesForm name, e.g. ZFP_INVOICE
transportNoTransport request.

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 burden and does disclose meaningful behavior: the lock/PUT/unlock lifecycle, optional activation, and a hard refusal on production profiles. It stops short of covering failure/rollback behavior if the PUT fails mid-transaction or how transport requests affect the write.

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 core action, then behavior, then the safety constraint. Every sentence carries distinct information with no redundancy.

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 an unannotated destructive mutation, the description supplies the essentials: what is destroyed (entire layout replaced), the locking protocol, activation, and a production guard. Remaining gaps around failure modes are modest given a fully documented schema and no output schema to explain.

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 four parameters are already documented, giving a baseline of 3. The description reinforces that 'source' is a complete replacement and that 'activate' is optional, but adds no format or semantics for 'transport' beyond what the schema states.

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 and resource: 'Replace the entire XDP layout source of an existing Adobe Form (SFPF)'. The word 'entire' distinguishes it from the sibling patch_sfpf and 'existing' distinguishes it from create_sfpf, though neither sibling is named 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?

Usage context is implied by 'existing' form and 'entire replacement', which suggests full-overwrite scenarios rather than partial edits, plus the production-profile exclusion. However, it never explicitly names patch_sfpf or get_sfpf_source as the alternatives an agent should consider before overwriting an entire layout.

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