5 minute read · September 17, 2025
From SQL to Semantics: How Agents Use Dremio’s MCP Tools to Navigate Enterprise Data
· Head of DevRel, Dremio
AI agents are only as effective as the data interfaces they can use. For decades, SQL has been the universal language for querying data. But in the age of AI and autonomous analytics, SQL alone isn’t enough. Agents need governed, context-rich access to data, and that’s exactly what Dremio’s MCP server delivers.
By combining SQL execution tools with semantic search powered by Dremio’s semantic layer, the MCP server enables agents to move seamlessly between raw queries and business-friendly semantics, all within a governed environment.
The Evolution from SQL to Semantic Access
- SQL Queries: Still critical for structured, technical tasks. Dremio’s Run SQL Query tool ensures agents can execute governed SQL directly on Iceberg tables or federated data sources.
- Schema Understanding: With Get Schema of Table, agents gain the metadata context needed to interpret data structures before issuing queries.
- Semantic Search: Instead of relying on technical table names, agents can now discover datasets in plain business terms using Dremio’s AI-powered semantic layer.
This evolution allows agents to not only query but also understand the business meaning of data.
The Role of the Semantic Layer
The semantic layer is the foundation that makes this shift possible. It introduces:
- Consistent definitions of business metrics (e.g., churn rate, ARR, retention).
- Curated datasets that unify raw data into governed, reusable views.
- Role-based access controls ensuring security and compliance.
Agents no longer operate blindly; they interact with data in the same governed way as business users.
Try Dremio’s Interactive Demo
Explore this interactive demo and see how Dremio's Intelligent Lakehouse enables Agentic AI
Autonomous Reflections: Keeping it Fast
Dremio ensures that this experience is not only accurate but also fast:
- Reflections materialize optimized versions of queries and datasets.
- Autonomous reflections adapt automatically to query patterns, removing manual optimization.
- Sub-second performance means agents can power real-time conversations with business data.
For example, when an agent surfaces regional sales metrics, it’s not waiting minutes for the answer, it’s leveraging reflections for instant responses.
Why This Matters for Agentic Analytics
Agents powered by Dremio’s MCP server don’t just retrieve data; they deliver trusted, governed insights:
- SQL queries provide technical depth.
- Semantic search provides business context.
- Reflections provide speed.
Together, these features transform agents from “data fetchers” into business copilots capable of delivering consistent, accurate, and real-time analytics.
Conclusion
The future of AI-driven analytics isn’t about choosing between SQL and semantics, it’s about combining them. Dremio’s MCP server provides the best of both worlds, enabling agents to query, discover, and interpret enterprise data with confidence.
With the semantic layer providing governance and reflections ensuring performance, Dremio empowers enterprises to unlock agentic analytics that are both business-friendly and lightning fast.
See Dremio’s Intelligent Lakehouse Features First Hand by Signing up for a Workshop.