An MCP server built with FastAPI and FastMCP that provides tools for Google search and internal knowledge base queries, using Server-Sent Events (SSE) for transport.
Two tools with minimal documentation. google_search has a basic description (89 chars) and a single string parameter with description, but no output schema documented. internal_knowledge_base has a trivial description (34 chars, below 20-char threshold) and zero parameters. Neither tool declares what they return or how to use results downstream. No error handling guidance, no parameter constraints, no pagination support despite google_search returning multiple results. Tool names are acceptable (verb_noun pattern) but descriptions lack LLM-optimization depth.
Performs google search on the provided query. Args: query: the query to perform google search on (eg. what is the today's date?) Returns: Text from the google search as string
Return internal information about Infinite possibilties.
internal_knowledge_base description is 34 characters, below 20-char minimum and provides no actionable context for LLM selection. Violates pattern:tool-description baseline (10 - 1024 chars, avg 194).
No output schemas documented for either tool. LLMs cannot plan downstream calls or extract required fields. google_search returns text but structure is undocumented; internal_knowledge_base returns a string with no field guidance.
google_search returns multiple results (loops over response['organic']) but accepts no pagination parameters (limit, offset, page). Large result sets will bloat context without pagination support.
No error handling guidance. If Serper API fails, returns raw exception. LLM receives no recovery hint (e.g., 'API key invalid, check SERPER_API_KEY env var' or 'Rate limited, retry in 60s').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
google_search parameter 'query' lacks format constraints. No min/max length, no guidance on query syntax. LLM may pass empty strings or 10,000-char queries without validation.