Skip to main content
Glama
GutjahrAI

SAP OData MCP Server

by GutjahrAI

SAP OData MCP Server

A Model Context Protocol (MCP) server for integrating SAP systems with AI assistants like Claude using OData REST APIs. This server provides tools for connecting to SAP OData services, querying entity sets, executing CRUD operations, and calling OData functions.

Features

  • SAP OData Connectivity: Connect to SAP systems via OData REST APIs

  • Smart Connection Handling: Properly handles SAP OData URL structures and 404 responses

  • Service Discovery: Automatically discover available OData services via catalog or common service testing

  • Entity Set Queries: Query any OData entity set with filtering, sorting, and pagination

  • CRUD Operations: Create, Read, Update, and Delete operations on OData entities

  • Function Imports: Execute OData function imports and custom functions

  • CSRF Token Handling: Automatic CSRF token management for secure operations

  • Modular Architecture: Clean, maintainable TypeScript codebase with separation of concerns

Related MCP server: sap-mcp-simulation

Prerequisites

  • Node.js 18+

  • SAP system with OData services enabled

  • Network access to SAP OData endpoints

  • SAP user credentials with appropriate authorizations

⚠️ Advantage: No SAP RFC SDK installation required! Uses standard HTTP/REST APIs.

Installation

Quick Setup

  1. Create the project:

mkdir sap-odata-mcp-server
cd sap-odata-mcp-server
mkdir src
  1. Copy the source files from the artifacts to your src/ directory:

    • src/index.ts - Entry point

    • src/server.ts - MCP server setup

    • src/handlers.ts - Request handlers

    • src/odata-client.ts - SAP OData client

    • src/tool-definitions.ts - Tool definitions

    • src/types.ts - TypeScript types

  2. Copy configuration files:

    • package.json - Dependencies and scripts

    • tsconfig.json - TypeScript configuration

    • .env.example - Environment variables template

  3. Install dependencies:

npm install
  1. Configure environment:

cp .env.example .env
# Edit .env with your SAP details
  1. Build the project:

npm run build

Configuration

Environment Variables

Create a .env file with your SAP system details:

# Required SAP OData Configuration
SAP_ODATA_BASE_URL=https://your-sap-host:8000/sap/opu/odata/sap/
SAP_USERNAME=your-sap-username
SAP_PASSWORD=your-sap-password

# Optional Configuration
SAP_CLIENT=100
SAP_TIMEOUT=30000
SAP_VALIDATE_SSL=false  # for development with self-signed certificates
SAP_ENABLE_CSRF=true

Claude Desktop Integration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "sap-odata": {
      "command": "node",
      "args": ["/full/path/to/your/sap-odata-mcp-server/dist/index.js"],
      "env": {
        "SAP_ODATA_BASE_URL": "https://your-sap-host:8000/sap/opu/odata/sap/",
        "SAP_USERNAME": "your-username",
        "SAP_PASSWORD": "your-password",
        "SAP_CLIENT": "100",
        "SAP_VALIDATE_SSL": "false"
      }
    }
  }
}

Available Tools

1. sap_connect

Connect to SAP OData service.

Parameters:

  • baseUrl (required): SAP OData service base URL

  • username (required): SAP username

  • password (required): SAP password

  • client (optional): SAP client number

  • timeout (optional): Request timeout in milliseconds (default: 30000)

  • validateSSL (optional): Validate SSL certificates (default: true)

  • enableCSRF (optional): Enable CSRF token handling (default: true)

2. sap_get_services

Get list of available OData services with intelligent discovery.

3. sap_get_service_metadata

Get metadata for a specific OData service.

Parameters:

  • serviceName (required): Name of the OData service

4. sap_query_entity_set

Query an OData entity set with filtering, sorting, and pagination.

Parameters:

  • serviceName (required): Name of the OData service

  • entitySet (required): Name of the entity set

  • select (optional): Array of fields to select

  • filter (optional): OData filter expression

  • orderby (optional): OData orderby expression

  • top (optional): Number of records to return

  • skip (optional): Number of records to skip

  • expand (optional): Navigation properties to expand

5. sap_get_entity

