Multi-agent SQL chatbot system using Google ADK with MCP tools for executing SQL queries and retrieving database schemas from uploaded files
Two tools with minimal documentation. execute_sql has a basic description (59 chars) but no input parameter descriptions, the 'query' param lacks guidance on format, constraints, or examples. get_schema has a 73-char description but zero parameters, so no schema validation possible. Neither tool documents output structure, error handling, or recovery paths. No tool annotations (readOnlyHint, idempotentHint). Naming is acceptable (verb_noun pattern), but descriptions fall short of the 50-200 char LLM-optimized baseline. No evidence of pagination, result limits, or structured output schemas in the code.
Execute a SQL query on data from the persistent database.
Retrieve schemas for all tables currently available in the database.
No input parameter descriptions. 'query' parameter in execute_sql lacks format guidance, constraints (e.g., max length, allowed SQL dialects), or examples. LLMs cannot infer whether to pass raw SQL, parameterized queries, or templated strings.
No output schema documentation. Neither tool documents what fields are returned, data types, or structure. LLMs cannot plan downstream operations or extract required data.
No error handling or recovery guidance. Tools return raw strings with no categorization (retryable vs. fatal), no actionable error messages, and no hints for LLM recovery.
No input validation or constraints. execute_sql accepts arbitrary SQL strings with no length limits, injection guards, or dialect validation. Dangerous for untrusted agents.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 40 | <=2025-11-25 | v2 |
No pagination or result limits. execute_sql may return thousands of rows, exhausting context windows. No limit parameter, offset/cursor, or total count in response.