Somewhere in your roadmap is a feature that lets a model talk to a customer. A pricing answer, a product question, a quote, a chat that can actually do something instead of pointing at a help article. The thing that decides whether it ships is not which model you picked. It is this. When the model tries to quote a number under your floor, what stops it? If the answer is a paragraph in the system prompt, nothing stops it. You are hoping.

So here is my stance, and it does not bend for a launch date. Every constraint you would be embarrassed to break belongs in the layer the model calls, in code that runs on every single request. A prompt is a suggestion. A server is a rule. That gap is the whole difference between an AI integration you can safely connect to customers and one that works fine until the week it does not.

I am arguing this from the build. At North America’s largest apparel supplier and distributor, where I lead design, I designed and built the company’s first MCP server over our product catalog, so AI tools and platforms can pull live product data through one integration instead of one per platform. The brand and pricing rules are built into that layer, so they travel with the data. I demoed a working V1 to our AI governance leadership and it is in pilot now. I also run the agent pipeline at Story Genie, the AI company I founded, where what the agents produce goes to a parent who paid for a hardcover book. Two very different rooms. Same conclusion both times.

What a system prompt looks like from the model’s side

Picture your carefully written rules sitting in the same window as everything else the model is reading. The customer’s message. A product description a vendor wrote in 2014. A spec sheet somebody pasted in. Instructions arriving from another tool. It is all text, all weighed together, and nothing in the architecture makes your sentence outrank theirs. You wrote a strongly worded memo and dropped it in a pile with everything else on the desk.

OWASP maintains the reference list of security risks for applications built on language models, and prompt injection is number one on it. Their write-up is blunt about the ceiling: "Given the stochastic influence at the heart of the way models work, it is unclear if there are fool-proof methods of prevention for prompt injection (opens in new tab)." That is the group that catalogs this for a living saying the channel your instructions travel in cannot be fully trusted. Your price floor is riding in that channel.

A product leader does not need the security version to feel this. You already know the difference between a rule in the employee handbook and a field in the checkout that will not accept the number. One of them is read sometimes. The other one is true every time, for everyone, including the person who never read the handbook. Your system prompt is the handbook.

A tribunal already decided who owns the answer

Air Canada’s chatbot told a customer he could apply for a bereavement fare after booking. He could not, and the airline refused the difference. In the dispute that followed, the airline argued that the chatbot was "a separate legal entity that is responsible for its own actions." The British Columbia Civil Resolution Tribunal called that a remarkable submission (opens in new tab), rejected it, found negligent misrepresentation, and ordered the airline to pay him CA$812.02, most of it the fare difference. "While a chatbot has an interactive component, it is still just a part of Air Canada’s website," the decision reads.

The money is nothing. The finding is the part to carry into your next planning meeting. There is no version of the bad day where you get to tell a customer the model went off script. Whatever your agent says, your company said. In writing, with a timestamp, to somebody who can forward it. So budget for the worst answer the system can produce, not the average one, because the average answer is never the one that ends up in a screenshot.

Your exposure is not the model’s accuracy rate. It is the worst thing one answer can commit you to, times everyone who sees it.

The three rules I moved into the catalog server

The price floor stopped being a sentence and became a check. Any number headed for a customer passes through code that compares it to the minimum first. Under the line, the call comes back refused, with the reason attached so the model can correct itself and try again. The model is free to propose whatever it wants. The proposal that would embarrass us does not make it out of the building.

Product facts come from the catalog or they do not come at all. The tool looks up what was asked for and returns what it finds. No match means the tool says there is no match. That one decision removes the failure mode people actually fear, which is a confident paragraph about a product we have never sold, written in the same friendly tone as every correct answer that came before it.

Brand rules became a check on the way out, not a hope on the way in. The output gets read by code before anything is handed back. OWASP has a separate entry for exactly this half of the problem, improper output handling, and its first prevention line is the whole philosophy: "Treat the model as any other user, adopting a zero-trust approach (opens in new tab)." The model gets the same treatment as any request arriving from outside.