Get a specific entity by its key values.

Parameters:

  • serviceName (required): Name of the OData service

  • entitySet (required): Name of the entity set

  • keyValues (required): Object with key-value pairs for entity keys

6. sap_create_entity

Create a new entity in an entity set.

7. sap_update_entity

Update an existing entity.

8. sap_delete_entity

Delete an entity.

9. sap_call_function

Call an OData function import.

10. sap_connection_status

Check current SAP OData connection status.

11. sap_disconnect

Disconnect from SAP OData service.

Usage Examples

Getting Started with Claude

Once configured, you can interact with SAP using natural language in Claude:

Connect to SAP:

Connect to SAP OData service at https://sap-host:8000/sap/opu/odata/sap/ using username DEVELOPER and password mypassword

Discover Available Services:

Get list of available OData services

Get Service Information:

Get metadata for service GWSAMPLE_BASIC

Query Data:

Query BusinessPartnerSet from GWSAMPLE_BASIC, select BusinessPartnerID and CompanyName, top 10

Advanced Filtering:

Query SalesOrderSet from ZSD_SALES_SRV, filter by CreationDate ge datetime'2024-01-01T00:00:00', order by CreationDate desc, top 20

Get Specific Records:

Get entity from MaterialSet in ZMM_MATERIAL_SRV with key Material = '000000000000000001'

Create New Records:

Create entity in CustomerSet with data: {"CustomerNumber": "1000", "CustomerName": "Test Customer", "Country": "US"}

OData Query Examples

Filtering:

$filter=MaterialType eq 'FERT' and CreationDate ge datetime'2024-01-01T00:00:00'

Selecting Fields:

$select=Material,MaterialDescription,MaterialType,BaseUnit

Sorting:

$orderby=CreationDate desc,Material asc

Pagination:

$top=50&$skip=100

Expanding Navigation Properties:

$expand=MaterialPlantData,MaterialSalesData

SAP System Requirements

Required SAP Components

  • SAP NetWeaver 7.0 or higher

  • SAP Gateway component activated

  • OData services enabled and configured

Required SAP Authorizations

The SAP user needs these authorization objects:

  • S_SERVICE: Service authorization for OData endpoints

  • S_ICF: Internet Communication Framework authorization

  • S_TCODE: Transaction authorization for BAPIs (if using function imports)

Activating OData Services

  1. Transaction SICF: Activate ICF services at /sap/opu/odata

  2. Transaction /IWFND/MAINT_SERVICE: Manage and activate OData services

  3. Transaction /IWFND/GW_CLIENT: Test OData service calls

Architecture

Modular Design

src/
├── index.ts              # Entry point - starts the server
├── server.ts             # MCP server setup and request routing
├── handlers.ts           # Business logic for each tool
├── odata-client.ts       # SAP OData HTTP client
├── tool-definitions.ts   # MCP tool schemas
└── types.ts              # TypeScript type definitions

Key Features

  • Smart Connection Testing: Handles SAP's URL structure where base URLs return 404

  • Service Discovery: Multiple methods to find available OData services

  • Error Handling: Comprehensive error handling with helpful messages

  • Type Safety: Full TypeScript support with proper interfaces

  • CSRF Protection: Automatic CSRF token management for write operations

Troubleshooting

Common Issues

Connection Refused (Network Error)

  • Verify SAP system is running and accessible

  • Check hostname/port in SAP_ODATA_BASE_URL

  • Verify firewall settings allow HTTP/HTTPS traffic

401 Unauthorized

  • Check SAP_USERNAME and SAP_PASSWORD

  • Verify user account is not locked

  • Ensure user has S_SERVICE authorization

403 Forbidden

  • Check user has required SAP authorizations

  • Verify S_ICF authorization for OData paths

  • Contact SAP administrator for permission review

404 Not Found

  • This is normal for SAP OData base URLs without service names

  • Verify OData services are activated (SICF transaction)

  • Use service discovery to find available services

SSL Certificate Errors

  • Set SAP_VALIDATE_SSL=false for development

  • Install proper certificates for production

  • Check certificate chain and expiration

Debug Mode

