A full-stack AI chatbot application with FastAPI backend, Next.js frontend, LangGraph state management, PostgreSQL persistence, RAG document ingestion, and GitHub MCP server integration for repository management.
Server has 9 tools with mixed quality. GitHub tools (1-6) have basic descriptions and schemas but lack error guidance and output documentation. Stock price, calculator, and RAG tools have minimal descriptions (under 50 chars) and no output schemas. No tool annotations (readOnlyHint/destructiveHint). Parameter descriptions are present but sparse. Critical gaps: no pagination for list_issues, no error recovery guidance, secrets exposed in code (Alpha Vantage API key hardcoded in tool), and missing output schema documentation across all tools.
Perform a basic arithmetic operation on two numbers. Supported operations: add, sub, mul, div
Create a new issue in a GitHub repository.
Create a new file or update an existing file in a GitHub repository. If the file exists, it automatically resolves its SHA and overrides it.
Retrieve the text content of a file in a GitHub repository.
Get detailed information about a specific GitHub repository.
Fetch latest stock price for a given symbol (e.g. 'AAPL', 'TSLA') using Alpha Vantage with API key in the URL.
Hardcoded API key in source code (Alpha Vantage key 'JJECYHZ7TGPXD8K7' in get_stock_price). Credentials must never appear in tool implementations or parameters.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields without knowing response structure. All tools return unstructured strings or dicts without field documentation.
list_issues returns up to 10 items with no pagination support. No limit parameter, no offset/cursor, no total count. Large result sets will blow context window.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | 2026-07-28+ | v2 |
List issues in a GitHub repository. State can be 'open', 'closed', or 'all'.
Retrieve relevant information from the uploaded PDF for this chat thread. Always include the active thread_id when calling this tool.
Search public and private GitHub repositories. Returns a list of repository names, descriptions, and URLs.
Error responses are generic strings without recovery guidance. E.g. 'Error: Failed to fetch repositories' tells LLM nothing about retry strategy, user action, or next steps.
Tool 'rag_tool' has weak naming. 'rag_tool' is generic and does not convey action. Should be 'search_documents' or 'retrieve_document_context'. Also requires thread_id parameter but no guidance on how to obtain it.