<?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: Nicholas Capozzo</title>
    <description>The latest articles on DEV Community by Nicholas Capozzo (@nick_railcall).</description>
    <link>https://dev.to/nick_railcall</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%2F4261298%2F1dc641da-840d-48f3-8865-5b0effaad4fe.png</url>
      <title>DEV Community: Nicholas Capozzo</title>
      <link>https://dev.to/nick_railcall</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nick_railcall"/>
    <language>en</language>
    <item>
      <title>We asked one question two ways and published the logs</title>
      <dc:creator>Nicholas Capozzo</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:15:05 +0000</pubDate>
      <link>https://dev.to/nick_railcall/we-asked-one-question-two-ways-and-published-the-logs-14mm</link>
      <guid>https://dev.to/nick_railcall/we-asked-one-question-two-ways-and-published-the-logs-14mm</guid>
      <description>&lt;p&gt;&lt;em&gt;A governed run and an ungoverned run against the same production question. One returned the answer in 14.4 seconds. The other spent more and returned nothing.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On 23 August 2026 we took a production question we actually needed answered and asked it twice in the same afternoon. Once as a single governed call through the RailCall MCP station. Once through an agent with ordinary web browsing tools and no governed path to the data. Both runs were filmed. Both transcripts are published.&lt;/p&gt;

&lt;p&gt;14.4 s&lt;/p&gt;

&lt;p&gt;Governed lane, end to end: one governed MCP call, the whole signed answer returned, $0.129 for the session&lt;/p&gt;

&lt;p&gt;MEASURED · N=1 · 23 AUG 2026&lt;/p&gt;

&lt;p&gt;0 rows&lt;/p&gt;

&lt;p&gt;Ungoverned lane, after 70 s and 8 browsing turns: $0.170 for the session, nothing returned&lt;/p&gt;

&lt;p&gt;MEASURED · N=1 · 23 AUG 2026&lt;/p&gt;

&lt;p&gt;The governed session burned 88,358 tokens counting input, cache reads and output. The browsing session burned 221,794 and finished with an empty result set. The governed call left receipt &lt;strong&gt;rcpt_7147f18c&lt;/strong&gt; behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The sample size is one, and the baseline failed
&lt;/h2&gt;

&lt;p&gt;Before anything else: this is one recorded pair. One question, one day, one model configuration, run by the people who built one of the two lanes. It is not a study. Nothing you could generalize from it has been earned.&lt;/p&gt;

&lt;p&gt;The second problem is worse than the sample size, and it is the one that would get this post taken apart if we left it out. &lt;strong&gt;The two dollar figures are not comparable.&lt;/strong&gt; The $0.129 bought an answer. The $0.170 bought an attempt that came back empty. That is cost-per-success against cost-per-attempt, which is the weakest shape a benchmark can have. Had we re-run the browsing lane until it landed the rows, its real cost would be some multiple of $0.170, and we cannot tell you the multiple because we did not run it. A comparison whose headline only survives an inattentive reader is not worth publishing, so we are saying it here rather than waiting for someone else to.&lt;/p&gt;

&lt;p&gt;What we did not measure: repeated trials of either lane, variance across question shapes, other agent configurations, or whether the browsing lane succeeds on a second attempt. One filmed pair is the whole dataset.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the run does establish
&lt;/h2&gt;

&lt;p&gt;Something narrower, and still worth the tape: &lt;strong&gt;the governed path was not the slow path.&lt;/strong&gt; That is the assumption governance tooling normally has to argue its way out of. The expectation is that approval gates, policy evaluation and a signed receipt sit on top of every call as a tax you pay in seconds. In this run they did not show up on the clock at all.&lt;/p&gt;

&lt;p&gt;The reason is not subtle. The governed lane made one call to a tool that already knew where the data lived, and the whole answer came back signed. The other lane spent its 70 seconds and its eight turns rediscovering that. The dominant cost was search, not governance. Governance was in the path the entire time.&lt;/p&gt;

&lt;p&gt;That is a statement about one run, not a law. It does not show that governed calls are free. It shows that in this case the overhead was small enough to vanish underneath everything else the agent was doing. We have not characterized the governed path across many question shapes, and we are not going to imply that we have.&lt;/p&gt;

&lt;h2&gt;
  
  
  The number that compounds
&lt;/h2&gt;

&lt;p&gt;The race is the part people share. The durable number is the boring one underneath it. Most agent work is re-asking: the same question, minutes later, to see whether anything moved. RailCall read-only tools hand back a state token with the payload. Pass the token on the next identical call, and if nothing has changed you get a not-modified answer instead of the data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// first ask — the payload, plus a state token
{ "rows": [ ... ], "state": "&amp;lt;opaque token&amp;gt;" }