Enable detailed logging:

DEBUG=axios npm start

SAP System Verification

  1. Test OData URL in browser: Navigate to your SAP OData URL

  2. Check service activation: Transaction SICF → /sap/opu/odata

  3. Verify gateway services: Transaction /IWFND/MAINT_SERVICE

  4. Test with gateway client: Transaction /IWFND/GW_CLIENT

Security Best Practices

Production Deployment

  • Use HTTPS for all SAP OData connections

  • Store credentials securely - never hardcode passwords

  • Create dedicated service users with minimal required permissions

  • Enable CSRF protection for write operations

  • Implement proper authorization in SAP for OData services

  • Monitor access logs and set up alerting

  • Regular security audits of user permissions

Network Security

  • Use VPN or private networks for SAP access

  • Implement IP restrictions where possible

  • Enable SAP Gateway security features

  • Use proper certificate management

Common SAP OData Services

Standard SAP Services

  • GWSAMPLE_BASIC - Basic sample service for testing

  • GWDEMO - Comprehensive demo service

  • RMTSAMPLEFLIGHT - Flight booking demo

Business Services

  • API_MATERIAL_SRV - Material Management

  • API_BUSINESS_PARTNER - Business Partner Management

  • API_SALES_ORDER_SRV - Sales Order Management

  • API_PURCHASEORDER_PROCESS_SRV - Purchase Order Processing

Entity Sets by Module

  • MM (Materials Management): MaterialSet, MaterialPlantDataSet

  • SD (Sales & Distribution): SalesOrderSet, CustomerSet, PricingConditionSet

  • FI (Financial Accounting): GeneralLedgerEntrySet, AccountingDocumentSet

  • HR (Human Resources): EmployeeSet, OrganizationalUnitSet

Development

Available Scripts

# Build TypeScript
npm run build

# Start production server
npm start

# Development mode with auto-reload
npm run dev

# Code quality
npm run lint
npm run format

Adding New Features

  1. Add tool definition in tool-definitions.ts

  2. Implement handler in handlers.ts

  3. Add route in server.ts switch statement

  4. Update types in types.ts if needed

  5. Build and test

Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes with proper TypeScript types

  4. Test with a real SAP system

  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Available Tools

11 tools
sap_call_functionC

Call an OData function import

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
functionNameYesName of the function to call
parametersNoFunction parameters

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It states the action ('Call') but doesn't describe what happens during execution—such as whether it requires authentication, how errors are handled, if it's idempotent, or what the typical response format is. For a tool that likely interacts with external systems, this lack of behavioral context is a significant gap.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and target, making it easy to parse. Every part of the sentence earns its place by conveying essential information concisely.

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

Completeness2/5

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

Given the complexity of calling OData functions (involving external systems, parameters, and potential side effects), the description is insufficient. There are no annotations to cover behavioral aspects, no output schema to describe return values, and the description lacks context on usage, prerequisites, or error handling. This leaves significant gaps for an agent to use the tool effectively.

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 schema description coverage is 100%, with clear descriptions for all parameters (serviceName, functionName, parameters). The description adds no additional semantic information beyond what's in the schema, such as examples of valid service names or how parameters map to OData functions. Given the high schema coverage, a baseline score of 3 is appropriate, as the schema does the heavy lifting.

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 ('Call') and target ('an OData function import'), which is specific and unambiguous. It distinguishes this tool from siblings like sap_create_entity or sap_query_entity_set by focusing on function calls rather than entity operations. However, it doesn't explicitly differentiate from all siblings (e.g., sap_get_service_metadata might also involve OData services).

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 no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a connection via sap_connect), typical use cases for OData functions, or when to choose this over other SAP tools like sap_query_entity_set. Without such context, the agent must infer usage from the tool name alone.

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

sap_connectC

Connect to SAP OData service

