Wholesale sales often begin with a message that is still a long way from an order. A customer sends a spreadsheet, a photograph of a handwritten note or a list: “Cartons — 120, tape — 18, film — 10.” One item has dimensions, another has lost its product code, and a third is measured in metres even though the supplier sells it by the roll.

A sales manager turns those requirements into an offer: clarifies specifications, identifies products, checks customer terms, converts pack quantities and calculates the price. This is where an MCP server can help a wholesale supplier. AI handles the conversation and interprets the incoming list; the supplier’s service provides traceable data and calculates according to company rules.

The result is an offer in which every product and amount has a clear origin. Here is the journey from an initial message to a quotation that a manager can review and a buyer can approve.

This final part of our AI purchasing series follows the buyer request and catalog preparation into supplier-side calculation and approval.

Turn the material list into a purchase request

“Film — 10” could mean ten rolls of stretch film, ten metres of bubble wrap or ten packs of another material. A similar product name does not resolve that ambiguity. Matching requires an intended use, specifications and a quantity unit.

The agent preserves the original text, extracts products, quantities, deadlines and mandatory attributes, then searches for catalogue candidates. Each line retains the customer’s wording, selected product code and reason for the match so that the decision can be reviewed.

Combine clarifications into one question: “What internal dimensions do the cartons need? Clear or brown tape? Are the ten film rolls 2 kg each?” The buyer fills specific gaps.

The same approach applies to substitutions. When the requested item is unavailable, the service returns alternatives with their differences: size, material, pack size and lead time. The agent explains the choice, while approval of the substitution is recorded separately. A product that matches the name but fails the task should not slip into the quotation.

Which capabilities to expose through MCP

MCP describes tools through which an assistant calls an external system; each operation has a name and a parameter schema. For wholesale, useful tools cover search, customer terms and quotation preparation, with clear results and limits. Model Context Protocol — Tools (2026-07-28) ↗

The contract starts with business meaning. Search returns product codes and attributes. A terms check returns the price available to that customer and when it was retrieved. Quotation preparation returns line items, totals, warnings and a version number. Responses should distinguish an exact match, a request for clarification and an operation that failed.

Keep reading data, preparing a document and changing business records separate. Focused operations let a person see the actual offer before the next stage.

Operation stages: read, draft and changes to business records
StageOperationResultBusiness-record change
ReadFind products and compare attributesProduct codes, units, alternativesNone
Read with customer permissionsRetrieve prices and available quantityTerms with source and retrieval timeNone
DraftPrepare a quotationOffer version, lines and totalNo order or reservation
Action with separate permissionReserve the agreed itemsReservation status and expiryStock reservation
Action after approvalCreate an order from the valid versionDocument number and statusOrder in the accounting system

Keep the request, pack and shipment distinct

A wholesale line must distinguish the requested quantity, the sales unit and the quantity to be supplied. The price basis is a separate field: per piece, pack, kilogram, metre or roll.

A customer may need 3,500 labels while the supplier sells packs of 1,000. The quotation then proposes four packs and shows 4,000 labels, including 500 above the request. Multiplying 3,500 by a pack price or silently rounding the order would hide an error behind fluent language.

Minimum order quantity and order multiple are different rules. The minimum may be three packs, with further increments of one. Another product may be sold only by complete pallets. Those rules belong in the catalogue and commercial terms alongside the unit. Converting metres into kilograms requires a product-specific conversion factor.

If packaging increases the quantity, the buyer sees that before approval. When the surplus is unsuitable, a different pack size may help. Keep the decision on the quotation line.

A five-line worked quotation

Consider a list of consumables for a packing station. All amounts are in Russian roubles, with RUB as the quotation currency. Product and delivery prices include applicable tax; no further tax is added to this example’s total. Each unit price refers to the sales unit shown.

The customer requests 120 cartons, 18 rolls of packing tape, ten rolls of stretch film, 3,500 labels and 35 metres of bubble wrap. Cartons come in packs of 20, tape in packs of six rolls, labels in packs of 1,000 and bubble wrap in ten-metre rolls. Stretch film is sold by the individual roll.

Packing supplies before discount. Prices are per stated sales unit, in RUB, including applicable tax.
ItemRequestedSales unitProposed quantityUnit price, RUBAmount, RUB
Cartons120 piecesPack of 206 packs = 120 pieces680.004,080.00
Packing tape18 rollsPack of 6 rolls3 packs = 18 rolls540.001,620.00
Stretch film10 rolls1 roll10 rolls410.004,100.00
Labels3,500 piecesPack of 1,0004 packs = 4,000 pieces290.001,160.00
Bubble wrap35 metres10-metre roll4 rolls = 40 metres780.003,120.00

The goods subtotal is RUB 14,080.00. A 5% discount applies to all five goods lines: RUB 704.00. Discounted goods therefore total RUB 13,376.00. Delivery is a separate RUB 900.00 line and receives no discount. The quotation total is RUB 14,276.00.

