Under the hood
Useful2 Signal0
Tool discovery uses a newer path with retries on servers that negotiate the modern protocol; older servers are unchanged.
What's wrong with this entry?
Anonymous. No account, no email.
What
Tool discovery has a second code path for servers that negotiated the modern protocol era.
Details
- When the connected client reports
getProtocolEra?.() === "modern", discovery callslistToolswithcacheMode: "refresh"and retries retryable failures with a 250/500/1000ms backoff, logging each retry. - Pagination overruns on that path are recorded as
capped. - Legacy servers keep the previous paginated
tools/listwalk, which is what everyone gets by default. - The large tool-conversion body was factored out of the cached discovery function into a shared helper that both live and cached results go through.
Evidence
tools/list failed (${de(n)}); retrying in ${o}ms
Strings lifted out of the shipped bundle, so the claim above can be checked against them.