// same ask again — hand the token back
{ "if_state": "&amp;lt;opaque token&amp;gt;" }
-&amp;gt; { "not_modified": true }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;~40 tokens&lt;/p&gt;

&lt;p&gt;Repeat of the unchanged question, answered from a state token instead of re-fetching a payload we estimate at ~2,400 tokens&lt;/p&gt;

&lt;p&gt;MEASURED DELTA · PAYLOAD ESTIMATED · 23 AUG 2026&lt;/p&gt;

&lt;p&gt;Note the basis line on that one. The 40 tokens is measured. The 2,400 is an estimate of the payload we did not fetch, because we did not instrument the counterfactual on the day, and a number without its basis is not something we put on a page.&lt;/p&gt;

&lt;p&gt;Even estimated, that ratio outlives the race. A one-off comparison is a headline. A cheap re-ask is a property of the architecture, and it applies to the tenth poll of the day as much as the first. If your agents watch state on a loop, and most useful ones do, that is where the spend actually is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we published the logs
&lt;/h2&gt;

&lt;p&gt;A receipt you cannot check is a claim. We could have written the two numbers into a slide and asked you to take them. That is the structural problem with a vendor-run benchmark: the only people positioned to check it are the people who benefit from it.&lt;/p&gt;

&lt;p&gt;So the run went out with its evidence attached.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The transcripts of both lanes, including the eight browsing turns that failed.&lt;/li&gt;
&lt;li&gt;The signed receipt for the governed call, &lt;strong&gt;rcpt_7147f18c&lt;/strong&gt;, in the hash-chained log.&lt;/li&gt;
&lt;li&gt;Verification that runs offline, without an account and without calling back to us, so checking our work does not require telling us you are checking it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of that makes the sample size larger. It makes the sample honest. If the 14.4 seconds is wrong, or the receipt does not verify, or the chain does not hold, the log is where you would catch us. We would rather ship a small result you can falsify than a large one you have to believe.&lt;/p&gt;

&lt;p&gt;Every governed action RailCall runs emits an Ed25519-signed receipt into a hash-chained log—establishing event provenance and payload integrity (never model factual accuracy on its own). You can verify one offline at &lt;a href="https://railcall.ai/verify" rel="noopener noreferrer"&gt;railcall.ai/verify&lt;/a&gt; — no account, no login, and nothing calls back to us.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://railcall.ai/blog/same-question-two-ways/" rel="noopener noreferrer"&gt;RailCall blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
      <category>observability</category>
    </item>
    <item>
      <title>The tools you audited are not the tools that run</title>
      <dc:creator>Nicholas Capozzo</dc:creator>
      <pubDate>Mon, 23 Nov 2026 19:50:13 +0000</pubDate>
      <link>https://dev.to/nick_railcall/the-tools-you-audited-are-not-the-tools-that-run-7g</link>
      <guid>https://dev.to/nick_railcall/the-tools-you-audited-are-not-the-tools-that-run-7g</guid>
      <description>&lt;p&gt;&lt;em&gt;MCP servers can change their own tool list after you approve them. Static review has a shelf life, and the fix is not a better review.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The usual way a team adopts an MCP server is a one-time review. Someone reads the tool schemas, checks the scopes, decides it is reasonable, and ships it. The decision then gets filed as though it were permanent. It is not. It is a photograph of a moving thing.&lt;/p&gt;

&lt;p&gt;This is not a claim that some servers are badly behaved. It is what the protocol allows by design, and three parts of it matter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The tool list can change mid-session.&lt;/strong&gt; A server can send &lt;code&gt;notifications/tools/list_changed&lt;/code&gt; and hand the client a different set of tools than the one you approved at connect. Nothing pins the list you reviewed to the list that runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool descriptions reach the model on every call.&lt;/strong&gt; That text is not documentation for humans that happens to live in a schema. It is input, delivered continuously, and it steers the model. It is also fully under the server’s control and can be rewritten between one call and the next.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The hints are hints.&lt;/strong&gt; &lt;code&gt;readOnlyHint&lt;/code&gt; and its siblings are advisory. They describe intent. They do not constrain execution. A tool annotated read-only executes whatever its implementation does, and the same party writes both.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Put those together and the review covers exactly one moment: the moment you looked. &lt;strong&gt;A review answers a question about the past.&lt;/strong&gt; The question you care about is what the tool list contains on the call happening right now.&lt;/p&gt;

&lt;p&gt;Worth saying plainly: we have not caught a server doing this to us. No incident, no war story. This is an argument from what the protocol permits, which is weaker than an incident report, and we would rather label it than let it read as one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to actually do
&lt;/h2&gt;

