Skip to main content
Glama
par4987

@pired/sap-fiori-mcp-server

by par4987

List Fiori apps in a workspace

list_fiori_apps
Read-onlyIdempotent

Scans your workspace for existing SAP Fiori apps and returns app ID, type, entity set, OData version, and view files. Use it before modifying an app to know what's available.

Instructions

Scans a directory for existing SAP Fiori applications (Fiori elements V2/V4, freestyle, cards, adaptation projects) that can be modified. Returns app id, type, entity set, OData version and view files. Call this before modifying an app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNoFolder recursion depth
workspacePathNoRoot folder to scan (default: workspace root / cwd)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
appsYes
nameYes
pathYes
isCapYes
cdsFoldersYes
hasPackageJsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.26.1

TDQS

A4.3/5.0
Behavior4/5

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

The description aligns with the readOnlyHint, idempotentHint, and destructiveHint annotations and adds useful context: it scans a directory, identifies modifiable apps, and returns specific metadata fields. It does not discuss failure or permission behavior, but annotations already carry the safety profile.

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 sentences with no filler: the action is front-loaded, the return content is summarized, and the usage instruction is placed at the end. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With two fully documented optional parameters, a rich output schema, and safety annotations already present, the description covers what the tool does, what it returns, and when to call it. Nothing essential is missing for an agent to invoke it correctly.

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?

The input schema already describes both parameters fully, including defaults and bounds, so the description adds no parameter-level value. Baseline 3 is appropriate when schema coverage is 100%.

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?

The description names a specific verb and resource ('Scans a directory for existing SAP Fiori applications'), enumerates the app types covered, and lists the exact return fields. This clearly differentiates it from the many create/generate siblings in the tool list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit timing guidance ('Call this before modifying an app') and scopes the tool to existing modifiable apps. It does not name sibling alternatives or state when not to use it, but the usage context is clear enough.

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