Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

patch_sfpi

Modify an existing Adobe Form Interface (SFPI) by replacing one exact string; requires a unique match and refuses production profiles.

Instructions

Modify part of an existing Adobe Form Interface (SFPI) by replacing an exact string. oldString must match exactly once. 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>",
      "oldString": "<oldString>",
      "newString": "<newString>"
    },
    "name": "patch_sfpi"
  }
}

Input Schema

NameRequiredDescriptionDefault
activateNoActivate after writing.
newStringYesReplacement text.
oldStringYesExact existing text to replace (must match once).
transportNoTransport request.
interfaceNameYesForm interface name, e.g. ZFI_INVOICE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does add one real behavioral trait beyond the schema: it refuses to run on production profiles. It does not disclose what happens on zero or multiple matches (error type, no write at all), whether the change requires a transport or post-write activation, or whether edits are reversible.

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 what the tool does, followed by the matching precondition and the safety constraint. No filler and nothing buried.

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?

For a mutation tool with 5 parameters, no annotations and no output schema, the description should say more about failure modes and side effects. The production guardrail is valuable, but the agent still cannot predict the result of an ambiguous match or the effect of the transport/activate parameters.

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 every parameter including oldString, newString, interfaceName, transport and activate is already documented. The description only restates the single-match rule for oldString and adds nothing about transport semantics or activation behavior, so 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?

States a specific verb and resource (modify an existing Adobe Form Interface) plus the mechanism (replace an exact string). 'Modify part of' implicitly distinguishes this from a whole-object update_sfpi, but no sibling is named explicitly, so the differentiation is left to inference.

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 single-match replacement mechanism implies when to use it (surgical edits rather than full rewrites), and the production-profile refusal is a useful usage constraint. However, it never names update_sfpi as the alternative for larger changes, nor states when a patch is inappropriate.

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