The same AI. The same question. Three companies.
Clear rules for every designation and zero tolerance for deviations: that's the prerequisite for AI solutions that work reliably.
The difference between good and bad master data? With good data, AI delivers correct answers at low cost. With bad data, it delivers nonsense so elegantly packaged that the wrong figure sounds convincing and ends up in the board report.
Half-finished standards don’t save time; they produce wrong answers or drive up the adaptation effort for external partners through the roof.
This refers to three companies with different data quality: Akkurat Antriebstechnik, Schlampig und Söhne, and Schludrig KG.
The orchestrated connection of open-source programs
Programs for this experiment: Orchestrator and MCP Serversexisting systems: interface and data sourceslanguage model
The orchestrator controls based on the language model's output
Formulas, units, and naming rules are defined once in the MDM. At Akkurat, ERPNext checks against this rule set when saving, and the assistant also calculates and searches according to it. At Schludrig, the same rules exist, but no program enforces them.
The ERP MCP has no access of its own. It queries ERPNext using the credentials of the person asking. What the AI sees is determined by ERPNext, not by a prompt.
A lead, a call log, or a follow-up task is created as a draft, is tested against ERPNext, and only enters the system once a human approves it.
The MCP server provides the methods.
The ERP supplies the numbers.
The orchestrator calculates the result.
The same processes with different data quality
The Story of Component X
Six setups, the same questions
We tested seven technical questions (on margin, customers, suppliers, international customers, and naming conventions) and seven document queries that only provide a reference (e.g., "Who supplied ER-2026-00003?" – identical process, but within the company's own numbering scheme). Each question ran in five iterations with Mistral Small 4. The cells show the success rate (correct answers out of 35) as well as the median latency and token consumption.
Cells: availablepartiallymissing
Traffic light per question: Response time up to 6 s up to 12 s longer · Tokens up to 5,000 up to 15,000 more
It only becomes correct and cost-effective if both are true: the master data is clean, and the MCP knows the rules.
If the rules are missing, the orchestrator finds no key figure and no document number, even with clean data.
If the AI searches itself, it selects methods only by their description and tries one after another. It finds some things, but with multiple times the effort and with wrong answers.
Without master data management, there is no correct answer, only queries and "don't know."
With Schludrig, the rulebook helps where ERPNext enforces the rule itself, for invoice numbers. Where people type freely, it's useless.
How the orchestrator identifies which document is meant
In the rulebook, each document type defines how its designation must be structured. The orchestrator applies a number character by character to the masks. If one matches, it is clear which document is meant. The orchestrator does not guess.
What this achieves: 35 questions that only mention a number
The rule only helps if the ERP enforces it
Akkurat saves "Ch.999"
Schludrig saves "Ch.999"
With a rule, it becomes a direct path to the document.
Provided the rule is in the MDM and the ERP enforces it: 35 out of 35 instead of 0 out of 35.
Seven questions, three companies
- A Akkurat: ✓ 18.93%
- D Schlampig: doesn’t know: no MDM, no formula
- E Schludrig: follow-up question: S-4020 or S-4020-A?
- A Akkurat: ✓ Brenner, Vogt, Hartmann
- D Schlampig: follow-up question: AW4020 or 10045?
- E Schludrig: follow-up question: S-4020 or S-4020-A?
- A Akkurat: ✓ Hohenfels 762 kg, Kocher-Jagst 318 kg
- D Schlampig: doesn’t know: no batch on the item
- E Schludrig: doesn’t know: batch entered manually, with no trace to the supplier
- A Akkurat: ✓ Hohenfels 955 kg, Brenztal 125 kg
- D Schlampig: doesn’t know: item spelled differently
- E Schludrig: doesn’t know: same as above
- A Akkurat: ✓ 22.03%
- D Schlampig: doesn’t know: no MDM
- E Schludrig: doesn’t know: value of the batch set manually, no figure provided
- A Akkurat: ✓ 4: Austria, Switzerland, France, Poland
- D Schlampig: 0 with warning: 8 customers without an address, cannot be verified
- E Schludrig: 0 with warning: 10 customers without an address, cannot be verified
- A Akkurat: ✓ 9 of 9
- D Schlampig: doesn’t know: no MDM, no rule
- E Schludrig: ✓ 0 of 9: batch 405, 0416-26 …
Here you’ll find the “Technical Questions” column of the matrix, broken down by question, for the three setups in which the orchestrator works with the data of the respective company. This shows why, out of the same seven questions, A gets all of them right, D gets none right, and E only gets the naming-rule question right.
Measured using Mistral Small 4, evaluated against a pre-calculated ground truth. The assistant reads the origin of the steel from the inventory ledger: batch → production → steel consumed → purchase invoice → supplier, following FIFO. This is the same path ERPNext uses for valuation.
"What is the gross margin of component AW-4020 from the latest batch?"
One question, up to seven steps.
Orchestrator · MCP · ERP general rules, no answer pre-programmed, every step traceable language model the language model decides from the available options at each stage
The language model breaks down the question: looking for gross margin, object batch, attribute item AW-4020, selection “latest”.
Language model
The formula comes from the rule set in the MDM: (revenue − cost of goods sold) / revenue. “Margin” alone is ambiguous, so a follow-up question is asked: gross or net?
Schlampig ends here: no MDM, so no formula → “I don’t know.”
Orchestrator + rule-set MCP
“Charge” is called “Batch” in ERPNext; this is confirmed by ERPNext’s own translations. The orchestrator finds the item via the link, and the “latest” one via the production date. If two items match, a follow-up question is asked.
Schludrig ends here: Both S-4020 and S-4020-A match AW-4020 → follow-up question.
Orchestrator + ERP MCP
One field in the ERP per input variable. Only fields with the matching unit are eligible, in documents that actually contain this batch.
Language model
The ERP MCP retrieves the values. The orchestrator calculates using the formula from the rule set and checks units and dimensions.
ERP MCP + Orchestrator
The ERP MCP checks in the inventory ledger whether the batch value is backed by production records or was set manually. In case of doubt, the assistant does not provide a figure. The model may additionally flag contradictions; however, it does not understand the underlying relationships and does not resolve anything itself. A flag only counts if it names two different values that appear verbatim in the data. Otherwise, the orchestrator discards it.
Schludrig ends here after the answer “S-4020”: The batch value was set manually → “I don’t know.”
ERP MCP language model
A template with the calculation steps and a link to each supporting document.
Akkurat arrives here: 18.93%, with calculation steps and supporting documents.
Orchestrator
The model identifies what the question is about. The orchestrator decides which method to call and what to calculate.
The language model only recognizes the intent of the question and structures the information. The orchestrator alone controls the process: It calls the MCP methods sequentially and reacts to system feedback. You see the execution in real-time while the assistant processes the same request for all three companies. Insufficient data quality is marked in gray.
- 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
- 2"ZR-2060" matches the item naming rule (??-####) from the MDM and is exactly as it appears in the ERP → unambiguous
- 3Batch has 2 date fields. Model selects "Manufacturing Date" for the latest
- 4Orchestrator queries ERP-MCP
zeilen: Which batch with item ZR-2060, sorted by manufacturing date? → CH-2026-0416 (2026-10-23, latest of 2) - 5Orchestrator queries ERP-MCP
herkunft: What was CH-2026-0416 made from? → Production MAT-STE-2026-00023, material from 3 receipts - 6Supplier is sought. A field in the incoming invoices points to it → directly read
■ Edelstahl Brenztal KG: 125 kg (ER-2026-00016)
Method: ERP-MCP
herkunft: material consumed from warehouse ledger, each partial quantity assigned to its receipt by FIFO.- 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
- 2No record found → Answer "don't know": Item "ZR-2060" does not exist in the ERP.The part is listed here under a different number. Without MDM, there's no naming rule to recognize this, and batches are just free text.
Reason: Item "ZR-2060" does not exist in the ERP.
- 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
- 2"ZR-2060" has the form of the item naming rule (??-####). However, the hit in the ERP is S-2060: It does not follow the rule, the number does not lead to the record
- 3Batch has 2 date fields. Model selects "Manufacturing Date" for the latest
- 4Orchestrator queries ERP-MCP
zeilen: Which batch with item S-2060, sorted by manufacturing date? → 0416-26 (2026-10-23, latest of 2)A model that infers from names would assume "Ch.407", the batch from June. Measured: 3 out of 3 times. - 5Orchestrator queries ERP-MCP
verwendungen: Where does 0416-26 appear? → Outgoing invoice, warehouse booking - 6Supplier is sought. The fields in the ERP that point to it are empty → no further search
Reason: Batch 0416-26 was not manufactured, but manually booked into the warehouse via material receipt MAT-STE-2026-00044, without material consumption. There is no receipt from which a supplier could be identified.
A wrong answer that sounds plausible.
Master data available, discipline optional, the AI searches itself. The classic business case: data is maintained by feel, internal conventions are ignored, and the supposedly simplest solution is chosen by docking the language model directly to the ERP.
10 out of 10 without address. For them, the country cannot be checked.
Without an MCP for master data, AI becomes expensive and unreliable. Without clean data, even the best MCP won't help.
The numbers are in the matrix of experimental setups. With the same clean data, the AI without MCP for master data requires six times as many tokens and takes three times as long as with MCP (C vs. A), and only 5 out of 35 technical questions are correct. With sloppy master data, the AI requires almost six times as many tokens compared to A, no answer is correct, and eight are wrong (F).
What 1,000 technical questions cost
| Model | Sloppy master data, AI searches itselfSetup F · 18,346 tokens per question · 0 out of 35 correct, 8 wrong | Clean master data, AI searches itselfSetup C · 20,067 tokens per question · 5 out of 35 correct | Clean master data, MCP with rulesSetup A · 3,268 tokens per question · 35 out of 35 correct |
|---|---|---|---|
| Ministral 3 8Bsmall, also runnable locally | €2.47 | €2.70 | €0.44 |
| Mistral Small 4used in experiment | €2.84 | €3.10 | €0.51 |
| Mistral Large 4large | €24.70 | €27.01 | €4.40 |
Tokens per technical question, median from the matrix (7 questions × 5 runs, Mistral Small 4, 2026-10-28). Prices: List prices per million tokens (input / output) according to docs.mistral.ai/inference/pricing, as of 2026-10-27: Ministral 3 8B $0.15 / $0.15, Mistral Small 4 $0.15 / $0.60, Mistral Large 4 $1.36 / $4.18. Converted at the ECB reference rate of 2026-10-27 (1 € = $1.1150). Assumption: 95% of tokens are input, 5% output. Whether smaller or larger models perform equally well has only been measured for Mistral Small 4.
