Skip to main content
Glama

Test RFC Connection

sap_rfc_ping
Read-onlyIdempotent

Test the RFC connection to SAP by calling STFC_CONNECTION, returning connection status, system ID, and error details when the connection fails.

Instructions

Test the RFC connection to SAP using STFC_CONNECTION. Requires node-rfc and the SAP NW RFC SDK.

Configure via RFC_ASHOST + RFC_SYSNR (direct) or RFC_MSHOST + RFC_R3NAME (load-balanced) in .env.

Returns (json): { connected, systemId?, message }.

Notes:

  • If the SDK is not installed this tool returns a clear error with setup instructions.

  • Credentials are reused from SAP_CLIENT, SAP_USER, SAP_PASSWORD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNoOutput format: 'markdown' (human-readable, default) or 'json' (structured).markdown
Install Server

TDQS

A3.9/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: it discloses the dependency on node-rfc and the SAP NW RFC SDK, explains what happens if the SDK is missing, describes the JSON return shape, and clarifies that credentials are reused from environment variables. This gives an agent a realistic picture of the tool's runtime behavior and requirements.

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?

The description is concise and well-structured: purpose first, then dependencies, configuration, return shape, and bulleted notes. Every sentence adds relevant information with no fluff or repetition of schema or annotations.

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?

For a simple read-only ping tool with one optional parameter and no output schema, the description is complete. It covers what the tool does, how to configure it, what it returns, credential handling, and the failure mode when the SDK is absent.

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%, and the single parameter response_format already has a full description and enum in the schema. The tool description adds no additional meaning to parameters, though it does mention a JSON return shape that is slightly inconsistent with the markdown/json response_format choice.

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?

The description clearly states the action ('Test the RFC connection to SAP') and the specific function module used (STFC_CONNECTION), making the tool's purpose unambiguous. However, it does not explicitly distinguish itself from the sibling tool 'sap_connection_test', which appears to serve a similar connectivity-checking purpose.

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

Usage Guidelines2/5

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

The description provides configuration prerequisites (direct vs. load-balanced connections) and notes about SDK installation, but it gives no guidance on when to use this tool versus alternative siblings like sap_connection_test or sap_rfc_system_info. There are no explicit exclusions or conditions for choosing this tool over others.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appmaster3000/sap-abap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server