Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

get_sfpf_source

Reads the XDP layout source of an Adobe Form (SFPF object) and returns the XFA/XDP XML that defines pages, subforms, fields, and layout; safe on any profile.

Instructions

Read the XDP layout source of an Adobe Form (SFPF object, SFP transaction). Returns the XFA/XDP XML that defines pages, subforms, fields, and layout. Safe on any profile.

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>"
    },
    "name": "get_sfpf_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNameYesForm name, e.g. ZFP_INVOICE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does establish that this is a read-only, side-effect-free operation safe across all profiles, which is meaningful behavioral context, but it omits size/volume characteristics of the returned XML, behavior when the form does not exist, and whether the source is the active or saved version.

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 action and resource, then the return payload, then the safety note. Every sentence contributes and nothing is restated from the name or schema.

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 one-parameter read tool with no output schema, the description effectively documents the return value (XFA/XDP XML and its structure) and the safety profile. The only remaining gap is edge-case behavior such as missing forms or very large sources, which is minor here.

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% with a single required formName parameter already documented with an example (ZFP_INVOICE), so the baseline is 3. The description implies the identifier is an Adobe Form/SFPF object but adds no syntax, naming convention, or lookup guidance beyond the schema.

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?

States a specific verb (Read) plus resource (XDP layout source of an Adobe Form) and narrows to the exact object type (SFPF object, SFP transaction), which distinguishes it from the many other get_*_source siblings. It also names the concrete artifact returned (XFA/XDP XML defining pages, subforms, fields, layout), so an agent knows what it gets without opening the schema.

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?

"Safe on any profile" gives a usable precondition, implying no profile/authorization gating and that it can be called freely. However, there is no explicit when-to-use vs alternatives (e.g. get_sfpi_source, get_smartform_source, create_sfpf/update_sfpf), leaving routing to inference from the description text alone.

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