Skip to main content
Glama

Unleashed Software MCP by usefulapi

Create a parked sales order

unleashed_create_sales_order
Destructive

Create a DRAFT sales order with status Parked (reserves no stock, posts nothing to accounting — a person places or completes it in Unleashed). Line totals, line tax, SubTotal, TaxTotal and Total are computed for you to satisfy Unleashed's validation (SubTotal = sum of line totals, TaxTotal = sum of line taxes, Total = SubTotal + TaxTotal). Unleashed: POST /SalesOrders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesYesAt least one order line.
taxCodeNoTax code as configured in Unleashed, e.g. GST.
taxRateYesTax rate as a fraction, e.g. 0.15 for 15%.
commentsNoOrder comments.
orderDateNoOrder date (YYYY-MM-DD). Default today.
orderNumberNoOrder number; generated by Unleashed if omitted.
currencyCodeYesOrder currency code, e.g. NZD.
customerCodeYesThe customer's code.
exchangeRateNoExchange rate to the base currency. Default 1.
requiredDateNoRequired date (YYYY-MM-DD).
warehouseCodeYesThe warehouse code to sell from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only supply destructiveHint=true; the description carries and adds substantial behavioral context beyond that: the order reserves no stock and posts nothing to accounting, totals/taxes are server-computed, and the arithmetic identity Unleashed's validation enforces. This is exactly the side-effect and validation disclosure an agent needs for a write tool.

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 sentences, front-loaded with the single most important fact (creates a DRAFT/Parked order). The dense middle sentence earns its length by defining computed fields and the validation invariant; the trailing endpoint reference is short and useful for debugging.

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 an 11-parameter write tool with no output schema and only a destructiveHint annotation, the description covers behavior, side effects, and validation well. The remaining gap is that it never indicates what the call returns (e.g. the generated order number/ID), which an agent would need for a follow-up step.

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 all 11 parameters are already documented and the baseline is 3. The description adds genuinely useful context that the SubTotal/TaxTotal/Total fields are computed and need not be supplied, but it does not clarify any individual input parameter 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?

States a specific verb (Create) and resource (sales order) plus the exact resulting state (DRAFT, status Parked), which is more than a generic 'create' and cleanly separates it from the get_/list_ siblings. An agent knows exactly what object will exist after the call and in what state.

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?

The text explains the workflow context — the order is parked and 'a person places or completes it in Unleashed' — which implies this is the first step of a two-step human-in-the-loop process. However, it never names an alternative tool or states an explicit when-to-use/when-not condition (e.g. vs. quotes or a direct invoice path), so guidance is implied rather than stated.

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.