Skip to main content
Glama

create_supplier_order

Create a new supplier order (purchase order). Provide supplier_id when the supplier already exists, or supplier_name + address fields to create it on the fly.

Input Schema

NameRequiredDescriptionDefault
currencyYesCurrency code, e.g. "RON", "EUR"
due_dateNoExpected delivery date in YYYY-MM-DD format (optional)
supplier_idNoSupplier ID (from search_suppliers). Takes priority over supplier_name.
order_numberYesOrder number as printed on the supplier's document, e.g. "CMD-123". Required by the API.
supplier_uidNoSupplier fiscal code / CUI / VAT number (optional)
document_dateNoOrder date in YYYY-MM-DD format
supplier_cityNoSupplier city
supplier_nameNoSupplier name. If supplier_id is absent and the supplier does not yet exist, a new supplier is created automatically when address, city, and country are also provided.
supplier_addressNoSupplier street address
supplier_countryNoSupplier country code, e.g. "RO"
document_positionsYesLine items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the important auto-creation behavior for suppliers, but it omits permission requirements, side effects, duplicate handling, and what happens if supplier information is insufficient or omitted.

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 short sentences, front-loaded with the core action and immediately followed by the key supplier-resolution rule. There is no wasted text.

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

Completeness3/5

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

The schema is rich and fully documented, which covers parameter-level completeness. However, with no annotations and no output schema, the description does not address prerequisites, return behavior, or selection against similar create tools, leaving meaningful contextual gaps for an 11-parameter mutation tool.

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 schema already documents all 11 parameters thoroughly. The description adds a helpful synthesis of the supplier_id versus supplier_name branch, but it does not add syntax or semantic detail beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: "Create a new supplier order (purchase order)." This clearly distinguishes it from generic order creation, though it does not explicitly name or contrast with close siblings such as create_order or create_supplier_invoice.

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?

It gives useful branching guidance for supplier resolution: use supplier_id when the supplier exists, or supplier_name plus address fields to create one on the fly. However, it does not say when to choose this tool over siblings like create_order or create_supplier_invoice, nor does it state exclusions or prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources