Skip to main content
Glama
parmarnaresh86

SAP Business One Order-to-Cash MCP Server

aggregate_procurement_demand

Consolidate open sales and production orders to calculate net procurement shortfall per item, comparing demand against stock and on-order quantities to identify what to procure.

Instructions

Aggregate open procurement demand across all open Sales Orders and released/planned Production Orders. Groups demand by item, cross-references current stock and on-order quantities, and computes net shortfall per item so you know what needs to be procured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNNoMax items to return, sorted by net shortfall desc (default 100)
Behavior3/5

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

With no annotations provided, the description carries the full transparency burden. It clearly implies a read-only analytical operation through verbs like aggregate, group, cross-reference, and compute, but it does not explicitly state that no data is modified or that this is a snapshot view. This leaves some room for interpretation for a cautious agent.

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 well-structured sentences with no redundant detail. The first sentence names the action and sources; the second explains the computation and practical purpose. Every clause earns its place, and no filler is present.

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 tool with one optional parameter and no output schema, the description is nearly complete: it identifies inputs, logic, and the resulting shortfall metric. It does not enumerate the exact return fields, but those are easy to infer from the described grouping and cross-referencing logic.

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%, and the sole parameter topN is already well documented in the schema with its default and sort behavior. The description adds no extra parameter context, but none is really needed, so the baseline of 3 is appropriate.

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 states a specific action (aggregate) and resource (open procurement demand from open sales orders and released/planned production orders). It clearly describes the grouping, cross-referencing, and net-shortfall calculation, which sharply differentiates it from sibling planning tools like calc_reorder_point or get_open_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 context: use this when you need an aggregated picture of procurement demand and net shortfall for all open sales and production orders. It does not explicitly name alternatives or exclusisons, but the context is concrete enough to guide an agent toward it and away from pure sales or stock reporting 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/parmarnaresh86/AgentSphere-MCP'

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