MCP server for Metabase using drdroid-debug-toolkit MetabaseSourceManager
The Metabase MCP server exposes tools dynamically from drdroid-debug-toolkit's MetabaseSourceManager, but critical definition quality elements are missing or severely incomplete. The server code shows that tool definitions (name, description, parameters_schema) are generated at runtime from an external source manager, not explicitly defined in this codebase. This is a major red flag: tools are inferred rather than directly visible. While `tool_provider.py` defines a clean `ToolDefinition` dataclass with fields for name, description, and parameters_schema, the actual tool population happens via `MetabaseToolProvider` (imported but not shown in source), which depends on drdroid-debug-toolkit. Without seeing the actual tool registrations, parameter schemas, or descriptions generated by that toolkit, assessment is limited to structural gaps visible in the code. The descriptions provided in the FEATURES section ('Dynamic tools extracted from MetabaseSourceManager...') are auto-generated templates, not human-crafted LLM-optimized descriptions. Parameter schemas are not visible in the provided source, the `_register_provider_tools()` function in server.py attempts to extract them from `t.parameters_schema`, but we cannot verify if those schemas exist, are complete, or follow JSON Schema best practices. No error recovery guidance is visible. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present. No security controls (secret injection, permission gates) are evident. The single inferred tool entry 'metabase_*' cannot be scored as a real tool definition.
Dynamic tools extracted from MetabaseSourceManager task_type_callable_map. Tool names are generated from task types in format metabase_{task_type_name_lowercase}. Each tool's description is generated as '{display_name} (category: {category})'.
Tool definitions are inferred and dynamically generated from external drdroid-debug-toolkit, not explicitly visible in source code. Cannot verify parameter schemas, descriptions, or naming conventions.
No human-crafted tool descriptions. Auto-generated template 'Dynamic tools extracted from MetabaseSourceManager task_type_callable_map. Tool names are generated from task types in format metabase_{task_type_name_lowercase}. Each tool's description is generated as {display_name} (category: {category}).' is not LLM-optimized. Lacks WHAT the tool does, WHEN to use it, and prerequisites.
No input schemas visible in source code. Code in server.py attempts to extract 'parameters_schema' from provider tools at runtime, but the actual schema structure, required fields, types, and constraints are not visible. Cannot verify compliance with JSON Schema best practices.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 19 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 19 | - | v1 |
Tool naming pattern 'metabase_{task_type_name_lowercase}' is generic and does not follow verb_noun conventions (get_, create_, update_, delete_, list_, search_). Task type names are opaque to LLMs without explicit documentation.
No error handling or recovery guidance visible. The _call wrapper in _make_tool_fn returns a generic dict {'error': str(e)} with no categorization of retryable vs. fatal errors, no actionable next steps, and no invalid-value feedback.
No output schema documentation. Response structure from metabase_* tools is not specified, making it impossible for LLMs to plan downstream tool calls or extract required fields.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) visible. LLMs cannot determine which operations are safe to retry, which modify state, or which are read-only.
No security controls visible. If Metabase API key is stored in config and tools execute queries, there is no indication of permission gates, scope declarations, audit trails, or input sanitization against SQL injection.