Improve docs on how to use `instructions` on `InitializeResult`

Open Beginner friendly
#1,464 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
documentation

Research direction

Start with the InitializeResult instructions section linked in the issue and inspect the SDK's existing documentation structure for the best location. Add clear guidance and examples showing how instructions can describe tool bundling, grouping, or namespaces. Done means users can understand how to use the field from the documentation without needing to infer its purpose.

Written by the indexing model from the issue text.

Description

documentation P1 ready for work
Question

Lots of people want tool bundling / grouping / namespaces to guide servers how to use tools together.

We should make instructions more obvious and have examples for how to use it - maybe this can address a lot of requests for bundling and namespaces if it's more obvious this is something you can do.

https://modelcontextprotocol.io/specification/2025-06-18/schema#initializeresult-instructions

Additional Context

No response

Dominant language
Python
Stars
24.3k
Forks
4k
Avg merge
1d 19m
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/python-sdk

All issues in modelcontextprotocol/python-sdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.