MCP server for interacting with Arango databases. For more information about the Model Context Protocol, visit https://modelcontextprotocol.io
This server has basic tool definitions but lacks the LLM-optimization and completeness expected of production systems. All four tools have descriptions (passing the critical check), and three of four have proper input schemas with typed parameters. However, descriptions are minimal (averaging ~30 chars, below the 194-char baseline), parameter descriptions are generic or missing, output schemas are not documented, and error handling provides no recovery guidance. The tools exhibit poor naming conventions ('readQuery' and 'readWriteQuery' are vague and don't clearly distinguish responsibility), and there is no documentation of what each tool returns, making it difficult for LLMs to plan downstream operations. The server also lacks security annotations (no destructiveHint on readWriteQuery despite its WRITE risk), pagination support, or batching capabilities. Overall, this is a D-grade implementation, functional but well below production quality.
List all the collections in a database
List all the databases
Run a read-only AQL query
Run an AQL query
Query tools have vague, ambiguous names. 'readQuery' and 'readWriteQuery' do not clearly distinguish responsibility; naming convention should follow verb_noun pattern (e.g., 'execute_read_query', 'execute_write_query', or split into domain-specific tools like 'query_aql_readonly', 'query_aql_readwrite'). LLM must read descriptions to understand the difference, wasting reasoning cycles and inviting misuse.
All tool descriptions are under 50 characters and lack context. Critical checks require 10-1024 chars with WHAT, WHEN, and prerequisites. Current descriptions ('Run a read-only AQL query', 'Run an AQL query') omit when to use each, what the return value contains, and any prerequisites (e.g., database must exist, user must have query permissions). LLMs cannot reliably select between readQuery and readWriteQuery without richer descriptions.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 47 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 29 | - | v1 |
No parameter descriptions for 'databaseName' and 'aql' in query tools. The schema declares types but the descriptions are single short strings (e.g., 'Name of the database', 'AQL query string'). Critical checks require actionable descriptions stating format, constraints, and examples. 'AQL query string' tells LLM nothing about syntax validation, length limits, or what queries are allowed. Should be: 'AQL query string (must be valid ArangoDB Query Language; max 10000 chars; read-only tools cannot include INSERT/UPDATE/DELETE/REPLACE).'
No output schema documentation. Tools return results (AQL query results, database list, collection list) but there is no schema definition describing the return value structure, field names, or types. LLM cannot plan downstream tool chains or extract data correctly. Every tool should document its output schema (e.g., 'Returns an object with keys: data (array of result rows), stats (execution metrics)' or similar).
No error handling or recovery guidance. Query tools can fail for many reasons (invalid AQL syntax, database not found, permission denied, timeout) but there is no documentation of error codes, error messages, or what the LLM should do next (retry, ask user, call a different tool). Critical pattern requires actionable error messages like 'Invalid database: got "xyz". Run listDatabases() to see available databases.'
readWriteQuery lacks destructive operation annotation. The tool has risk=WRITE (indicating it modifies data), but there is no corresponding destructiveHint in the schema or description warning the LLM of irreversible consequences. The description should explicitly state 'WARNING: This tool can modify, insert, or delete data. Use with caution and confirm intent with the user before execution.'
No pagination, limits, or result-cap documentation. listDatabases and listCollections return full lists without documented limits or pagination. If an ArangoDB instance has thousands of collections, returning all of them exhausts context window. Best practice: cap at 50 items, provide offset/limit parameters, and document this in the description.
Query tools require database name as a string parameter, but do not accept alternative identifiers (human-friendly names, aliases). Users must know exact database names or call listDatabases() first. Rubric recommends 'Accept human-friendly identifiers alongside system IDs' and 'If both are valid, provide separate parameters or resolve inside the tool.' This forces unnecessary discovery calls.
No security annotations or permission documentation. Tools do not declare what permissions they require (e.g., 'read:database', 'write:collection'). Rubric requires 'Each tool should declare what permissions it requires' for least-privilege agent configs and audit trails. Add to tool descriptions: 'Requires: read:database permission.'
AQL query tools do not validate or document SQL/injection constraints. Free-form AQL string parameter is a prompt-injection and AQL-injection attack surface. No documentation of sanitization, validation, or safe usage. Rubric requires 'Treat all agent-provided input as untrusted. Sanitize against SQL injection, command injection, and path traversal.'