Skip to content

Conversation

@connor4312
Copy link
Contributor

Motivation and Context

Following #663, there are now two ways for a Tool to define a title, as Tool.title which is now receives though BaseMetdata, and also in Tool.anotations.title. I believe this change was made in error as it's not clear to clients which they should use.

How Has This Been Tested?

Not tested

Breaking Changes

Yes, this is a breaking change by removal of the old property.

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

@connor4312 connor4312 force-pushed the connor4312/dedupe-tool-title branch from 5dfd34a to 3820b42 Compare June 20, 2025 16:50
@dsp-ant
Copy link
Member

dsp-ant commented Jun 20, 2025

We are describing the precedence here: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-06-18/schema.ts#L283, since we didn't want to break backwards compatibility.

I'll leave this open, since adding this likely depends if the next spec version is breaking backwards compatibility or not. If thats the case we might be okay with this change.

@dsp-ant dsp-ant added this to the DRAFT-XX-XX milestone Jun 20, 2025
@dsp-ant dsp-ant requested a review from a team September 23, 2025 21:10
@domdomegg domdomegg requested a review from a team as a code owner November 25, 2025 19:37
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