ParametersJSON Schema
NameRequiredDescriptionDefault
baseUrlYesSAP OData service base URL (e.g., https://sap-host:8000/sap/opu/odata/sap/)
usernameYesSAP username
passwordYesSAP password
clientNoSAP client number (optional)
timeoutNoRequest timeout in milliseconds
validateSSLNoValidate SSL certificates
enableCSRFNoEnable CSRF token handling

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. 'Connect' implies establishing a session or authentication, but it doesn't describe what happens after connection (e.g., session persistence, authentication mechanism, error handling, or what 'connection' means in this context). For a tool with 7 parameters and no annotation coverage, this is inadequate.

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 a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a connection tool and front-loaded with the essential action, making it easy for an agent to parse quickly.

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

Completeness2/5

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

Given the complexity of connecting to an SAP OData service (involving authentication, session management, etc.), no annotations, and no output schema, the description is insufficient. It doesn't explain what the connection enables, how long it lasts, error conditions, or what the tool returns. For a foundational tool in an SAP integration suite, this leaves critical gaps.

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 the schema already documents all 7 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema, meeting the baseline score of 3 for high schema coverage. No compensation is needed since schema coverage is complete.

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 'Connect to SAP OData service' clearly states the verb ('Connect') and resource ('SAP OData service'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'sap_disconnect' or 'sap_connection_status' that also relate to connection management, so it doesn't reach the highest score.

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 no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, when this should be called before other SAP operations, or how it relates to siblings like 'sap_disconnect' or 'sap_connection_status'. This leaves the agent without context for proper tool selection.

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

sap_connection_statusB

Check SAP OData connection status and get connection info

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool checks status and gets info, implying a read-only operation, but doesn't specify details like whether it requires an active connection, what info is returned (e.g., version, latency), or any side effects. This is a significant gap for a tool that might be critical in a workflow.

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 a single, clear sentence with no wasted words. It's front-loaded with the core action ('Check SAP OData connection status') and adds a clarifying detail ('get connection info'). Every part earns its place, making it highly concise and well-structured.

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

Completeness2/5

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

Given the complexity of SAP tools and the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'connection info' includes, how the status is reported (e.g., success/failure codes), or prerequisites like needing an established connection. For a diagnostic tool in a technical context, more detail is warranted to guide the agent effectively.

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?

The tool has 0 parameters, and the schema description coverage is 100%, so there's no need for parameter details in the description. The description appropriately doesn't mention parameters, which is efficient. A baseline of 4 is applied since it avoids redundancy and focuses on the tool's purpose.

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 tool's purpose with a specific verb ('Check') and resource ('SAP OData connection status'), and it adds 'get connection info' to clarify the output. However, it doesn't explicitly differentiate this from sibling tools like 'sap_connect' or 'sap_disconnect', which might also relate to connection management, so it doesn't reach the highest score.

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 no guidance on when to use this tool versus alternatives. It doesn't mention scenarios like verifying connectivity before operations, troubleshooting, or how it differs from siblings such as 'sap_connect' (which might establish a connection) or 'sap_disconnect' (which might end one). This lack of context leaves the agent without usage direction.

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

sap_create_entityC

Create a new entity in an entity set

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
entitySetYesName of the entity set
dataYesEntity data to create

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the tool creates an entity but doesn't mention critical aspects like authentication requirements, error handling, side effects (e.g., database writes), or response format. This is inadequate for a mutation tool with zero annotation coverage.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is appropriately sized and front-loaded, making it easy to parse quickly.

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

Completeness2/5

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

Given the complexity of a creation tool with no annotations and no output schema, the description is insufficient. It doesn't cover behavioral traits, usage context, or output details, leaving significant gaps for an agent to understand how to invoke and interpret results effectively.

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 schema description coverage is 100%, so parameters are well-documented in the schema itself. The description adds no additional semantic context beyond what's in the schema (e.g., examples of 'entity data' or clarification on 'serviceName'), resulting in a baseline score of 3.

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 ('Create') and resource ('new entity in an entity set'), making the purpose understandable. However, it doesn't differentiate from sibling tools like sap_update_entity or specify what constitutes an 'entity' in this context, which would be needed for a perfect score.

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?

No guidance is provided on when to use this tool versus alternatives like sap_update_entity or sap_get_entity. The description lacks context about prerequisites (e.g., needing a connection via sap_connect) or typical use cases, leaving the agent to infer usage from the tool name alone.

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

sap_delete_entityC

Delete an entity

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
entitySetYesName of the entity set
keyValuesYesKey-value pairs for entity keys

TDQS

C2.7/5.0
Behavior2/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 of behavioral disclosure. 'Delete an entity' implies a destructive mutation, but it doesn't specify permissions required, whether deletion is reversible, error handling, or side effects. For a destructive tool with zero annotation coverage, this is a significant gap in transparency, though it at least correctly indicates a delete action.

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 extremely concise with 'Delete an entity', a single sentence that front-loads the core action. There is no wasted text or redundancy, making it efficient for quick understanding, though it may be overly brief for such a critical operation.

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

Completeness2/5

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

Given the complexity of a destructive delete operation with three parameters, no annotations, and no output schema, the description is incomplete. It fails to address key aspects like what happens post-deletion, error scenarios, or how it integrates with sibling tools (e.g., sap_create_entity). The minimal description leaves too many gaps for safe and effective use.

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 the input schema fully documents the three parameters (serviceName, entitySet, keyValues). The description adds no additional meaning beyond what the schema provides, such as examples or context for the parameters. With high schema coverage, the baseline score is 3, as the description doesn't compensate but also doesn't detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete an entity' states the action (delete) and resource (entity), which is clear but vague. It doesn't specify what type of entity or distinguish it from sibling tools like sap_delete_entity (if it existed) or other deletion operations. It's a minimal viable description that conveys the basic purpose without specificity.

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?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a connection via sap_connect), exclusions, or comparisons to siblings like sap_update_entity or sap_create_entity. The description lacks any context for usage, leaving it to the agent to infer based on tool names alone.

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

sap_disconnectA

Disconnect from SAP OData service

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.9/5.0
Behavior2/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 of behavioral disclosure. It states the action ('disconnect') but does not describe what this entails—whether it terminates a session, releases resources, affects other tools, or has side effects. For a tool with zero annotation coverage, this leaves significant behavioral gaps.

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 a single, clear sentence with no wasted words. It is front-loaded and efficiently conveys the core purpose without unnecessary elaboration.

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?

Given the tool's simplicity (0 parameters, no output schema) and lack of annotations, the description is minimally adequate. It states what the tool does but lacks details on behavioral impact or usage context, which could be important for an agent managing SAP connections.

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?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description does not add parameter details, which is appropriate. A baseline of 4 is applied as it meets the requirement for a zero-parameter tool.

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 'Disconnect from SAP OData service' clearly states the action (disconnect) and the target resource (SAP OData service). It specifically distinguishes this tool from its siblings like 'sap_connect' and 'sap_connection_status', which handle connection establishment and status checking respectively.

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?

The description implies usage context—disconnecting from an active SAP OData service connection—but does not explicitly state when to use it versus alternatives. It suggests usage after a connection is established (via 'sap_connect'), but lacks explicit guidance on prerequisites or exclusions.

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

sap_get_entityC

Get a specific entity by its key values

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
entitySetYesName of the entity set
keyValuesYesKey-value pairs for entity keys

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It implies a read-only operation ('Get'), but doesn't disclose authentication needs, error handling, rate limits, or what happens if the entity doesn't exist. For a tool with no annotation coverage, this leaves significant gaps in understanding its behavior.

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 a single, efficient sentence with zero waste. It's front-loaded with the core action and resource, making it easy to parse quickly. Every word contributes directly to the purpose without unnecessary elaboration.

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

Completeness2/5

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

Given the complexity (OData entity retrieval with key values), lack of annotations, and no output schema, the description is insufficient. It doesn't explain the return format, error cases, or dependencies (e.g., requiring an active SAP connection). For a tool with three parameters and no structured safety hints, more context is needed.

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 the schema already documents all three parameters. The description adds no additional meaning beyond implying key-based lookup, which is already suggested by the parameter names. It doesn't explain parameter relationships or provide examples, so it meets the baseline but adds no extra value.

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 verb ('Get') and resource ('a specific entity'), making the purpose understandable. It distinguishes from siblings like sap_query_entity_set (which queries sets) and sap_create_entity/update_entity/delete_entity (which modify entities). However, it doesn't specify the exact resource type (e.g., OData entity) or explicitly mention it's for retrieval by key, which prevents a perfect score.

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 no guidance on when to use this tool versus alternatives. It doesn't mention when to choose sap_get_entity over sap_query_entity_set (for querying vs. direct key lookup) or sap_get_service_metadata (for metadata vs. data). There's no context about prerequisites (e.g., needing a connection) or exclusions, leaving usage unclear.

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

sap_get_service_metadataC

Get metadata for a specific OData service

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It states the tool gets metadata but doesn't describe what the metadata includes (e.g., entity sets, properties, operations), whether it's a read-only operation, any authentication or rate limit requirements, or error handling. This leaves significant gaps for a tool interacting with a system like SAP.

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 a single, clear sentence with zero waste—it directly states the tool's purpose without unnecessary words. It's appropriately sized for a simple tool and front-loaded with the essential information, making it efficient for an AI agent to parse.

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

Completeness2/5

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

Given the complexity of SAP/OData systems and the lack of annotations and output schema, the description is incomplete. It doesn't explain what metadata is returned (e.g., structure, format) or behavioral aspects like error cases. For a tool that likely provides critical system information, more context is needed to guide effective use.

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 has 100% description coverage, with the parameter 'serviceName' documented as 'Name of the OData service'. The description adds no additional meaning beyond this, such as examples of service names or format constraints. With high schema coverage, the baseline score of 3 is appropriate, as the schema does the heavy lifting.

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 ('Get metadata') and target ('for a specific OData service'), which is specific and unambiguous. It distinguishes this from siblings like sap_get_services (which likely lists services) and sap_get_entity (which retrieves data entities). However, it doesn't explicitly differentiate from all siblings, such as sap_connection_status, which might also provide metadata about connections.

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 no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an active connection via sap_connect), exclusions, or comparisons to siblings like sap_get_services (which might list services without detailed metadata). Usage is implied only by the tool name and description, lacking explicit context.

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

