The same AI. The same question. Three companies.

The result upfront

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.

Relationship between the programs

The orchestrated connection of open-source programs

InterfaceNextcloud TalkEmployees ask in chat as if speaking to a colleague. One assistant for all chat rooms.
→
Program for this experimentOrchestratorcontrols the process: It selects the appropriate method for the next step based on the descriptions in the MCP server, depending on what the model has recognized and what the system has reported back. In the end, it calculates according to the formula from the rulebook. General rules, no answer pre-programmed.
↔
Language ModelMistral Small 4 via Nextcloudunderstands the question and selects the appropriate option from possible choices. It knows nothing about the company and never calculates. Currently, it runs via the Mistral API in Paris; a local model does not change the structure.
↓ MCP (Model Context Protocol): the unified interface through which the Orchestrator calls methods ↓
MCP ServerERP-MCPfetches documents and numbers from the ERP and knows methods like "Origin of a batch", always with the rights of the inquiring person
MCP ServerRulebook-MCPprovides the company's rules from the MDM: the formula for each key figure with its units and the naming rules. It does not calculate.
MCP ServerStorage-MCPsearches and reads the company's files to provide further knowledge
MCP ServerWeb-MCPsearches the internet: impressum, VAT ID via VIES
↓
↓
↓
↓
Data SourceERPNextthe ERP: orders, batches, warehouse ledger, invoices
Data SourceDirectus, the MDMthe company-wide rulebook: formulas, units, naming rules, catalogs, without ERP vocabulary. At Akkurat, ERPNext additionally checks against these rules upon saving.
Data SourceNextcloud Storagecalculations, data sheets, emails
Data SourceInternetimpressum, VIES register of the EU

Programs for this experiment: Orchestrator and MCP Serversexisting systems: interface and data sourceslanguage model

Who does what

The orchestrator controls based on the language model's output

Language model
Mistral Small 4
understands the question
The AI: a trained program that understands language. It answers based on probability and can therefore be wrong.
✓reads the question and states what it's about: "the supplier of a batch is sought"
✓selects from a few suggestions where necessary, e.g., which date "the latest" refers to
✕Never: fetch data, calculate, call a function.
In operation: the colleague at reception who understands what the customer wants.
→
Program for this experiment
The Orchestrator
decides and calculates
A Python program, about 1,100 lines, with general rules per type of question. Nothing in it is written for a specific question. It runs on our own server, in the same service as the MCP servers.
✓acts according to what the model has recognized and what the ERP and MDM report back
✓decides the next step: which function, continue searching, query, or "I don't know"
✓checks each model selection against the question and data
✓calculates according to the formula from the rulebook and checks the units: Euro divided by Euro results in percent, not Euro
✕Never: interpret language or guess.
In operation: the clerk who works according to procedural instructions: a different path depending on the case, but always traceable.
→
MCP Servers and ERP
Specialized Tools
provide numbers and rules
Fixed methods like "Origin of a batch by FIFO" or "Formula of a key figure from the rulebook". Each method, each field, each key figure has a description. The ERP holds the booked numbers.
✓provide numbers with proof and the company's rules
✓always with the rights of the inquiring person
✕Never: decide what is meant.
In operation: the specialist department with its records.
Principles
One rule set for all systems See more 01

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.

01
Clean access control See more 02

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.

02
Writing only through former human approval See more 03

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.

03
The model selects based on purpose.
The MCP server provides the methods.
The ERP supplies the numbers.
The orchestrator calculates the result.
The LLM acts as a translator for the user interface; the actual result is calculated by the orchestrator.
Language ModelIdentifies the purpose of the request and selects from validated parameters.
ERP-MCPExtracts raw data directly from booked documents.
Rulebook-MCPProvides the authorized calculation formula from the rulebook.
OrchestratorPerforms the calculation based on defined formulas.
The three companies

The same processes with different data quality

Akkurat Drive Technology
Schlampig & Sons
Schludrig Ltd.
Master Data Management
available
none
available, but not consistently applied
Item Number
AW-4020
one number per item, name according to naming rule. ERPNext checks upon saving.
10045AW4020"Shaft 40×200 old"
the same shaft under three names
S-4020S-4020-A
the same item duplicated
Batch
CH-2026-0412
own record, linked to production and invoice
only as free text
Ch.4050416-26
The naming rule is in the MDM, but nothing enforces it. Plus a transposition error in the date.
Manufacturing Costs
from production, valued by FIFO
from 2025 calculation
manually entered, copied from 2025 calculation

