Skip to content

Conversation

MohanLaksh
Copy link
Collaborator

@MohanLaksh MohanLaksh commented Sep 11, 2025

Summary of changes below:

  1. Bumped the MAX_DESCRIPTION_LENGTH to 8192 characters from 4096 Characters
  2. Updates the schema.py to truncate the description beyond the acceptable max length in Server, Tools, Gateway, Resources, and Prompts both during Create and during Update.
  3. Updated the Security Test case and added doctest for all instances of the changed logic.

PR TEST SUMMARY

make test - PASS - (Coverage: 70%, === 2680 passed, 24 skipped, 704 warnings in 234.73s (0:03:54) ===)
make autoflake isort black flake8 - PASS - no errors -
make pylint - PASS - (Your code has been rated at 10.00/10)
make smoketest - PASS - ✅ Smoketest passed!
make doctest - PASS - (44%, 761 passed, 7 skipped, 86 warnings in 24.04s)

@MohanLaksh MohanLaksh marked this pull request as draft September 11, 2025 11:08
@MohanLaksh MohanLaksh marked this pull request as ready for review September 11, 2025 14:40
@crivetimihai crivetimihai merged commit 3ac802d into IBM:main Sep 12, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Tool's long descriptions make Create MCP Server to fail
3 participants