Skip to main content
Glama

export_impex

Export data from SAP Commerce Cloud to ImpEx format using FlexibleSearch queries for data migration, backup, or integration tasks.

Instructions

Export data to ImpEx format using a FlexibleSearch query

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flexQueryYesFlexibleSearch query for data to export

Implementation Reference

  • The exportImpex method in HybrisClient class that executes the tool by POSTing the flexQuery to HAC impex/export endpoint, returning the generated ImpEx string.
    async exportImpex(flexQuery: string): Promise<string> { const formData = new URLSearchParams({ flexibleSearchQuery: flexQuery, }); return this.hacRequest<string>( `${this.hacPrefix}/console/impex/export`, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: formData, } ); }
  • Tool definition including name, description, and input schema (requiring flexQuery string). Used for MCP tool listing and input validation.
    name: 'export_impex', description: 'Export data to ImpEx format using a FlexibleSearch query', inputSchema: { type: 'object', properties: { flexQuery: { type: 'string', description: 'FlexibleSearch query for data to export', }, }, required: ['flexQuery'], },
  • src/index.ts:175-188 (registration)
    Registration of the export_impex tool in the MCP tools array, making it discoverable via listTools.
    { name: 'export_impex', description: 'Export data to ImpEx format using a FlexibleSearch query', inputSchema: { type: 'object', properties: { flexQuery: { type: 'string', description: 'FlexibleSearch query for data to export', }, }, required: ['flexQuery'], }, },
  • Dispatches the tool call in the MCP callTool handler by invoking the specific HybrisClient.exportImpex method.
    case 'export_impex': result = await hybrisClient.exportImpex(args?.flexQuery as string); break;

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/Emenowicz/hybris-mcp'

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