An MCP server that fetches and searches documentation from multiple sources (LangChain, LLamaIndex, OpenAI) using Brave Search API
Single tool 'get_docs' has a basic description but critical gaps in schema completeness, parameter documentation, and error handling. The tool accepts two string parameters (query, library) with minimal constraint documentation. No output schema is documented. Error handling is minimal, only a ValueError for unsupported libraries and a generic 'No results found' string. The description lacks guidance on when to use this tool vs. alternatives, what format results are returned in, or how to handle failures. No pagination, no structured output, no recovery guidance.
Search the latest docs for a given query and library. Supports langchain, openai, and llama-index.
No output schema documented. Tool returns unstructured text; LLM cannot plan downstream operations or extract structured data.
Parameter 'library' lacks enum constraint. Should declare valid values (langchain, llama-index, openai) as an enum, not free-form string.
Description under 200 chars and lacks WHEN/WHY guidance. Does not explain when to call this vs. a general web search, what format results are in, or how to handle 'No results found'.
Error handling is minimal and non-actionable. 'No results found' string gives LLM no recovery path. Missing guidance on timeout, malformed query, or API failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
No pagination or result limits. Tool fetches only first result from Brave Search but returns all text from one URL. Large docs pages could blow context window.