Refactor: Tool Cleanup for Reliability and Compatibility #6
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.
Summary
This pull request focuses on improving the stability and compatibility of the Telegram MCP server by removing tools that were either unreliable or incompatible with the expected MCP environment.
Changes Included
Removed File Handling Tools:
file_patharguments (send_file,download_media,set_profile_photo,edit_chat_photo,send_voice,send_sticker,upload_file).Removed GIF Handling Tools:
get_gif_search,get_saved_gifs, andsend_gif.get_gif_searchimplementation updated,get_saved_gifsadded, logging added tosend_gif), these tools continued to exhibit unreliable behavior and errors, likely due to underlying library/API complexities or inconsistencies. They have been removed to ensure overall toolset stability.Documentation Updates:
README.mdto remove references to the deleted file and GIF tools in the "Features & Tools" list.README.mdexplaining why these toolsets were removed.Impact
Notes
At the end, make sure you've released new version