Skip to main content
Glama

create_order

Creates a CDEK delivery order from tariff, recipient, destination, package, and service data so shipments can be registered via the CDEK API.

Instructions

Создать заказ на доставку в СДЭК

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tariff_code": "<tariff_code>",
      "recipient": "<recipient>",
      "to_location": "<to_location>",
      "packages": "<packages>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberNoНомер заказа в вашей системе
commentNoКомментарий к заказу
packagesYesУпаковки
servicesNoДополнительные услуги
recipientYesДанные получателя
tariff_codeYesКод тарифа СДЭК
to_locationYesАдрес доставки
from_locationNoАдрес отправления (если отличается от данных договора)
delivery_pointNoКод ПВЗ доставки
shipment_pointNoКод ПВЗ отправления

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about side effects, whether orders can be cancelled afterwards (delete_order exists), what happens with the optional 'number' field for idempotency, or what a successful call returns. Only the bare fact that an order is created is communicated, which is minimal for a mutation with 10 parameters.

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

Conciseness4/5

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

The one-sentence description is front-loaded with the verb and resource and contains no filler. It is concise to the point of under-specification, but the wording itself is clean and well-ordered.

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?

For a complex tool with deeply nested objects, 10 parameters, no annotations and no output schema, a single sentence leaves major gaps: required pre-steps, error conditions, and result shape are all unaddressed. An agent could plausibly call this without knowing it must first resolve a valid CDEK tariff code and location code.

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%, including nested package, item, recipient and location fields, so the schema already explains every parameter. The description adds no meaning beyond it — no note on tariff code sourcing, no explanation of the services codes beyond the schema's own example, and no cross-field constraints.

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 ('Создать заказ на доставку в СДЭК'), which lets an agent distinguish this write tool from siblings like get_order, delete_order and track_order. It does not explicitly contrast itself with create_courier_pickup or mention how it relates to calculate_delivery, so it stops short of full sibling differentiation.

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 when-to-use guidance: nothing tells the agent which prerequisites must be satisfied first (tariff_code from get_tariffs, delivery_point from get_pickup_points) or when a different creation tool such as create_courier_pickup is appropriate. The only usage signal is the verb 'create', which the agent must infer.

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