Skip to main content
Glama
aytacmehmet

sap-cloud-erp

by aytacmehmet

Create Material Document (post a goods movement)

s4_material_document_create
Destructive

Create a material document to post goods movements like goods receipt against purchase order, goods issue to order, or transfer between storage locations. Requires item details including material, plant, movement type, and quantity.

Instructions

Post a goods movement (material document) with at least one item. Required per item: material, plant, goodsMovementType, entryUnit, quantityInEntryUnit. Additional fields become required depending on movement type — e.g. for a goods receipt against a PO (movement type 101) also set purchaseOrder, purchaseOrderItem, and goodsMovementRefDocType='B'; manufacturingOrder for order receipts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesGoods movement items
postingDateNoPosting date, ISO format 'YYYY-MM-DD' (defaults to today if omitted)
additionalFieldsNoExtra header fields merged into the request body as-is
goodsMovementCodeNoGoods movement code, default '01'01
Behavior4/5

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

Annotations already indicate destructiveHint=true, so the description doesn't need to repeat safety. It adds context about movement type dependencies and required fields, which goes beyond annotations. No contradiction.

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, front-loaded with purpose, followed by essential conditional logic. No wasted words, highly efficient.

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

Completeness4/5

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

Covers main functionality and key conditional cases. Could be more exhaustive about all movement types, but sufficient for common usage. No output schema, but not required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant value by explaining conditional field requirements based on movement type (e.g., purchaseOrder for GR against PO), which is not evident from individual field descriptions.

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 'Post a goods movement (material document)' with specific verb and resource. It distinguishes from sibling tools by being the creation tool for material documents, and provides detailed conditional requirements.

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 explains when to use it (for posting goods movements) and gives examples of conditional field requirements. However, it does not explicitly state when not to use it or mention alternatives, though as the only creation tool, usage is clear.

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