fix(schema): add missing property descriptions across official MCP servers#3732
Open
radeshgovind-2005 wants to merge 2 commits intomodelcontextprotocol:mainfrom
Open
Conversation
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.
Motivation and Context
Fixes #3669
The official MCP reference servers were missing
descriptionfields on toolinput schema properties, and several tools in server-everything were missing
requiredarrays. LLMs use these descriptions to understand how to call toolscorrectly — without them, the model has to guess parameter semantics from names
alone, which degrades tool-use accuracy. As reference implementations, these
servers set the standard the whole ecosystem follows.
How Has This Been Tested?
tsc --noEmit(no new errors)npx @modelcontextprotocol/inspector) and visuallyconfirmed descriptions appear correctly on all modified tools including
read_file,move_file,search_files, and othersrequiredarray fix works correctly by removing.default()values from parameters that should be explicitly required
Breaking Changes
No. All changes are purely additive (descriptions) or make implicit requirements
explicit (required arrays). No existing functionality was changed or removed.
Users do not need to update their MCP client configurations.
Types of changes
Checklist
Additional context
Changes across 6 files:
src/filesystem/index.ts— 18 descriptions added across all 11 toolssrc/memory/index.ts— 4 descriptions added to array parameterssrc/everything/tools/get-resource-reference.ts— description + required fixsrc/everything/tools/get-resource-links.ts— required fixsrc/everything/tools/gzip-file-as-resource.ts— required fix + resource descriptionsrc/everything/tools/trigger-long-running-operation.ts— required fix