Skip to main content
Glama
aytacmehmet

sap-cloud-erp

by aytacmehmet

Create Sales Order

s4_sales_order_create
Destructive

Create a sales order in SAP S/4HANA Cloud by specifying order type, sales organization, distribution channel, division, sold-to party, and at least one material item.

Instructions

Create a sales order with at least one item. Required header: salesOrderType, salesOrganization, distributionChannel, organizationDivision, soldToParty. Required per item: material.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesOrder items
soldToPartyYesSold-to party (customer number)
salesOrderTypeYesOrder type, e.g. 'OR'
additionalFieldsNoExtra header fields merged into the request body as-is
salesOrganizationYesSales organization, e.g. '1010'
distributionChannelYesDistribution channel, e.g. '10'
organizationDivisionYesDivision, e.g. '00'
Behavior2/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, so the description's 'Create' adds no new behavioral context. No mention of side effects, validation rules, or error conditions; thus the description adds minimal value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loading the main action. It is efficient, though could be slightly more concise by omitting redundant field lists already in the schema.

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 (7 params, nested items, no output schema), the description is too minimal. It omits expected return values, default behavior, and error handling, leaving the agent underinformed for correct invocation.

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 coverage is 100%, so baseline is 3. The description enumerates required parameters but does not add semantic detail (e.g., format examples, constraints) beyond what the schema already provides.

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 clearly states 'Create a sales order with at least one item' and lists the required header and item fields, making the tool's purpose specific and distinguishable from sibling create tools like s4_sales_quotation_create.

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?

The description provides required fields but no explicit guidance on when to use this tool versus alternatives (e.g., s4_sales_order_update, s4_sales_quotation_create). Usage is implied from the name and purpose, but no exclusions or context are given.

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

Install Server

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/aytacmehmet/sap-cloud-erp'

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