MCP server implementation for Nile database management, providing tools for database operations, tenant management, SQL query execution, and resource inspection
Server has 11 tools with complete Zod schemas and descriptions. Naming follows verb_noun convention (list-, create-, delete-, get-, execute-, read-). Descriptions are present but brief (avg ~60 chars, below 194-char baseline). Parameters have types and descriptions. Critical gaps: no output schemas documented, no error recovery guidance, no pagination support for list operations, SQL injection risk in execute-sql, no idempotency hints for destructive operations.
Creates a new Nile database
Creates a new tenant in the specified database
Deletes a database
Deletes a tenant from the specified database
Executes a SQL query on a Nile database
Gets a PostgreSQL connection string with fresh credentials
Gets details of a specific database
No output schemas documented. LLMs cannot infer response structure, forcing them to guess at field names and types for downstream tool chaining.
execute-sql accepts raw SQL query parameter with no sanitization or injection prevention. LLMs can be tricked into passing malicious SQL. Requires input validation and parameterized query support.
Destructive operations (delete-database, delete-tenant) lack confirmation/dry-run support. No idempotent hints. Agents cannot safely retry on ambiguous failures without risking duplicate deletions.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
Lists all databases in the workspace
Lists all tables and their descriptions in the specified database
Lists all tenants in the specified database
Gets detailed schema information for a specific table
List operations (list-databases, list-resources, list-tenants) lack pagination parameters (limit, offset, cursor). No documented result caps. Large result sets will blow context windows.
Error responses return generic text without recovery guidance. 'Failed to create database: <error>' gives LLM no actionable next step. Should categorize errors (retryable vs user-fixable) and suggest alternatives.