Skip to main content
Glama
pratri

sap-mcp-server

by pratri

get-sales-orders

Retrieve sales orders from SAP S/4HANA with net value, currency, and processing status, sorted by order number. Filter by customer or request specific fields to get exactly the data needed.

Instructions

List Sales Orders from SAP S/4HANA, including net value, currency and processing status. Returns the first N in ascending Sales Order number order. Pass fields to return different columns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoHow many records to return. Defaults to 5. Large values produce large results — roughly 60 tokens per record — so keep this small unless you need the whole set. An empty result array means nothing matched.
fieldsNoField names to return instead of the default set (this becomes the OData $select). Use list-entity-fields to see what is available.
soldToPartyNoOnly return orders for this sold-to party (customer) number.
Behavior4/5

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

No annotations are present, so the description carries the disclosure burden. It usefully states that results come back as the first N records in ascending Sales Order number order and explains the effect of the `fields` parameter. It does not cover pagination or error behavior, but for a list operation it discloses the key non-obvious behaviors.

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 three concise sentences: the first states the core purpose, the second adds ordering and limit semantics, and the third flags column customization. Every sentence earns its place and there is no redundant restating of schema details.

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?

For a read-only list tool with three optional parameters and no output schema, the description covers the resource, notable output fields, ordering, and limiting behavior. Parameter specifics are fully delegated to the schema, so nothing essential is missing 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 the baseline is 3. The description adds only a brief note that `fields` changes returned columns; the schema already explains `top` and `soldToParty` thoroughly. This meets the minimum but does not go far beyond the schema.

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 opens with a specific verb and resource: 'List Sales Orders from SAP S/4HANA.' It also names concrete included data (net value, currency, processing status), which makes the tool's purpose unmistakable and distinguishes it from siblings like get-purchase-orders.

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 gives clear usage context: use this tool when you need Sales Orders from SAP S/4HANA. It does not explicitly name alternative tools or exclusion conditions, but the resource-specific language makes selection unambiguous relative to the sibling tools.

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/pratri/sap-mcp-server'

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