Skip to main content
Glama
veterinar

retailcrm-mcp

by veterinar

create_order

Create a RetailCRM order with line items and delivery, linking an existing customer or creating one inline. Returns order ID and details.

Instructions

Create an order with line items and delivery. Link an existing customer via customer_id/customer_external_id, or pass first_name (+phone/email) to create one inline. Returns {success, id, order?}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites).
emailNoCustomer email
itemsYesOrder items (at least one required)
phoneNoCustomer phone number
statusNoInitial order status code (e.g. 'new')
last_nameNoCustomer last name
first_nameNoCustomer first name (omit only when linking by customer_id/customer_external_id)
order_typeNoOrder type codeeshop-individual
customer_idNoLink the order to an EXISTING customer by RetailCRM ID (mutually exclusive with inline name/phone/email)
delivery_codeNoDelivery type code
delivery_costNoDelivery cost
delivery_addressNoDelivery address as free text
customer_external_idNoLink the order to an EXISTING customer by externalId
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

The annotations only indicate readOnlyHint=false and destructiveHint=false, so the description must carry behavioral disclosure. It adds valuable context by disclosing that a customer may be created inline (side effect) and by specifying the return value shape {success, id, order?}. It does not contradict annotations.

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?

The description is two sentences, each earning its place. The first gives the primary purpose, the second covers customer handling and the return format. No fluff or repetition of schema details.

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?

With 13 parameters but no output schema, the description provides key routing information (customer linking options) and the return structure. The schema sufficiently describes individual parameters, and the description fills the main decision gap without overwhelming the agent. It could mention delivery-related parameters but that is adequately covered in the schema.

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?

Schema description coverage is 100%, providing a baseline of 3. The description adds extra meaning by explaining the relationship between customer_id/customer_external_id and the inline name/phone/email parameters, clarifying mutual exclusivity and when to use each. This goes beyond individual parameter descriptions.

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 clearly states the tool creates an order with line items and delivery, using the specific verb 'create' and resource 'order'. It also distinguishes from sibling tools like update_order and list_orders by focusing on creation, and differentiates from create_customer by mentioning inline customer creation as part of order creation.

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 provides clear usage context by explaining the two ways to handle customers: linking an existing one via customer_id/customer_external_id or passing first_name and contact details to create one inline. While it doesn't explicitly state when not to use this tool versus alternatives, the guidance on customer linking gives practical usage direction beyond a simple imperative.

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/veterinar/retailcrm-mcp'

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