&lt;p&gt;None of this requires anything of ours. The techniques are ordinary and go in whatever client you already run.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Snapshot the whole surface, not the names.&lt;/strong&gt; Names, input schemas, annotations, and the full description text. Descriptions are the most likely to change and the least likely to be diffed, because they read like prose and people skim prose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Canonicalise it and hash it.&lt;/strong&gt; Sort by tool name, serialise deterministically, take a SHA-256. Now you compare one value instead of walking a tree, cheap enough to do every time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Diff on every connect, and again on every &lt;code&gt;list_changed&lt;/code&gt;.&lt;/strong&gt; Connect time is the obvious hook. The mid-session notification is the one that matters, because that is the path a review never sees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail closed.&lt;/strong&gt; A drifted fingerprint should stop calls to that server until a person looks. Warn-and-continue is the same as no check, one log line more expensive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch what it touches, not what it declares.&lt;/strong&gt; Run it and observe: what ports it opens, what files it reads, where it egresses. &lt;code&gt;lsof&lt;/code&gt; and a packet log answer questions a schema cannot. A declared surface and an observed surface that disagree is the finding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide who can revoke it, and whether revoking needs its cooperation.&lt;/strong&gt; If the off switch is a flag in the server’s own config, or a scope it checks itself, you are asking a component to disable itself on request. Put revocation where you hold it: the credential at the resource, the network path, the process supervisor. Then pull it while the server runs and confirm the next call fails. An untested kill switch is a belief.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# on connect, and again on every notifications/tools/list_changed&lt;/span&gt;

&lt;span class="n"&gt;surface&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;        &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;# model input on every call — diff it&lt;/span&gt;
        &lt;span class="s2"&gt;"inputSchema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inputSchema&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"annotations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;annotations&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;# advisory, diff it anyway&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;list_tools&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;fingerprint&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;sha256&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;surface&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sort_keys&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;separators&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;","&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;":"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;hexdigest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;fingerprint&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="no"&gt;PINNED&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;server_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;halt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;server_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                     &lt;span class="c1"&gt;# stop calling. do not warn and continue&lt;/span&gt;
    &lt;span class="nf"&gt;show_diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;PINNED&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;server_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;surface&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One caution on reading a failed diff. Servers change their tool lists for ordinary reasons; the protocol carries the notification because that is legitimate. A changed fingerprint is a signal to look, not proof of anything. The value is that the change stops being silent. Treat every drift as an attack and you will turn the check off within a month, which is worse than never adding it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does not do
&lt;/h2&gt;

&lt;p&gt;Pinning a tool list does not stop tool poisoning or prompt injection. A hostile description can still steer a model, and a model reading it can still be steered. We have no defence for that and will not imply otherwise. What a fingerprint buys is narrower: the swap is not silent. What a governed call buys is narrower still: the consequence is reviewable before it happens and provable after it does.&lt;/p&gt;

&lt;p&gt;That distinction is the whole thing. We cannot make an agent safe in the sense people mean when they say it. What we can do is make what an agent did legible. That is a smaller claim, and it is the one we are willing to defend.&lt;/p&gt;

&lt;h2&gt;
  
  
  We are not exempt from this
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;33 tools.&lt;/strong&gt; Our own station’s MCP surface: 33 names, 33 schemas, and 33 blocks of description text that reach the model. &lt;em&gt;(Shipped surface, RailCall station, 28 Aug 2026.)&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That number is here to make a point against ourselves: the same protocol properties apply to our server as to any other. If you connect ours, fingerprint ours. Do not take our word for the scopes any more than you take anyone else’s. Trust that cannot be checked is a preference about who to believe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Enforcement cannot live inside the thing being reviewed
&lt;/h2&gt;

&lt;p&gt;The structural problem is a timing problem. Review happens before the call. The thing you care about happens during it. Any control the reviewed server administers on its own behalf inherits every assumption you were trying to test. So the check has to sit somewhere the server does not control: your client, your network path, your credential store, or a layer between the agent and the world.&lt;/p&gt;

&lt;p&gt;That is where our airlock sits. State-changing actions never auto-fire over MCP. A human approves the exact payload in RailHub Studio before anything is sent. Sensitive scopes need dual-control codes, there is a global freeze switch, and the station binds 127.0.0.1 only, which you can confirm with &lt;code&gt;lsof&lt;/code&gt; rather than take from this page. None of that prevents a server from changing its tools. It means the tool that ran, and the payload it ran with, land in a signed receipt you can read afterwards and check without asking us.&lt;/p&gt;

&lt;p&gt;Every governed action RailCall runs emits an Ed25519-signed receipt into a hash-chained log—establishing event provenance and payload integrity (never model factual accuracy on its own). You can verify one offline at &lt;a href="https://railcall.ai/verify" rel="noopener noreferrer"&gt;railcall.ai/verify&lt;/a&gt; — no account, no login, and nothing calls back to us.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://railcall.ai/blog/audit-then-swap/" rel="noopener noreferrer"&gt;RailCall blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>security</category>
      <category>ai</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