The engineering detail, how the tools get shaped and how a refusal message teaches the model to retry instead of giving up, is in how I build an MCP a team will actually use. The part worth a leader’s attention is cheaper than the code. Once a rule lives in the server, reviewing it stops being a reading exercise and becomes a test you can run. Nobody has to interpret a paragraph and guess how a model will read it on a Tuesday.

Your app is not the only thing calling this anymore

This is what moved the question for me from good practice to non-negotiable. The catalog server I built was never meant to serve one app. The reason it exists is that any AI tool or platform can reach live product data through one integration instead of us building a new one for each platform. So count what sits on the far end of that pipe. Our own pages. An assistant running inside a tool we do not own. A partner’s agent. A designer pulling real products into a file instead of copying them by hand.

You can write a system prompt for the app you control. You cannot write one for an assistant living inside someone else’s product, with their instructions, their context, and their own idea of what a helpful answer looks like. A rule kept in your prompt protects exactly one of those clients and quietly protects none of the others. The same rule in the server covers all of them, including the two nobody has built yet.

The protocol’s own security guidance arrives at the same spot from the other direction. Its list of common mistakes for MCP servers includes treating claimed scopes in token as sufficient without server-side authorization logic (opens in new tab). Different layer, identical lesson. What arrives from the client is a claim. What the server checks is a fact.

There is a governance reason too, and it is the one that carried my V1 through review. A rule in code has an owner, a commit, a test and a diff. A rule in a prompt has whoever edited the text box last, and your release process will never notice the edit. When the people who approve AI work ask how you know the floor is still on, you want to hand them a file and a passing test.

A rule in code has an owner, a commit and a test. A rule in a prompt has whoever edited the text box last.

What to ask the team before you point it at a customer

None of these need you to read code, and all of them are hard to answer around.

Show me the line that rejects a price below the floor. If what comes back is a highlighted sentence in a prompt, you do not have a floor yet. You have a preference.

Delete the system prompt and tell me which rules still hold. This is the fastest audit in the business. Everything that survives is real. Everything that vanishes was a wish, and the wishes are your launch risk.

What does the tool return for a product that does not exist? You want a refusal, an error, an empty result. Anything that reads like a product is the wrong answer, and a model that has been allowed to guess once will guess again.

Who can change this rule, and what do they go through to do it? If the answer is one person and a text field, your pricing policy is one careless paste away from gone, and you will find out from a customer.

Which clients call this, and do all of them get the same enforcement? Any client that gets a different answer is the one your worst week comes from.

If nobody in the room can answer those without the vendor on the line, that is the gap I get hired into as an AI design consultant. I sit on your side of the table, read the actual build, and tell you which rules are real before a customer meets them. The wider version of that read, the questions I ask when someone is selling me a working system, is in how to pressure-test an AI demo.

When this is more than you need

I would rather you under-build than put ceremony around a prototype. If the thing is internal and read-only, and a person reads every answer before it goes anywhere, a thin wrapper plus that person is a fine V1. I run internal MCP servers over my own analytics, from site traffic to search data, and there is no validation layer in front of a traffic number. Nothing downstream can get hurt, and the worst case is that I run the query again.

The harder case is a rule you cannot write down yet. Part of brand voice is taste, and a validator that claims to measure taste hands you a green light you did not earn. Code the checkable parts: the claims you are not allowed to make, the words that are off limits, the disclosure that has to appear, the length, the price. Leave the rest with a person and say out loud that it sits with a person.

And if the rule does not exist in writing anywhere, the build is not your first problem. Get the floor, the claims legal will not allow, and what the thing says when it does not know, written down and agreed to by the people who own them. That is two meetings, not a quarter. If the only rule anyone can name is "use good judgment," the feature is not ready, and neither is the policy behind it. Shipping on schedule with nothing underneath is how a team ends up explaining a screenshot. Picking who owns that call early is its own decision, and I made the case for design owning it in design should own your AI features for the first year.

Open your agent’s system prompt and read it with a highlighter. Every line in there that is really a business rule, a price, a promise, a fact about a product, a thing you may not claim, is a work order. Move those into the server. Leave the rest as instructions, where suggestions belong.