Skip to main content
Glama
pratri

sap-mcp-server

by pratri

get-purchase-orders

Get purchase orders from SAP S/4HANA with supplier and address details. Filter by supplier, choose fields, and set result count up to 1,000.

Instructions

List Purchase Orders from SAP S/4HANA, including supplier and address. Returns the first N in ascending Purchase 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.
supplierNoOnly return purchase orders for this supplier number.
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does useful work: it discloses that results are the first N records, that ordering is ascending by Purchase Order number, and that `fields` changes which columns are returned. It does not discuss auth or side effects, but the read-only nature is clear from 'List' and 'Returns'.

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?

Three short sentences, each earning its place: purpose, ordering behavior, and field customization. The most important information is front-loaded and there is no filler.

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 simple read-only list tool with three optional parameters and a rich schema, the description covers purpose, ordering, default columns, and field selection. It does not explain the exact return shape, but 'Returns the first N' plus the schema's empty-array note is sufficient for an agent to invoke and interpret results.

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 baseline is 3 and the description need not repeat parameter details. The description adds useful context for `fields` by stating it returns different columns, but it does not add meaning beyond the schema for `top` or `supplier`.

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?

States a specific verb and resource ('List Purchase Orders from SAP S/4HANA') and even names the default return content ('including supplier and address'). The resource is clearly distinct from sibling tools like get-sales-orders and get-business-partners.

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?

Usage context is implied by the resource name and origin, but the description does not explicitly say when to use this tool versus alternatives or when not to use it. The `fields` schema hint mentions list-entity-fields, but no explicit routing guidance appears in the description itself.

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