Repository navigation
SDK doesn't support specifying tool metadata? #1224
Description
Activity
There is actually a metadata parameter on all request/notification/response messages, e.g. here. I believe the Python SDK doesn't expose that, however - you should open a feature request on the Python SDK if you'd like this, I think.
Reacted by Zhicai Guo, Really Him and Stanislav LeventalI agree I think this is an SDK issue. I think I had to use the low-level server instead of fastmcp FWIW but it is doable.
EDIT: It looks like FastMCP 2 supports metadata on tools, just gave it a glance though:
https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/tools/tool.py- changed the title
[-]Why MCP doesn't support metadata?[/-][+]SDK doesn't support specifying tool metadata?[/+]on Jul 31, 2025 @dsp-ant Can I pick this issue?
@pree-dew are you working on this ? I may be interested
@boijuny I definitely want to work on this, I thought maintainers will assign task for anyone to pick, was waiting for that. If that is not the case, I can pick this right away.
k, good luck !
- addedenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedP0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featureready for workEnough information for someone to start working onEnough information for someone to start working onand removedgood first issueGood for newcomersGood for newcomers
on Oct 7, 2025 - linked a pull request that will close this issueExpose RequestParams._meta in ClientSession.call_tool #1231
on Oct 7, 2025 Should likely be resolved by #1231 when I get around to it
- addedP1Significant bug affecting many users, highly requested featureSignificant bug affecting many users, highly requested featureand removedP0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing feature
on Feb 23, 2026
Some mcp tool, i don't want let LLM know, So i want transfer data by metadata, How can it do it? thank you !
Server example:
Client Example