Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

get_sfpi_source

Reads the source XML of an Adobe Form Interface (SFPI) to return interface context definitions for parameters, global data, and data bindings; safe on any SAP profile.

Instructions

Read the source XML of an Adobe Form Interface (SFPI object, SFP transaction). Returns the interface context XML that defines parameters, global data, and data bindings. 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": {
      "interfaceName": "<interfaceName>"
    },
    "name": "get_sfpi_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
interfaceNameYesForm interface name, e.g. ZFI_INVOICE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the safety profile ("Safe on any profile") and the shape of the return value (interface context XML with parameters, global data, and data bindings), which are genuine additions. However, it says nothing about whether the active or inactive version is returned, behavior for a nonexistent interface name, or output size.

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?

Two tight sentences, front-loaded with the verb and resource, followed by the return content and safety note. No filler, no restatement of the name or title.

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 single-parameter read tool with no annotations and no output schema, the definition covers purpose, input identity, return contents, and safety. The remaining gap is edge-case behavior (missing interface, active vs inactive source), which is minor for a straightforward source reader.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter exists and schema coverage is 100%, with the schema supplying both the field description and an illustrative value (ZFI_INVOICE). The description adds real meaning beyond the schema by identifying the parameter as an SFPI object name associated with the SFP transaction, which helps an agent locate the right identifier.

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: "Read the source XML of an Adobe Form Interface (SFPI object, SFP transaction)", and disambiguates the acronym by naming the SFPI object and SFP transaction. It also says what the XML contains (parameters, global data, data bindings). It does not explicitly differentiate itself from the adjacent get_sfpf_source or get_smartform_source readers, so it stops short of a 5.

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 is only implied: the reader infers this is for inspecting an SFPI interface's raw XML, and "Safe on any profile" suggests unrestricted use. There is no explicit statement of when to prefer this over get_sfpf_source/get_smartform_source, nor any precondition such as the object needing to exist or being active.

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