sap_get_servicesB

Get list of available OData services

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool does but provides no information about permissions required, rate limits, pagination, error conditions, or what format the returned list takes. For a tool that presumably returns a list of services, this leaves significant behavioral questions unanswered.

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 a single, clear sentence that states exactly what the tool does with no wasted words. It's appropriately sized for a simple tool with no parameters and gets straight to the point.

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 zero-parameter tool with no output schema, the description provides the basic purpose but lacks important context. It doesn't explain what information is returned about each service, how the list is structured, or how this discovery tool relates to other SAP tools in the server. Given the complexity of SAP systems and the presence of related tools like 'sap_get_service_metadata', more context would be helpful.

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?

The tool has zero parameters with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't mention parameters since there are none, which is correct for this case. Baseline for zero parameters is 4.

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 ('Get list') and the resource ('available OData services'), making the purpose immediately understandable. However, it doesn't distinguish this from its sibling 'sap_get_service_metadata' which likely provides metadata about a specific service rather than listing available services.

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 no guidance on when to use this tool versus alternatives. It doesn't mention when this tool should be used (e.g., to discover available services before calling other tools) or when not to use it, nor does it reference any sibling tools like 'sap_get_service_metadata' that might serve related purposes.

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

sap_query_entity_setC

Query an OData entity set with filtering, sorting, and pagination

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
entitySetYesName of the entity set
selectNoFields to select
filterNoOData filter expression
orderbyNoOData orderby expression
topNoNumber of records to return
skipNoNumber of records to skip
expandNoNavigation properties to expand

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but only states basic functionality without disclosing behavioral traits. It lacks details on authentication needs, rate limits, error handling, or response format (e.g., JSON structure, pagination behavior). This is inadequate for a query tool with complex parameters.

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 a single, efficient sentence that front-loads the core purpose and key capabilities. It wastes no words and is appropriately sized for the tool's complexity, making it easy for an agent to parse quickly.

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