Two adjustments are highlighted: 4,000 labels are supplied instead of 3,500, and 40 metres of bubble wrap instead of 35. The respective surpluses are 500 labels and five metres. Both quantities require the buyer’s agreement.

Software performs the calculation: round the required number of packs up to a whole number, then multiply by the pack price. Monetary values use decimal arithmetic, with the discount rounded to two decimal places under a defined rule. The model explains the result and gathers clarifications. Identical inputs should produce identical amounts every time.

Where the price and availability come from

A price depends on context: customer, agreement, volume, currency, region and date. “780 roubles” is not enough. The response needs a price unit, source, discount basis and validity period. Schema.org’s PriceSpecification has separate fields for currency, validity and whether VAT is included, making it a useful reference for commercial data structure. Schema.org — PriceSpecification ↗

Keep the price-list version or accounting-system record identifier, retrieval time and selection rule with the quotation. The manager can then answer a simple question: why did this customer receive this amount yesterday? Repricing after a price-list update creates a new quotation version.

Availability needs equally precise context: warehouse, unit, retrieval time and the meaning of the quantity. Physical stock, stock after reservations and an expected delivery are different measures. “40 available” without those conditions does little to support a delivery promise.

A quotation captures the commercial conditions but does not itself hold stock. Reservation is a separate operation with an expiry, status and result. When a buyer returns later, the service checks price validity and current available quantity. Changed conditions are presented as an updated offer before the order is confirmed.

Customer terms need customer permissions

A public catalogue can introduce the range. Personal prices, agreements, addresses and order history require an identified customer. For protected HTTP connections, MCP defines authorization for accessing a server on the resource owner’s behalf. Model Context Protocol — Authorization (2026-07-28) ↗

The application checks agreement ownership, price-list access and permission to approve the amount. Supplying a customer number in a request does not grant access to that customer’s terms.

Check current permissions on each call, including order creation. An employee’s access may have changed since the quotation was prepared, as may the company’s agreement or limit. A saved draft must not become a route around current restrictions.

The buyer’s agent receives information for its own purchase: suitable products and accessible terms. A precise response scope helps preserve those access boundaries.

Approve a particular version

A quotation receives an identifier, version, creation time and expiry with a time zone. Its contents include product codes, quantities, packaging, prices, discounts, delivery and total. The manager sees unresolved questions, approved substitutions and the origin of commercial terms.

Approval is bound to that version’s contents. A change in product, price, quantity or delivery requires renewed approval. After review, the offer can be exported to PDF or DOCX for the company’s usual communication channel.

The commercial offer, buyer acceptance, reservation and order each have their own status. A buyer may accept the price while still discussing delivery; a manager may approve a discount without permission to create a shipment. Separate transitions preserve that business logic and make the purchase state understandable to both parties.

A retry must not create a second order

Network calls sometimes time out. An agent repeats an action because it received no response, even though the accounting system already performed it. For search, this often means an unnecessary request. For order creation, it can mean duplication.

The creation operation therefore needs a retry key tied to the customer and approved quotation version. The server stores the outcome: a repeat with the same key and contents returns the existing document. The same key with different data produces a conflict that must be resolved explicitly.

If the accounting system accepted an order but its response was lost, the adapter needs to locate the document by an external identifier. This requires coordinated result storage and failure recovery.

Moving to an order checks that the reservation is still active and belongs to the right version. If it has expired, the system rechecks availability and shows any changes.

Connect the accounting system

An MCP server can serve as an adapter to the supplier’s business operations. Product data, prices, stock and documents remain with their owners in the accounting system. The adapter receives only the permitted capabilities and returns an agreed format to the agent.

For example, the 1C:Enterprise platform supports HTTP services through which a developer can define custom exchange operations. These can connect product selection and order preparation to the rules of a particular configuration. 1C:Enterprise — HTTP Services ↗

Before development, agree what every result means: which price is the customer’s price, when available stock changes, who creates a reservation and what an error returns. When data comes from an Excel export, keep its version and update time in the quotation. With a direct integration, obtain that provenance from the system’s response.

How we approach this at AI Office

AI Office has a useful foundation for this workflow: reviewed Excel/CSV catalogue lines, decimal quotations in RUB with an explicit tax basis, source versions, and offer exports to DOCX/PDF. Approval is bound to specific contents, with follow-up work recorded as a separate task.

Through our custom MCP server development service, we connect these parts to a supplier’s catalogue and business rules. We start by defining the request journey and required functions, then add customer terms, review and the actions the company permits an agent to perform.

Start with one product group and several lists: complete, incomplete and requiring a substitution. These reveal lost units and necessary clarifications. Measure preparation time, corrected lines and the proportion of approved offers.

For a wholesale supplier, MCP’s value emerges through this sequence: the customer brings a need, the assistant helps define it, the service calculates under company rules, and a person makes the decision. To organize that journey for your range, we can start with one real request and design the operations your business needs.