Skip to main content
Glama

create_order

Create a new order (comandă) for a client.

Input Schema

NameRequiredDescriptionDefault
seriesNoOrder series name (uses account default if omitted; provide it when the default series has a wrong year or a clashing number)
currencyYesCurrency code, e.g. "RON"
client_idNoClient ID
client_cityNoClient city
client_nameNoClient name
document_dateNoDate in YYYY-MM-DD format (defaults to today)
client_addressNoClient address
client_countryNoClient country code
document_positionsYesLine items
document_series_counterNoNumber within the series (auto-incremented if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, but it only restates the operation. It does not explain numbering/series behavior, side effects, validation gates, required permissions, or what happens when optional client fields are omitted.

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

Conciseness2/5

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

The single sentence is concise and front-loaded, but it is under-specified for a ten-parameter creation tool with no annotations. Brevity here reflects missing information rather than efficient communication.

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

Completeness2/5

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

The tool is complex: ten parameters, mutation semantics, no annotations, and no output schema. The schema is rich, but the description does not cover usage context, side effects, or important interactions such as series defaults and discount gating.

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 ten parameters, including the nuanced discount_rate behavior. The description adds no parameter meaning beyond what the schema provides, making 3 the appropriate baseline.

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 an order for a client. It is clearer than a bare name but does not explicitly distinguish this client order from sibling tools such as create_supplier_order, create_invoice, or create_proforma_invoice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use create_order instead of create_invoice, create_proforma_invoice, or create_supplier_order, nor any prerequisites or exclusions. The agent must infer usage entirely from the tool name and schema.

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