Tool performance optimization #93
Open
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.
This pull request introduces a major performance change to the BioMCP project by consolidating and simplifying the MCP tool interface, reducing the number of tools from 35 to 12. This reduces the agent token load from the tool docstrings and improves faster initialization. All domain tools now follow a consistent action-based pattern, which streamlines usage and improves maintainability. Extensive documentation and migration guides are provided to help users transition to the new interface, and all related code, guides, and examples have been updated accordingly.
Tool Interface Consolidation
action="search"oraction="get") for all domain tools, includingarticle,trial,variant,alphagenome,gene,drug,disease,fda, andnci.Documentation and Tutorial Updates
Code and Test Improvements
src/biomcp/tools/and improved parameter validation across all tools.Bug Fixes
hgvsparameter for general HGVS notation.sectionsarray parameters.