Custom software & AI development company. We build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results. lycore.com
Good catch that the fingerprint skips annotations, and the numbers on readOnlyHint flips make it concrete. A cheap mitigation until the SDK covers it is to hash the raw tools/list entry (annotations and outputSchema included) yourself and store that next to fingerprintTools, then diff on connect. I'd also treat a readOnlyHint true-to-false flip as a hard failure that needs re-approval rather than a warning, since that's the change that actually widens what the model may do.
Agreed on the hard failure, and these moves stick: of the 176 tools whose readOnlyHint went from true to false while the AI SDK fingerprint stayed the same, one had moved back by 16 November.
Your comment made us count the other direction, and it matters more than I expected. If a host skips the prompt for read-only tools, a tool that goes from false to true is the one that stops being asked about. In the same window that happened to 321 tools on 78 servers, and for 262 of them the fingerprint did not change in that read. I’ve added both directions to the post.
So I’d fail on any hint move and say which way it went. WARDEN’s lock already fails on any change; since today its source also names the hint and the direction at the top of the report, so the reviewer reads that line first. It ships with the next release.
Custom software & AI development company. We build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results. lycore.com
That two-direction count is the useful part. A false-to-true flip is the quieter failure because the host stops prompting, and 262 of 321 with an unchanged fingerprint shows how easy it is to miss. Failing on any hint move and naming the direction at the top of the report seems right to me, since the reviewer knows which way to read it first.
Agree the quiet direction is the dangerous one. There's a third case no drift check catches even with annotations hashed: a hint that was wrong on the day you reviewed it. In our audits, GitHub's MCP server ships update_issue_labels as destructiveHint: false while it replaces the whole label set. The Kubernetes server's pods_run is non-destructive on paper and force-applies over an existing Service. Both would fingerprint as perfectly stable. Drift tells you the server changed its story; only calling the tool tells you whether the story was true.
You're right, and both of your examples hold up in the source. GitHub's update_issue_labels (behind the issues_granular flag) has destructiveHint: false, and its own description says it replaces the current labels with the list you pass. In the Kubernetes server, pods_run is destructiveHint: false, but when you give it a port it also creates a Service and server-side applies both with Force: true. Pass a name that already exists and the existing Service is overwritten.
A fingerprint only answers whether the server's claims changed since you approved them. It can't tell you whether those claims were true. In the GitHub case the wrong hint sits next to a description that contradicts it, so reading the definition is enough. In the Kubernetes case the definition looks fine, and only the code or a test call shows what happens.
Your comment made us build a check for the first kind. WARDEN 0.35.0 flags a tool whose readOnlyHint: true or destructiveHint: false is contradicted by its own description ("Deletes …", "replaces the current …", "cannot be undone"). We ran it over the tool definitions HISTOR recorded on 16 November: 468,359 tools with an explicit hint on 26,808 servers. It flagged 307 tools on 204 servers that say read-only and 960 tools on 593 servers that say non-destructive. In a hand-checked sample of 50 from each group, 40 and 45 were real contradictions; we didn't measure what it misses. The finding is advisory: it tells you to label the tool yourself, and an operator's label overrides the server's hint. The Kubernetes kind stays invisible to it.
Your audits check what tools actually do, and HISTOR records what servers say about their tools and when that changes. The two seem to fit together. If you're interested, we can send you the 1,267 flagged tools, and you could run your write tests on some of them to see how often the description was the honest part.
Custom software & AI development company. We build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results. lycore.com
Thanks for running it over the full 16 November snapshot. The split you describe seems right: description-contradiction checks catch the self-inconsistent hints, while the Kubernetes-style case only shows up when someone exercises the tool. One thing I'd find useful in the advisory output is a note on which phrases triggered each flag, so reviewers can quickly tell the real contradictions from the roughly 10-20% that weren't. Appreciate you adding both drift directions to the post.
readOnlyHint is the field a client reads to decide what runs without asking. A change there changes what executes unprompted, which is a bigger deal than a reworded description.
Agreed, and the quieter case is the other direction: a tool whose readOnlyHint goes from false to true. If your host skips the prompt for read-only tools, that is the tool it stops asking about. In HISTOR's record from 23 October to 16 November that happened to 321 tools, and the AI SDK fingerprint would not have moved for 262 of them. The direction in the title, true to false, was 524 tools, 176 of them unseen.
What covers both is pinning the whole definition, hints included, and failing on any change:
It exits 1 when any hint moves. Since 0.34.0 the --markdown report puts the moved hint and its direction under "Read first", and --json carries it as lock.changes[].hints.
@alexar76 Pinning the whole definition is the right cut: a hint flip changes what runs unprompted even when the description reads the same. Failing the build on any change is the part I'd keep.
We're a place where coders share, stay up-to-date and grow their careers.
Good catch that the fingerprint skips annotations, and the numbers on readOnlyHint flips make it concrete. A cheap mitigation until the SDK covers it is to hash the raw tools/list entry (annotations and outputSchema included) yourself and store that next to fingerprintTools, then diff on connect. I'd also treat a readOnlyHint true-to-false flip as a hard failure that needs re-approval rather than a warning, since that's the change that actually widens what the model may do.
Agreed on the hard failure, and these moves stick: of the 176 tools whose readOnlyHint went from true to false while the AI SDK fingerprint stayed the same, one had moved back by 16 November.
Your comment made us count the other direction, and it matters more than I expected. If a host skips the prompt for read-only tools, a tool that goes from false to true is the one that stops being asked about. In the same window that happened to 321 tools on 78 servers, and for 262 of them the fingerprint did not change in that read. I’ve added both directions to the post.
So I’d fail on any hint move and say which way it went. WARDEN’s lock already fails on any change; since today its source also names the hint and the direction at the top of the report, so the reviewer reads that line first. It ships with the next release.
That two-direction count is the useful part. A false-to-true flip is the quieter failure because the host stops prompting, and 262 of 321 with an unchanged fingerprint shows how easy it is to miss. Failing on any hint move and naming the direction at the top of the report seems right to me, since the reviewer knows which way to read it first.
Agree the quiet direction is the dangerous one. There's a third case no drift check catches even with annotations hashed: a hint that was wrong on the day you reviewed it. In our audits, GitHub's MCP server ships update_issue_labels as destructiveHint: false while it replaces the whole label set. The Kubernetes server's pods_run is non-destructive on paper and force-applies over an existing Service. Both would fingerprint as perfectly stable. Drift tells you the server changed its story; only calling the tool tells you whether the story was true.
You're right, and both of your examples hold up in the source. GitHub's
update_issue_labels(behind theissues_granularflag) hasdestructiveHint: false, and its own description says it replaces the current labels with the list you pass. In the Kubernetes server,pods_runisdestructiveHint: false, but when you give it a port it also creates a Service and server-side applies both withForce: true. Pass anamethat already exists and the existing Service is overwritten.A fingerprint only answers whether the server's claims changed since you approved them. It can't tell you whether those claims were true. In the GitHub case the wrong hint sits next to a description that contradicts it, so reading the definition is enough. In the Kubernetes case the definition looks fine, and only the code or a test call shows what happens.
Your comment made us build a check for the first kind. WARDEN 0.35.0 flags a tool whose
readOnlyHint: trueordestructiveHint: falseis contradicted by its own description ("Deletes …", "replaces the current …", "cannot be undone"). We ran it over the tool definitions HISTOR recorded on 16 November: 468,359 tools with an explicit hint on 26,808 servers. It flagged 307 tools on 204 servers that say read-only and 960 tools on 593 servers that say non-destructive. In a hand-checked sample of 50 from each group, 40 and 45 were real contradictions; we didn't measure what it misses. The finding is advisory: it tells you to label the tool yourself, and an operator's label overrides the server's hint. The Kubernetes kind stays invisible to it.Your audits check what tools actually do, and HISTOR records what servers say about their tools and when that changes. The two seem to fit together. If you're interested, we can send you the 1,267 flagged tools, and you could run your write tests on some of them to see how often the description was the honest part.
Thanks for running it over the full 16 November snapshot. The split you describe seems right: description-contradiction checks catch the self-inconsistent hints, while the Kubernetes-style case only shows up when someone exercises the tool. One thing I'd find useful in the advisory output is a note on which phrases triggered each flag, so reviewers can quickly tell the real contradictions from the roughly 10-20% that weren't. Appreciate you adding both drift directions to the post.
readOnlyHint is the field a client reads to decide what runs without asking. A change there changes what executes unprompted, which is a bigger deal than a reworded description.
Agreed, and the quieter case is the other direction: a tool whose
readOnlyHintgoes from false to true. If your host skips the prompt for read-only tools, that is the tool it stops asking about. In HISTOR's record from 23 October to 16 November that happened to 321 tools, and the AI SDK fingerprint would not have moved for 262 of them. The direction in the title, true to false, was 524 tools, 176 of them unseen.What covers both is pinning the whole definition, hints included, and failing on any change:
It exits 1 when any hint moves. Since 0.34.0 the
--markdownreport puts the moved hint and its direction under "Read first", and--jsoncarries it aslock.changes[].hints.@alexar76 Pinning the whole definition is the right cut: a hint flip changes what runs unprompted even when the description reads the same. Failing the build on any change is the part I'd keep.