The Story of Component X

correct margin of the last batch: 18.9%
until June 2026
approx. 32% margin
Drive Shaft AW-4020
July 2026
Steel €1.85 → €2.45/kg
steel price rises
last batch
64 shafts
need to be reground
October 2026
2 new steel suppliers
supply for the first time
The test setups

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.

Letter = Setup, Color = Company: Akkurat Drive TechnologySchlampig & SonsSchludrig Ltd.

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

Master Data in ERP
MCP Rules
Who searches
Technical Questions
Document Numbers
A
cleanone number per part, names according to rule, batches linked
yes
Orchestratortargeted, query possible
35 out of 35 correct
5.7 s 3,268 tokens
35 out of 35 correct
5.1 s 6,947 tokens
B
cleanone number per part, names according to rule, batches linked
✗ no
Orchestratortargeted, query possible
20 out of 35 correctno key figure without formula
3.3 s 2,350 tokens
0 out of 35 correctthe model considers the number a name
1.9 s 2,348 tokens
C
cleanone number per part, names according to rule, batches linked
✗ no
Model tries itselfaccording to method descriptions, up to ten rounds
5 out of 35 correct2 wrong
17.3 s 20,067 tokens
18 out of 35 correct17 without result
16.4 s 32,875 tokens
D
✗ not availableno MDM, data unmaintained
✗ no
Orchestratortargeted, query possible
0 out of 35 correctquery or "don't know"
1.9 s 2,350 tokens
0 out of 35 correct"don't know"
2.4 s 2,350 tokens
E
not consistently respectedduplicate items, "Ch.405", values entered manually
yes
Orchestratortargeted, query possible
5 out of 35 correctquery or "don't know"
3.3 s 2,345 tokens
35 out of 35 correctERPNext numbers invoices itself according to the rule
5.1 s 6,650 tokens
F
not consistently respectedduplicate items, "Ch.405", values entered manually
✗ no
Model tries itselfaccording to method descriptions, up to ten rounds
0 out of 35 correct8 wrong
16.7 s 18,346 tokens
25 out of 35 correct10 without result
14.9 s 34,376 tokens
A

It only becomes correct and cost-effective if both are true: the master data is clean, and the MCP knows the rules.

B

If the rules are missing, the orchestrator finds no key figure and no document number, even with clean data.

CF

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.

D

Without master data management, there is no correct answer, only queries and "don't know."

E

With Schludrig, the rulebook helps where ERPNext enforces the rule itself, for invoice numbers. Where people type freely, it's useless.

The naming rule

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.

A
"Who supplied ER-2026-00003?"
E
E
R
R
-
-
2
#
0
#
2
#
6
#
-
-
0
#
0
#
0
#
0
#
3
#
Mask in rulebook: Incoming Invoice ER-####-#####
✓
Matches: an incoming invoice
The orchestrator reads the document directly. Answer: Wälzlagerhandel Brandt KG.
A
"Who supplied RE-20260713-024?"
R
R
E
E
-
-
2
#
0
#
2
#
6
#
0
-
7
#
1
#
3
#
-
#
0
#
2
·
4
·
Mask in rulebook: Outgoing Invoice RE-####-#####
≠
Different format: a partner's number
It does not match any specific mask, so it is not a document number itself, but the invoice number of a supplier. This exact string "RE-20260713-024" appears verbatim in the "Supplier Invoice Number" field of our incoming invoice ER-2026-00007. Answer: Stahlhandel Hohenfels GmbH.
E
Batch at Schludrig: "Ch.405"
C
C
h
H
.
-
4
#
0
#
5
#
·
#
·
-
·
#
·
#
·
#
·
#
Mask in rulebook: Batch CH-####-####
✕
Not recognizable
At Schludrig, no one enforced the rule. The number doesn't reveal what it is; relying on the name might lead to the wrong batch.

What this achieves: 35 questions that only mention a number

