Advanced AI Agent Chatbot powered by LangGraph, Gemini 2.5, and Agentic RAG with multi-utility capabilities including web search, PDF analysis, stock prices, expense tracking, and calculator functions
Six tools with basic schemas and descriptions, but significant gaps in parameter documentation and error handling. All tools have descriptions (10-50 chars, below the 50-200 char baseline for LLM optimization), and input schemas are present but sparse. No tool annotations (readOnlyHint/destructiveHint), no error recovery guidance, and parameter descriptions are minimal. The add_expense tool modifies state but lacks confirmation or dry-run support. No pagination support on list-returning tools (get_expenses, retrieve_documents). Naming is verb-noun compliant but descriptions lack WHEN/WHY context.
Record a new expense with category, amount, and optional description
Perform a basic arithmetic operation on two numbers. Supported operations: add, sub, mul, div.
Retrieve all recorded expenses, optionally filtered by category
Fetch the current stock price for a given ticker symbol
Retrieve relevant documents from the RAG system based on a query
Search the web for information using DuckDuckGo
Descriptions are 30-50 characters, well below the 50-200 char baseline for LLM optimization. Lack WHEN/WHY context and dependency hints.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). add_expense is destructive/stateful but unmarked; LLM cannot determine retry safety.
get_expenses and retrieve_documents return lists but lack pagination (limit, offset, next_cursor) and total count. Large result sets will blow context window.
No error handling guidance. Tools lack recovery hints (e.g., 'Try search_users() first' pattern). Raw errors give LLM nothing actionable.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | 2026-07-28+ | v2 |
add_expense modifies state but lacks confirmation/dry-run support. Agents cannot preview before committing irreversible changes.