Model Context Protocol implementation that connects your LLM to Firebolt cloud data warehouse with access to specialized tools and resources for SQL queries, data modeling, performance optimization, and analytics
The Firebolt MCP server has critical gaps in schema visibility and description quality. While 6 tools are registered via prepareToolsAndResourceTemplates(), the source code provided does NOT show actual tool definitions, parameter schemas, or structured documentation. Tool descriptions in the listing are minimal (6-44 chars), falling far below the 194-char baseline for production tools. No input/output schemas are visible in the provided code. Tool naming is reasonable (connect_core, connect, query, search, docs) but descriptions lack WHEN/WHY context and dependency information required for LLM selection. The codebase uses the official MCP Go SDK (v1.2.0), so the implementation likely exists, but without seeing the actual tool registrations, parameter definitions, and error handling in pkg/tools/*, I must score conservatively based on the available evidence.
Tools (6)
connectread onlyauth28/100
Tool for connecting to Firebolt SaaS databases and engines
connect_coreread onlyauth30/100
Tool for connecting to Firebolt Core databases and engines
docsread only28/100
Tool for accessing Firebolt documentation for reference
docs_llmread only27/100
Tool for providing LLM-friendly documentation content
querywriteauth31/100
Tool for executing SQL queries against Firebolt databases
Tool descriptions are extremely brief (6-44 characters), far below production baseline of 194 chars. Descriptions lack WHAT/WHEN context needed for LLM selection. E.g., 'Tool for connecting to Firebolt Core databases and engines' (55 chars) does not explain prerequisites, when to use vs. connect (SaaS), or what users should expect.
Parameter descriptions not visible. Cannot verify that every parameter (e.g., credentials for connect_core, query text for query, search terms for search) has a description explaining format, constraints, or valid values.
Recommendations
Expand all tool descriptions to 100-200 characters. Include: (1) WHAT the tool does (one sentence), (2) WHEN to use it vs. similar tools (e.g., connect_core is for Firebolt Core, connect is for SaaS), (3) WHAT it returns (e.g., 'Returns a connection session ID for use in subsequent query calls'). Reference pattern:tool-description.
Document parameter schemas in code. For each tool, create a visible JSON Schema definition listing parameter names, types, constraints, and descriptions. Example for query: { 'parameters': { 'query_text': { 'type': 'string', 'description': 'SQL query to execute. Must be SELECT, INSERT, UPDATE, or DELETE.', 'minLength': 1, 'maxLength': 10000 }, 'timeout_seconds': { 'type': 'integer', 'minimum': 1, 'maximum': 300, 'description': 'Query timeout in seconds. Defaults to 30.' } } }. See pattern:constrained-input.
Add WHEN/WHY context to descriptions. Instead of 'Tool for connecting to Firebolt Core databases', write 'Connects to a Firebolt Core database and engine. Call this to establish a session before running queries. Requires account_id, username, password, and engine name.' This tells the LLM exactly when to invoke it.
Differentiate connect_core vs connect more clearly. Rename to connect_firebolt_core and connect_firebolt_saas, or add explicit note: 'For Firebolt Core (self-hosted). Use connect for Firebolt SaaS.' in each description.
Document output schemas. Show what fields query returns (e.g., rows: [{ col_name: string, value: any }], row_count: int, execution_time_ms: int). Show what connect returns (e.g., session_id: string, account_id: string, database_name: string). This enables LLMs to chain tools.
Spec posture evidence
Inferred effective spec: <=2025-11-25.
Relies on Logging (deprecated) - log to stderr or use OpenTelemetry
No evidence of error handling guidance in tool descriptions. When query fails (syntax error, permission denied, timeout), unclear whether descriptions tell LLM what to retry or how to recover.
Tool naming does not distinguish between connect_core (Firebolt Core) and connect (SaaS) clearly enough. An LLM might conflate the two. Naming rules recommend making distinctions obvious (e.g., 'connect_firebolt_core' vs 'connect_firebolt_saas').
No visible output schema or return type documentation. For query, users need to know field names, types, and structure of result rows. For connect, they need to know which connection handle or session ID is returned. Undocumented output forces LLMs to guess.
Credentials/secrets handling not visible. The connect and connect_core tools accept database credentials (username, password, or API key). No evidence in source of secret injection pattern (env vars, vault) or warning against passing secrets as parameters.
connect_coreconnect
Add error handling guidance to query and connect tool descriptions. Example: 'If query fails with syntax error, check SQL. If it fails with permission denied, ensure the connected session has access to the database. If it times out, reduce query complexity or increase timeout_seconds.' Reference pattern:recovery-guide.
Clarify whether connect/connect_core accept API keys, OAuth tokens, or username/password. Document which authentication method each supports. If credentials are required, state that they should be provided by the user/agent at runtime, NOT hardcoded in the tool definition. Never expose example credentials in descriptions.
Add parameter descriptions. For query, document what SQL dialects are supported, any restrictions, and whether multiple statements are allowed. For search, document what fields are searchable and how results are ranked. For docs_llm, explain what LLM-friendly format is used (markdown, JSON, etc.).
Implement per-tool rate limiting and timeout guidance. Add to descriptions: 'Large queries may take 30+ seconds. Recommend timeout of 300 seconds max.' This prevents LLM from hanging indefinitely.
Publish actual tool definition source code or OpenAPI/JSON Schema exports. The current submission shows prepareToolsAndResourceTemplates() but not the actual Tool interfaces in pkg/tools/tool_*.go. Include those files so schemas and descriptions are fully visible and verifiable.