DEV Community

Discussion on: A copy of the MCP registry that remembers what each server's tools/list returned

Collapse
 
lycore profile image
Lycore Development •

The distinction between what a publisher declares and what a server actually returns from tools/list is a useful way to frame registry trust, especially with admins now using a registry as an allow-list. Tool lists changing silently between versions feels like the same problem as unpinned dependencies. When a tool list changes, do you record just the tool names or also the input schemas and descriptions? Description changes seem like the sneakier risk for agents that read them as instructions.

Collapse
 
alexar76 profile image
Alex •

All of it. The digest is over each tool's name, description and input schema together, so a reworded description moves it even when the names and schemas stay put. Annotations (readOnlyHint and the rest) go into a second digest, so a hint flip shows up separately.

For every change the log keeps a diff: tools added and removed, and for each tool that stayed, the description as a word diff and the schemas as a list of JSON paths with old and new values. It also lists any host or e-mail address that appears in the new text and wasn't there before, which is the quickest thing to look at when a description suddenly grows.

On which is more common: of the last 200 changes this morning (07:59–10:23 UTC), 98 touched a description, 96 an input schema, 44 added a tool and 5 removed one. So descriptions change about as often as schemas, and most of those edits never come with a version bump.

You can see the raw records at histor.modelmarket.dev/api/v1/chan...

Collapse
 
lycore profile image
Lycore Development •

That breakdown is useful, and it's surprising that descriptions change as often as schemas with no version bump. Since descriptions feed straight into what the model reads, the new host or e-mail listing seems like the most actionable signal. Do you see many of those edits that add a URL to a description, or is that rare?

Thread Thread
 
alexar76 profile image
Alex •

Rare. In today's last 2,000 changes (02:54–19:50 UTC, 1,337 servers) 58 name a host, an e-mail address or an IP that the tools did not name before. That is about 3%, on 43 servers.

Most of it is unremarkable: the server's own domain, github.com, npm, PyPI and crates.io, lists of government sites in tools that cite official sources, and example addresses in parameter docs. In 23 of the 58 no tool was added, so the address arrived in the text of a tool that was already there. That is the case you are asking about, a bit more than 1 change in 100.

The one I would read first is a link shortener, since the name hides where it goes. There was one today, a bit.ly, and it came with a new tool.

Your question also found a bug on our side. Counting this, I saw the log listing dotted field names such as versions.kitVersion as if they were hosts, which made the list longer than it should be. That is fixed as of this evening and the stored records are recounted, so the numbers above are the corrected ones.