Documentation
¶
Overview ¶
Example: Research Assistant — context budget management with the same tools at different verbosity levels. Demonstrates how variants can optimize tool descriptions for different context window sizes and use cases.
Each tool sends progress notifications and log messages as it works, simulating a deep-research workflow where the client can observe each step (e.g. "Searching arXiv", "Resolving references").
Capability demonstrated: Context budget management, description verbosity, notification streaming.
Variants:
- deep-research: Verbose multi-paragraph descriptions with usage examples
- quick-lookup: Concise 1-sentence descriptions for fast Q&A
- synthesis: Balanced descriptions for report generation
Run:
go run ./examples/server/research
Then connect any MCP client to http://localhost:8080.
Click to show internal directories.
Click to hide internal directories.