Completeness2/5

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

Given the tool's complexity (8 parameters, no annotations, no output schema), the description is incomplete. It doesn't explain return values, error cases, or how parameters interact (e.g., OData syntax for 'filter'), leaving significant gaps for an agent to invoke the tool correctly in a real SAP OData context.

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 the schema fully documents all 8 parameters. The description adds no additional meaning beyond implying support for filtering, sorting, and pagination—which is already evident from parameter names like 'filter', 'orderby', 'top', and 'skip'. Baseline 3 is appropriate as the schema does the heavy lifting.

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 ('Query') and target ('OData entity set') with specific capabilities ('filtering, sorting, and pagination'). It distinguishes from siblings like sap_create_entity or sap_delete_entity by focusing on read operations, though it doesn't explicitly differentiate from sap_get_entity which might also retrieve data.

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?

No explicit guidance on when to use this tool versus alternatives like sap_get_entity or sap_get_service_metadata. The description implies usage for querying with advanced options but doesn't specify scenarios, prerequisites, or exclusions, leaving the agent to infer based on parameter names alone.

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

sap_update_entityC

Update an existing entity

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceNameYesName of the OData service
entitySetYesName of the entity set
keyValuesYesKey-value pairs for entity keys
dataYesEntity data to update

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. 'Update an existing entity' implies a mutation operation but doesn't specify permissions required, whether changes are reversible, potential side effects, error handling, or response format. This leaves critical behavioral traits undocumented for a tool that modifies data.

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 extremely concise with just three words ('Update an existing entity'), making it front-loaded and free of unnecessary information. Every word contributes directly to stating the tool's purpose without any waste.

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