AMCP knows the rules
35 of 35
5.1 s6,947 tokensper question
BMCP without rules
0 of 35
1.9 s2,348 tokensconsiders the number a name
CAI tries itself
18 out of 35
16.4 s32,875 tokens17 without result

The rule only helps if the ERP enforces it

Akkurat saves "Ch.999"

Rejected. "Ch.999" does not comply with the naming rule for batch: CH-####-####, for example CH-2026-0412.
9 out of 9batches according to the rule

Schludrig saves "Ch.999"

Saved. The same rule is in the MDM, but it can be bypassed. This leads to deviations: "Ch.405", "0412-26", "0416-26".
0 out of 9batches according to the rule
Without a rule, a number is just a string of characters.
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.

The technical questions in detail

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.

Process

"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

Clarification See more 01

The language model breaks down the question: looking for gross margin, object batch, attribute item AW-4020, selection “latest”.

Language model

01
Metric See more 02

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

02
Object See more 03

“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

03
Sources See more 04

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

04
Values and Calculation See more 05

The ERP MCP retrieves the values. The orchestrator calculates using the formula from the rule set and checks units and dimensions.

ERP MCP + Orchestrator

05
Verification See more 06

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

06
Answer See more 07

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

07
Different live logs compared

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.

AAkkurat Drive Technology
DSchlampig & Sons
ESchludrig Ltd.
"Which suppliers did the steel for the latest batch of component ZR-2060 come from?"
Akkurat · Live Log
  1. 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
  2. 2"ZR-2060" matches the item naming rule (??-####) from the MDM and is exactly as it appears in the ERP → unambiguous
  3. 3Batch has 2 date fields. Model selects "Manufacturing Date" for the latest
  4. 4Orchestrator queries ERP-MCP zeilen: Which batch with item ZR-2060, sorted by manufacturing date? → CH-2026-0416 (2026-10-23, latest of 2)
  5. 5Orchestrator queries ERP-MCP herkunft: What was CH-2026-0416 made from? → Production MAT-STE-2026-00023, material from 3 receipts
  6. 6Supplier is sought. A field in the incoming invoices points to it → directly read
Assistant
Steel, Batch CH-2026-0416■ Stahlhandel Hohenfels GmbH: 955 kg (ER-2026-00002, ER-2026-00007)
■ 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.
5.2 s · 3,265 tokens · each number a link to ERPNext
Schlampig · Live Log
  1. 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
  2. 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.
Assistant · don't know
I don't know. There is no record for this.
Reason: Item "ZR-2060" does not exist in the ERP.
1.5 s · 2,350 tokens
Schludrig · Live Log
  1. 1Model understands the question as: Information · sought: supplier · object: the latest batch for item ZR-2060
  2. 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
  3. 3Batch has 2 date fields. Model selects "Manufacturing Date" for the latest
  4. 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.
  5. 5Orchestrator queries ERP-MCP verwendungen: Where does 0416-26 appear? → Outgoing invoice, warehouse booking
  6. 6Supplier is sought. The fields in the ERP that point to it are empty → no further search
Assistant · don't know
I don't know. There is no record for this.
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.
4.6 s · 2,640 tokens
Most dangerous scenario

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.

The same question to the same data from Schludrig
"How many customers do we have outside Germany?"
FAI searches itself, without rules
"There is 1 customer outside Germany."
WRONGcorrect is 4
EOrchestrator with rules
0 hits: no customer with a country other than Germany.
10 out of 10 without address. For them, the country cannot be checked.
DON'T KNOWopenly states why it's not possible
F across all 35 technical questions
8 wrong, 0 correct
16.7 s 18,346 tokens
E across all 35 technical questions
0 wrong: query or "don't know", with proof
3.3 s 2,345 tokens
The same data basis, two fundamentally different approaches: A freely searching AI formulates rhetorically brilliantly, but misses reality. The orchestrator with rules, however, enforces traceability and checks the origin of every value. But the best logic is useless on shaky ground: truly reliable answers only emerge when the master data is correct.
Effort

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

ModelSloppy master data, AI searches itselfSetup F · 18,346 tokens per question · 0 out of 35 correct, 8 wrongClean master data, AI searches itselfSetup C · 20,067 tokens per question · 5 out of 35 correctClean 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.

Contact form

By entrepreneurs, for entrepreneurs: Use our contact form for a direct conversation about value streams in your company.