Skip to main content
Glama

Create a new sales order

create_sales_order

Create a new sales order with line items, VAT options, currency, and required fields. For AT/DE administrations, provide a delivery date.

Instructions

Create a new sales order.

Create a new sales order. Requires the trade module to be active. Use the /orders/sales/options endpoint first to determine valid combinations of vat_id, ledger_id and vat_option.

For administrations in Austria (AT) or Germany (DE), the delivery_date field is also required.

[Sales Orders] POST /orders/sales

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
administrationNoThe client administration to act on. Only one is configured: default.
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-idempotent mutation, and the description adds useful behavioral constraints beyond them: the trade-module prerequisite, the need to pre-validate VAT/ledger combinations, and the country-specific required field. It does not contradict the annotations and adds context without getting into response details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and roughly front-loaded, but it opens with two identical sentences ('Create a new sales order.' repeated). That redundancy means not every sentence earns its place, which keeps it from being a 4 or 5.

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 complex creation endpoint with no output schema, the description covers the non-obvious prerequisites and conditional requirements needed to invoke it successfully. It omits response behavior, but the rich schema covers required fields and enums, so no critical invocation information is missing.

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

Parameters4/5

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

With only 50% schema coverage, the description compensates by explaining cross-parameter constraints not inferable from the schema: valid combinations of vat_id, ledger_id, and vat_option, and the AT/DE delivery_date requirement. The input schema separately documents the individual field meanings and required fields, so the combination is strong.

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 the exact action and resource ('Create a new sales order') and includes the endpoint POST /orders/sales, so an agent can tell it apart from the get/update/list/send sales-order siblings. It is clear but restates the tool title without adding additional scope or explicit differentiation among the create_* siblings, so not a 5.

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?

It gives actionable preconditions: the trade module must be active, the /orders/sales/options endpoint should be consulted first, and delivery_date is mandatory for AT/DE administrations. This is clear context for when to call the tool, though it does not explicitly list exclusions or compare with alternative tools.

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

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/vladxyz/informer-mcp'

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