Completeness2/5

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

Given the complexity of updating SAP OData entities (4 parameters, nested objects, no output schema, and no annotations), the description is insufficient. It lacks details on authentication, error cases, what constitutes a valid update, or how to interpret results, making it incomplete for safe and effective use in this context.

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%, with all parameters clearly documented in the input schema (serviceName, entitySet, keyValues, data). The description adds no additional parameter semantics beyond what the schema provides, so it meets the baseline score of 3 for adequate but not enhanced parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Update an existing entity' clearly states the verb ('Update') and resource ('entity'), making the basic purpose understandable. However, it doesn't specify what kind of entity (SAP OData entity) or distinguish it from sibling tools like sap_create_entity or sap_delete_entity, leaving the scope vague.

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 no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (like needing an active SAP connection), differentiate from sap_create_entity (for new entities) or sap_delete_entity (for removal), or specify use cases for updating versus other operations.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 11 tool updatesv0.1.0
    • First observedsap_call_function
    • First observedsap_connect
    • First observedsap_connection_status
    • First observedsap_create_entity
    • First observedsap_delete_entity
    • First observedsap_disconnect
    • First observedsap_get_entity
    • First observedsap_get_service_metadata
    • First observedsap_get_services
    • First observedsap_query_entity_set
    • First observedsap_update_entity

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation5/5

Every tool has a clearly distinct purpose with no ambiguity. Each tool targets a specific OData operation (e.g., connect, query, create, update, delete) or metadata retrieval, making it easy for an agent to select the right tool without confusion.

Naming Consistency5/5

Tool names follow a consistent 'sap_verb_noun' pattern throughout, using snake_case uniformly. This predictable naming scheme enhances readability and makes the tool set easy to navigate and understand.

Tool Count5/5

With 11 tools, the server is well-scoped for SAP OData operations. Each tool earns its place by covering essential CRUD operations, connection management, and metadata retrieval, providing a comprehensive yet manageable surface for the domain.

Completeness5/5

The tool set offers complete CRUD/lifecycle coverage for SAP OData, including connection handling, entity management, and metadata access. There are no obvious gaps, ensuring agents can perform all core workflows without dead ends.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables interaction with SAP S/4HANA systems via OData, allowing service discovery, metadata exploration, field value retrieval, and CRUD operations through natural language.
    4
    5
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to read, write, activate, and transport ABAP code in SAP systems via ABAP ADT REST API, without needing SAP GUI.
    24
    342
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants and n8n workflows to interact with SAP S/4HANA and ECC systems via OData, IDoc, and RFC/BAPI, with governed read-only-by-default access and multiple authentication types.
    1
    ISC