Skip to content

Document title as Draft and restore annotations.title #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

koic
Copy link
Member

@koic koic commented Aug 22, 2025

Motivation and Context

Follow-up to #109.

The introduction of title in #109 is still a draft and is not supported in the latest specification, Version 2025-06-18 (latest).

In this PR, the README.md will be updated to mention this point and restore the references to the removed annotations.title.

This aims to inform users that, as of Version 2025-06-18 (latest), the use of annotations.title is considered stable.

Please refer to the following comment regarding annotations.title and title: modelcontextprotocol/modelcontextprotocol#663 (comment)

How Has This Been Tested?

Existing tests have been updated and removed tests have been restored.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Additionally, separate validation for these parameters could be added.

Follow-up to modelcontextprotocol#109.

The introduction of `title` in modelcontextprotocol#109 is still a draft and is not supported in the latest specification, `Version 2025-06-18 (latest)`.

In this PR, the README.md will be updated to mention this point and restore the references to the removed `annotations.title`.

This aims to inform users that, as of `Version 2025-06-18 (latest)`, the use of `annotations.title` is considered stable.

Additionally, separate validation for these parameters could be added.

Please refer to the following comment regarding `annotations.title` and `title`:
modelcontextprotocol/modelcontextprotocol#663 (comment)
- `destructive_hint`: Indicates if the tool performs destructive operations
- `idempotent_hint`: Indicates if the tool's operations are idempotent
- `open_world_hint`: Indicates if the tool operates in an open world context
- `read_only_hint`: Indicates if the tool only reads data (doesn't modify state)
- `title`: A human-readable title for the tool
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants