We spent a week measuring whether agents follow the company rules behind an MCP server. The results are in their own post: agents that cannot see the rules pass about half the tasks, and agents that receive the rules for their task pass about 96%, whether the rules come from our entry tool or from a well-built rules tool. This post is about the evaluation itself, because the most useful thing we learned was where our own measurement went wrong.
The test server belongs to a fictional wholesale distributor: 20 tools, a 42-rule rulebook, 28 tasks written the way a colleague in the back office would ask. We ran real agent sessions in Claude Code with Opus, Sonnet and Haiku 5.5 and through the OpenAI Responses API with GPT-5.5 and GPT-5.4-mini. The practices below are what we would do again on a client's server.
1. Grade the server's end state
Every task is graded on what the server holds after the session: which orders exist, which returns were refunded, which notes were written, which purchase orders were placed. The agent's final answer counts only for questions ("how many cups are in the Reno warehouse?") and for tasks where the right move is to tell the colleague something.
Agents report success confidently. A session that refunded a whole order when the customer reported two damaged lines ends with a polite summary that sounds right. A judge reading that transcript has to reconstruct the order, the rule and the refund from prose. A grader reading the returns table sees a refund of the wrong lines. We also record every JSON-RPC request the server receives, before the MCP framework sees it, so we know exactly which tools were called, with which arguments, from which host.
We use the same rule in client work. For the evaluation suite we built for Typeform's public MCP server, the evals check the real end state in the product, never what the agent says it did.
2. Compare against the design a careful owner would ship
Our pilot had a get_policy tool on the baseline server. Every model called it on its own, the baseline did well, and the configurations stopped separating. We removed it, ran the first edition against a server with no rules exposed, and reported a large gain for our entry tool.
That comparison was true and weak. Nobody who cares about agent behavior ships a server with no rules. The second edition put the alternative back as 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. It scored the same as the entry tool. The headline changed from "the entry tool wins" to "deliver your rules while the agent works, either way", which is the finding a server owner can act on.
If an evaluation only compares your design with nothing, it measures whether the problem exists. To learn whether your design is the answer, compare it with the best version of the obvious alternative.
3. A second design will find your grader's bugs
One task asked the agent to take back a broken USD 800 espresso machine and refund it. Our grader expected the refund. The rulebook also says that damage on an item worth more than USD 200 needs a photo before the claim is accepted, and the colleague had no photo.
We wrote the grader and the entry tool's refund steps at the same sitting, with the same blind spot. The steps went straight to the refund, agents followed them, and the grader passed them. The baseline without rules also refunded and also passed. The mistake only showed when the rules-tool agents read the rulebook themselves, stopped and asked for a photo, and failed. Seven of nine sessions "failed" for following the rules.
We fixed the grader and the guidance, rescored every earlier session from the server's call log, and reran the entry tool on the refund tasks. Arms that never saw the rule dropped to zero on that task. A grader encodes the author's understanding of the task, and nothing inside one configuration can show you that the understanding is wrong. A second configuration that reaches a different answer by a different path can.
4. Use a placebo and held-out tasks
Two controls kept us honest about why the entry tool worked.
The placebo is the same entry tool returning generic advice of the same length. It scored within five points of no rules on every model. Calling a first tool does not make an agent careful; what the tool says does.
The held-out tasks were written by an author who saw the server, its tools and the rulebook, and never saw the guidance or the task families it was routed by. Twelve tasks, nine of them hinging on rules across seven topics: a business that is not yet a customer, contact details that are confidential, stock counts only the warehouse corrects, a complaint that mentions legal action, a margin that must stay out of a customer-visible note, a purchase order that needs sign-off, an address outside the served region. The entry tool held at 94% to 100% on them, which is the evidence that its guidance was not fitted to the tasks we wrote. Agents without the rules passed 2 of 81 held-out rule tasks.
Held-out tasks need their own checks. Before running anything we found a grader that passed a session that did nothing at all, because the correct outcome was to refuse and the grader did not require the refusal to say where to send the colleague. A test that runs every grader against an untouched world, and expects every task except the deliberate refusals to fail, caught it. We also relaxed two graders that would have counted harmless behavior as harm. Every held-out grader is checked against one correct path and one naive path before a session runs.
5. Test on each host your users come from
The same server behaved differently on different hosts. Claude Code keeps the first 4,096 characters of a server's instructions. A rule at character 576 of our rulebook was followed in 8 of 9 sessions when the rulebook sat in the instructions; a rule at character 4,166 was followed in none. Through the OpenAI Responses API neither was followed, and the API's record of the tool listing carries no instructions field, so on that API the instructions did not appear to reach the model at all.
A server that passes its evaluation in one host can fail in another for reasons that have nothing to do with the model. The hosts also identify themselves differently in the handshake, which matters once you want to count sessions by host in production. Run the evaluation on the hosts your users actually use, and expect to drive some of them by hand: ChatGPT and claude.ai do not expose a command line.
6. Separate asking from failing
A session that stops and asks the colleague a question, without changing anything harmful, is a different outcome from a session that does the wrong thing. We grade three outcomes: passed, asked, and failed, and we count harmful actions separately. The rules-tool agents asked more often than the entry-tool agents (7 sessions against 4 of 252), most of them on a request to refund "everything" on an order with no damage reported, where the rulebook says to refund only the lines the customer reports.
Whether asking is acceptable depends on the task and on who is waiting for the answer. A single pass rate hides that choice. Report the outcomes apart and let the server owner decide which ones count.
7. Repeat, and report intervals
Every task ran three times in every configuration, and every pass rate carries a 95% Wilson interval. With 84 sessions per model and configuration, the difference between no rules and rules delivered either way (about 48% against 96%) holds up. The difference between the entry tool and the rules tool (243 against 242 passes in 252 sessions) does not, and we say so instead of picking the arm we prefer. On a single task with nine sessions, the interval is 30 to 55 points wide, which is why per-task numbers are for finding problems and pooled numbers are for claims.
Evaluations of this kind are cheap compared with the decisions they inform. The OpenAI share of the first edition, 383 sessions, cost about USD 4 at API prices.
What we would do on your server
The method transfers directly: tasks written the way your users ask, graders that read your server's end state in a staging copy, the design you have against the best alternative, held-out tasks from someone outside the team that wrote the guidance, and runs on the hosts your users come from. The benchmark server, tasks and graders will be published with mcp-intent, our open-source entry tool, so you can run them yourself. For a comparison of the evaluation tools available today, see MCP server evaluation tools in 2026.
If you would like this evaluation run on your own MCP server, book a call.




