<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: DomitorAI</title>
    <description>The latest articles on DEV Community by DomitorAI (@domitorai).</description>
    <link>https://dev.to/domitorai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4262773%2F26c9a60a-c089-4dc5-bca7-3de1e26aa1f1.png</url>
      <title>DEV Community: DomitorAI</title>
      <link>https://dev.to/domitorai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/domitorai"/>
    <language>en</language>
    <item>
      <title>I ran AI agents against 167 real MCP servers. Six in ten of their mistakes were repeats.</title>
      <dc:creator>DomitorAI</dc:creator>
      <pubDate>Tue, 24 Nov 2026 15:44:22 +0000</pubDate>
      <link>https://dev.to/domitorai/i-ran-ai-agents-against-167-real-mcp-servers-six-in-ten-of-their-mistakes-were-repeats-59hb</link>
      <guid>https://dev.to/domitorai/i-ran-ai-agents-against-167-real-mcp-servers-six-in-ten-of-their-mistakes-were-repeats-59hb</guid>
      <description>&lt;p&gt;Every AI coding agent I use has the same habit: it calls a tool the wrong way, reads the error, finds the form that works – and in the next conversation does it all over again. I wanted to know how much of that is real, so I measured it on servers people actually use.&lt;/p&gt;

&lt;h3&gt;
  
  
  The test
&lt;/h3&gt;

&lt;p&gt;I took MCP servers from the official MCP registry that start without an account or an API key – the most popular ones plus a sample from every category – 167 in all. Getting there was a lesson of its own: of the 200 most popular servers, only 96 started at all without credentials. Most of the others exit at startup because a key is missing; some never answer.&lt;/p&gt;

&lt;p&gt;Each server got the same task with two agents, Qwen Code and OpenCode: &lt;em&gt;learn what this server does and use its tools; when a call fails, read the error and fix it.&lt;/em&gt; The task ran in &lt;strong&gt;three new conversations&lt;/strong&gt; per server – no shared memory between them, exactly like a person starting a new session the next day. 152 servers answered tool calls with at least one agent; that is 288 server tests.&lt;/p&gt;

&lt;h3&gt;
  
  
  How often agents fail
&lt;/h3&gt;

&lt;p&gt;In the first conversation, Qwen Code's tool calls failed 35% of the time; OpenCode's, which tries more aggressively, 56%. Half of the servers caused no failure at all – the other half caused all of them.&lt;/p&gt;

&lt;p&gt;The failures fall into a few families:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The tool can never work here.&lt;/strong&gt; A database server without a connection string, a browser server without Chrome, a server that needs a desktop app (Godot, Figma, Houdini) running, a cloud API without a sign-in. The agent cannot fix this with any arguments – yet it keeps trying, often with every tool of the server, one after another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Arguments in the wrong shape.&lt;/strong&gt; A relative path where the server wants an absolute one, two options that cannot be used together (&lt;code&gt;head&lt;/code&gt; and &lt;code&gt;tail&lt;/code&gt; on the same file read), a date or an enum in the wrong format.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The environment.&lt;/strong&gt; Shell syntax that does not work on this machine, a command option that does not exist in this version.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How often they repeat
&lt;/h3&gt;

&lt;p&gt;This is the number I was after. In the &lt;strong&gt;second&lt;/strong&gt; conversation, the agents made a similar number of failed calls – and &lt;strong&gt;about six in ten of them were mistakes already made in the first conversation&lt;/strong&gt;: 61% for Qwen Code, 58% for OpenCode. Same tool, same kind of error, a few hours later.&lt;/p&gt;

&lt;p&gt;Nothing in today's agents carries that experience from one conversation to the next. The model does not remember; the session is gone.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I tried
&lt;/h3&gt;

&lt;p&gt;I built a small local layer that sits between the agents and their tools – &lt;strong&gt;Scarwise&lt;/strong&gt;. It sees each tool call before it runs and its result after. When a call fails and the agent then succeeds another way, it keeps a lesson; when any agent on the computer is about to repeat a known mistake, the call is stopped before it runs and the agent is told what worked here. For a tool that can never work here, the agent is told why after its first failed try, instead of trying every tool of that server.&lt;/p&gt;

&lt;p&gt;Same 167 servers, same method: Scarwise only watched in conversations 1 and 2, and was active in conversation 3. Comparing conversation 2 (without) with conversation 3 (with), both after the same first-conversation mistakes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Qwen Code&lt;/th&gt;
&lt;th&gt;OpenCode&lt;/th&gt;
&lt;th&gt;Both&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Same mistake repeated&lt;/td&gt;
&lt;td&gt;213 → 109 (−49%)&lt;/td&gt;
&lt;td&gt;410 → 217 (−47%)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;623 → 326 (−48%)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failed calls&lt;/td&gt;
&lt;td&gt;349 → 164 (−53%)&lt;/td&gt;
&lt;td&gt;711 → 547 (−23%)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1,060 → 711 (−33%)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Error tokens the agent read&lt;/td&gt;
&lt;td&gt;−52%&lt;/td&gt;
&lt;td&gt;−23%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;−37%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Calls stopped before they ran&lt;/td&gt;
&lt;td&gt;105&lt;/td&gt;
&lt;td&gt;163&lt;/td&gt;
&lt;td&gt;268&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I also ran the public &lt;a href="https://github.com/eval-sys/mcpmark" rel="noopener noreferrer"&gt;MCPMark&lt;/a&gt; benchmark (its 55 tasks that need no account, same three-conversation method): failed calls 280 → 205 (−27%).&lt;/p&gt;

&lt;h3&gt;
  
  
  What it does not do – honestly
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It does not make the agent smarter.&lt;/strong&gt; On MCPMark the number of tasks solved stayed the same (75 → 72, within noise). The gain is in repeated mistakes and the tokens and time they cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New mistakes are not prevented.&lt;/strong&gt; OpenCode's failed calls dropped less than its repeats because, in conversation 3, it also tried calls it had never made before. A memory can only stop what it has seen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Databases barely benefit.&lt;/strong&gt; Almost every failed SQL query is a new query; there is little to repeat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A lesson that is too broad is worse than none.&lt;/strong&gt; An early version learned "single quotes fail here" from a JavaScript error and then stopped correct code. Lessons now apply only where the cause really matches – that was the hardest part to get right.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It costs ~0.1 s per tool call&lt;/strong&gt;, under 1 s with six agents writing to the same store at once (measured).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What I took away
&lt;/h3&gt;

&lt;p&gt;The mistakes agents repeat are boring and predictable: a missing key, a missing program, an option that does not exist here. They are exactly the kind of thing a person learns once and never forgets – and exactly what an agent forgets every time a conversation ends. Even without any tool, it is worth knowing that most of your agent's failed calls tomorrow are ones it already made today.&lt;/p&gt;

&lt;p&gt;If you want to try it: &lt;code&gt;npm install -g scarwise&lt;/code&gt; connects your agents by itself (Claude Code, Codex, Gemini CLI, Cursor, Copilot CLI, Kiro, Qwen Code, OpenCode; web chats through an MCP proxy), and &lt;code&gt;npm uninstall -g scarwise&lt;/code&gt; leaves nothing behind. Lessons stay on your computer; cleaned general patterns are shared by default (&lt;code&gt;scarwise share off&lt;/code&gt;). Free to use, closed source. Full tables and method: &lt;a href="https://github.com/DomitorAI/scarwise" rel="noopener noreferrer"&gt;https://github.com/DomitorAI/scarwise&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would like to hear which mistakes your agent keeps repeating.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>devtools</category>
      <category>claudecode</category>
    </item>
  </channel>
</rss>
