MCP server for querying Apache Iceberg tables via AWS Glue using DuckDB
Four tools with clear verb-noun naming (query_, list_, describe_, glue_). All have descriptions (avg 150 chars, within baseline 194). Input schemas present with type definitions. However, parameter descriptions are minimal or absent, most params lack detail on format, constraints, or dependencies. Output schemas are undocumented; tools return strings without specifying structure. Error handling is implicit (no recovery guidance visible). Security: credentials injected server-side via SessionPool (good), but no audit logging or permission gates visible. Composition is sound, tools chain naturally (glue_table → query_lakehouse).
Describe a table's schema. Use 'database.table' format for Glue.
Register a Glue Iceberg table as a queryable DuckDB view. Resolves the actual data files from the Iceberg manifest (handles tables where data files live outside the Glue-registered table root). Usage: glue_table('database.table_name') After calling this, query with: SELECT * FROM database__table_name
List available tables. Optionally filter by database name.
Execute a SQL query. Use read_parquet() or iceberg_scan() for S3 paths, or use the glue_table tool first to register a Glue table by name.
Parameter descriptions missing or minimal. 'sql' param has no format/constraint guidance; 'database' and 'table_name' lack examples of expected format (e.g., 'database.table' vs 'database/table'). LLMs cannot infer valid input without explicit constraints.
Output schemas undocumented. All tools return strings; no specification of structure (CSV, JSON, plain text, error format). LLMs cannot reliably parse results or chain tools without knowing response format.
No error handling guidance. Tools return strings but do not document error cases, recovery steps, or how to distinguish success from failure. LLMs cannot self-correct on invalid input.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
No pagination or result limits documented. query_lakehouse and list_tables could return unbounded results; no mention of max rows, pagination tokens, or offset/limit parameters. Large result sets will exhaust context.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). query_lakehouse accepts WRITE operations but is not marked as destructive; glue_table is idempotent but unmarked. Agents cannot reason about side effects.