MCP server for searching documentation across multiple libraries (LangChain, LlamaIndex, OpenAI) using web search and content fetching
Single tool 'get_docs' has a reasonable description (194 chars, within baseline 34-392 range) and clear naming. However, critical gaps undermine quality: (1) Input schema lacks enum constraints for the 'library' parameter despite supporting only 3 known values (langchain, llama-index, openai), invites hallucinated values. (2) No output schema documented, LLMs cannot plan downstream operations or know what fields to expect. (3) Parameter descriptions are embedded in docstring, not formally attached to schema fields. (4) No error handling guidance, tool returns bare strings like 'No results found' and 'Timeout error' without recovery hints. (5) No pagination or result limits despite fetching multiple URLs, could return unbounded text. (6) Tool accepts external API key (SERPER_API_KEY) via environment, which is correct, but no documentation of this dependency.
Search the docs for a given query and library. Supports langchain, llama-index, and openai. Args: query: The query to search for (e.g. "Chroma DB") library: The library to search in (e.g. "langchain") Returns: Text from the docs
Missing enum constraint on 'library' parameter. Tool supports only 3 values (langchain, llama-index, openai) but schema declares it as free-form string. LLMs will hallucinate invalid library names.
No output schema documented. Tool returns unstructured text; LLMs cannot determine what fields are present or plan chained operations. Baseline: 100% of A+ tools document return types.
No error handling guidance. Tool returns bare strings ('No results found', 'Timeout error') without recovery hints. LLMs cannot determine if error is retryable or what to do next.
No pagination or result limits. Tool fetches multiple URLs and concatenates all text without bounds. Large results can exhaust context window and degrade LLM reasoning.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
Parameter descriptions embedded in docstring, not formally attached to schema. FastMCP should use @mcp.tool() decorator with explicit parameter annotations or JSON Schema descriptions field.