Repository navigation
docs: halve the MCP tool list and state the shared rules once - #103
Merged
Merged
Conversation
…ared rules once in the server instructions
iamnbutler
force-pushed
the
docs/tool-list-pass
branch
from
October 17, 2026 08:35
e7974ba to
c63c1eb
Compare
This was referenced Oct 17, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An agent-facing pass over the MCP tool list: the payload is about half its size, every description follows one shape, and the server instructions now cover the shared rules and the newer capabilities. TS and docs only.
Numbers (47 tools, measured from
tools/list; tokens ≈ bytes / 4)tools/listresultTop 10 before (description + schema bytes):
Top 10 after:
Changes
completedversusunknown;desktopToolRules(app), which the MCP server adds to its instructions:availability;desktop_waitandexpect;desktopTools()with its own guidance, so it should includedesktopToolRules()(see docs/mcp.md).enuminstead of ananyOfofconsts (keys, conditions, kinds, modifiers…).expectand wait condition fields, keep their field names but drop limits thatclient.tsandvalidateWaitalready check.expectlists onlyuntilandtimeout_ms, and points at desktop_wait for the rest.pointandexpect.Checks
npm run -s check,npm test(52 pass; the two schema tests now readenum)tools/listandinitializeserved bydist/mcp.js; adesktop_appscall through the dev app works with the new schemas