Updated 2026-12-02 with a second edition: a well-built rules tool as a new comparison, twelve held-out tasks, and a corrected grader for one task. The first version of this post compared the entry tool only with servers that expose no rules, and its headline numbers came from that comparison.
A company that exposes its product through an MCP server publishes a list of tools. What it usually does not publish is how the business actually runs: which warehouse serves which customer, when a refund becomes store credit, which change needs a manager's approval. An agent connecting to the server sees tool names and argument schemas and works out the rest. When a rule is enforced by the API, the agent gets an error and corrects itself. When a rule lives only in the operations wiki, the agent breaks it and nothing complains.
The MCP specification has one channel for this kind of guidance, the server's instructions field, and hosts handle it differently. Claude Code keeps the first 4,096 characters. OpenAI's documentation tells server authors to put the important part in the first 512. We wanted to know whether an agent follows rules it can only learn from the server, and which way of delivering them works.
The setup
We built a test server for a fictional wholesale distributor: two warehouses, customers in Nevada and California, orders, shipments, returns, refunds, suppliers and purchase orders. It has 20 tools and a rulebook of 42 rules (6,228 characters), sorted by topic the way an operations wiki is. Most rules do not apply to any given task, because that is what a real rulebook looks like.
The first edition has 16 tasks, written the way a colleague in the back office would ask ("Pinecrest Cafe's order from 14 August had damaged coffee filters, all 8 packs. Take them back and refund them."). Four are single-step controls, eight have traps the API itself reports, and four depend on rules the API does not enforce. The second edition adds 12 held-out tasks, written by an author who saw the server, its tools and the rulebook but never saw the guidance the entry tool returns. Nine of them depend on unenforced rules across seven topics: customers who are not yet accounts, confidential contact details, stock counts only the warehouse corrects, complaints that must be escalated, margins kept out of customer-visible notes, purchase orders that need sign-off, and regions the company does not serve. Every task is graded on the server's final state, and any action that breaks a rule is counted as harmful.
The same server ran in these configurations:
| Arm | What the agent gets |
|---|---|
| A | No rules anywhere. How many servers ship today. |
| B | The whole rulebook in the server instructions. |
| C | An entry tool. The agent states its task in one sentence and gets back the steps and only the rules for that kind of task. |
| D | The same entry tool, returning generic advice of the same length (a placebo). |
| E | A rules tool: the rulebook behind get_rules(topic), short instructions pointing at it, and each tool that changes data naming the rule topics that apply to it. What a careful server owner would build without our package. |
Results: the entry tool against a rules tool
The second edition ran arms A, C and E on all 28 tasks, three repeats each, in Claude Code with Opus 5.5, Sonnet 5.5 and Haiku 5.5: 756 sessions on December 2, 2026.
| Claude Code with | A, no rules | C, entry tool | E, rules tool | C on held-out tasks | E on held-out tasks |
|---|---|---|---|---|---|
| Opus 5.5 | 46% | 98% | 96% | 100% | 100% |
| Sonnet 5.5 | 51% | 98% | 100% | 94% | 100% |
| Haiku 5.5 | 46% | 94% | 92% | 94% | 97% |
Pass rates over all 28 tasks, 84 sessions per cell; held-out columns over the 12 held-out tasks, 36 sessions per cell.
Without the rules, agents passed about half the tasks, and 93 of 252 sessions included an action that broke a rule. On the held-out rule tasks they passed 2 of 81: those rules exist nowhere an agent can see. With the rules delivered either way, pass rates reached 92% to 100% and harmful actions fell to 4 (entry tool) and 3 (rules tool) in 252 sessions each.
The entry tool and the rules tool performed the same. They also behaved alike: agents called the entry tool first in all 252 sessions, and read the rules before their first change in 224 of 252. The entry tool held up on the held-out tasks, so its guidance was not fitted to the tasks we wrote. It did lose four of nine sessions on one held-out task, refunding a customer whose complaint mentioned health and legal action instead of escalating it; with the rules tool, all nine escalated.
Why server instructions are not enough
The first edition ran arms A to D on the 16 original tasks, on Claude Code and on the OpenAI Responses API with GPT-5.5 and GPT-5.4-mini: 959 sessions on November 27, 2026.
| Host and model | A, no rules | B, rules in instructions | C, entry tool | D, placebo |
|---|---|---|---|---|
| Claude Code, Opus 5.5 | 62% | 77% | 94% | 62% |
| Claude Code, Sonnet 5.5 | 67% | 81% | 100% | 69% |
| Claude Code, Haiku 5.5 | 58% | 58% | 85% | 58% |
| Responses API, GPT-5.5 | 62% | 62% | 91% | 67% |
| Responses API, GPT-5.4-mini | 42% | 52% | 71% | 42% |
Pass rates over the 16 original tasks, 48 sessions per cell (47 for GPT-5.5 in arm C), with the corrected grader described below. The entry tool's guidance in this edition still had the refund error described there.
The placebo scored the same as no rules, so calling a first tool does not make an agent more careful by itself. Rules in the instructions helped on Claude Code with the larger models, and only for rules near the top. The rule about noting who asked for a cancellation sits at character 576 of the rulebook, and agents followed it in 8 of 9 sessions from the instructions. The store-credit rule sits at character 4,166, just past the 4,096 characters Claude Code keeps, and agents followed it in 0 of 9.
Through the OpenAI Responses API, neither rule was followed from the instructions, not even the one at character 576, and the API's record of the MCP tool listing carries no instructions field. We cannot see the model's input directly, so we report this as what the results show: on that API, the server instructions did not appear to reach the model at all.
A correction
One first-edition task asked the agent to take back a broken USD 800 espresso machine and refund it. The rulebook says damage on an item worth more than USD 200 needs a photo before the claim is accepted, and the colleague had none. Our grader expected the refund, and the entry tool's refund steps went straight to it, so the first version of this post counted rule-breaking refunds as passes. The rules-tool agents in the second edition stopped and asked for a photo, which is how we found it. The grader and the guidance are fixed, every first-edition session was rescored from the server's record of tool calls, and the entry tool was rerun on the four refund tasks with the corrected steps. All numbers above use the corrected grader.
What this does not show
Every number comes from a server we built. The held-out tasks reduce the risk that our guidance was fitted to our own tasks, but the rulebook, the world and the rules tool's topic pointers are still ours. On a real server the rules are only as good as the person maintaining them, whichever way they are delivered.
Three repeats per cell leaves wide intervals on any single cell. The difference between no rules and rules delivered either way holds up; the difference between the entry tool and the rules tool does not. The rules tool has not yet been tested on the OpenAI Responses API, where its pointers sit in tool descriptions and may reach the model when server instructions do not. We have not tested ChatGPT, claude.ai, Cursor or Gemini CLI as hosts.
The entry tool as a package
The practical lesson is to put your rules where the agent fetches them as it works, not only in server instructions. A rules tool does that well. The entry tool does it equally well and adds a record of what agents came to do: the task each agent states is kept, so you learn what people use your server for. We built it into an open-source package, mcp-intent, for Python (FastMCP and the official SDK), TypeScript and Go. You write a guidance file with task families, their steps and your rules tagged by family, and add one line to the server:
from fastmcp import FastMCP
from mcp_intent import Guidance, add_entry_tool
mcp = FastMCP("shop", instructions="Shop back office.")
add_entry_tool(mcp, Guidance.from_yaml("guidance.yaml"))It adds a single start_task tool and leaves your other tools untouched: nothing is injected into their schemas, and no tool requires the handle it returns. The stated task goes to a hook and to your OpenTelemetry spans. The benchmark server, tasks, graders and raw results will be published in the same repository, so anyone can run them against another host or model.
If you run an MCP server that your customers use from Claude, ChatGPT or a coding agent, the useful question is what an agent needs to know about your business that your tool list does not tell it, and whether it reaches the agent on the hosts your customers use. If you would like help measuring that on your own server, book a call.




