Why an agent needs quality results, not just descriptions
An agent that answers from a table trusts the table. It cannot know the load failed at 3am or that a column went null on Tuesday unless something tells it.
DataKitchen’s blog post Context As Infrastructure names data quality and freshness as one of six categories of AI context. Its framing: “A data catalog records what exists; context records what it means.” If a table’s quality score is below your threshold, or a column failed recent checks, the AI should caveat any answer from that data. That state changes with every load and test run, so it has to come from the tool that runs the tests.
What the vendors announced
Collibra’s documentation shows how to connect ChatGPT to the Collibra MCP server as a custom plugin, where ChatGPT discovers tools “including search, lineage, and glossary”. Each user signs in with their own Collibra credentials (OAuth 2.0). The page does not mention data quality, though Collibra sells a separate Collibra Data Quality and Observability product.
DataHub Cloud Context reached general availability on October 28, 2026. It adds domain-scoped context management, evals that check whether agent answers still meet expected answers, and agent feedback over MCP. The announcement does not mention data quality. On November 12, 2026, DataHub and BigID announced a connector that brings BigID classification and sensitivity findings into the DataHub catalog, in DataHub Core and DataHub Cloud. Catalogs pull in other tools’ findings.
Collate 2.1, announced November 17, 2026, added Ontology Studio, exposed to agents through Collate’s MCP server. Agents can follow graph relationships to see whether an asset carries data quality tests, and Audit Hub scores metadata against standards that include a data quality dimension. Knowing a table has tests is different from knowing whether they passed this morning.
At dbt Summit on September 16, 2026, dbt v2 became generally available and surfaces “errors, column checks, and lineage before anything runs”. The Fivetran Context Layer, in private beta, is reachable through MCP. dbt tests are real context about intent, but they cover only the rules someone wrote.
On November 17, 2026, at Microsoft Ignite, Informatica made its catalog, glossary, lineage, quality indicators and governance context available in Microsoft Copilot and Teams (generally available). Its headless MCP server in Microsoft Foundry is also generally available. That brings quality indicators to an agent, for Informatica customers.
DataKitchen’s comparison page describes Atlan as an active metadata catalog with embedded data quality and a Model Context Protocol layer for AI agents.
Two MCP servers, one agent
Connect the agent to the catalog’s MCP server for meaning: glossary, lineage, ownership. Connect it to the data quality tool’s MCP server for current state: latest test results, scores, open hygiene issues and monitor events.
Then give the agent one instruction. Here is a version you can paste and adapt:
Before you answer from a table, look that table up in TestGen and read its latest test results, quality score and open hygiene issues. Check when its last test run happened. Match the catalog’s table to the TestGen table using [your mapping rule for schema, casing and connection]. If the score is below [your threshold], the last run is older than [your threshold], you are not sure you have the same table, or TestGen has no result for it, caveat the answer or stop.
The instruction is advisory: the model follows it, and nothing enforces it. Put it in the agent’s system prompt or project rules, and keep TestGen’s scheduled profiling and test runs going, or the context goes stale. The read-only role is what stops the agent from changing anything; source data protection in TestGen Enterprise keeps sample rows from reaching the model.
This needs no integration between the two vendors, because the agent decides which server to ask. It does need a table mapping you write down: which catalog table matches which TestGen connection, schema and table. A miss is easy to spot. A wrong match is worse, because it returns a healthy score for a different table and the agent goes ahead with confidence.
What TestGen exposes over MCP
DataKitchen’s DataOps TestGen is open source (Apache 2.0), with a web UI where engineers, data stewards and business users see profiles, tests, monitors and results. It generates tests from a profile of your data, so nobody hand-writes YAML or Python to get coverage. It flags 32 kinds of data hygiene issue on every profile.
The MCP endpoint is the TestGen API URL plus /mcp, which is http://
- Investigate quality issues: 27 tools
- Browse profiling results: 17 tools
- Track data quality scores: 6 tools
- Browse monitor health and events: 16 tools
Six prompts ship with it, including health_check, investigate_failures, hygiene_triage and table_health.
In a session DataKitchen published in July 2026, one question to Claude returned a quality score of 78.9. The follow-up surfaced 30 hygiene issues that no test covered. Those 30 are issues that profiling found in that session’s data, not the 32 kinds of issue TestGen checks for.
Keep the agent’s access narrow
Every tool runs under the signed-in user’s TestGen role. For a context-only agent, sign it in with a read-only role. In TestGen Enterprise, that means Business or Catalog. The Analyst role sees PII redacted.
TestGen runs profiling and tests as read-only SQL inside your database and keeps results in a PostgreSQL database you host. The agent receives what its tools return, and that can include sample rows (get_source_data, get_table_sample), which then go to the model behind your client, unless you turn on source data protection in TestGen Enterprise. For the full picture, see what data leaves your environment.
Pushing scores into the catalog
Some teams want the score on the catalog page too, for people and for agents that only talk to the catalog. With no prebuilt connector, that is a small scheduled job you write. TestGen stores every definition and result in one PostgreSQL database you host, and it has a REST API. The job reads the latest scores and writes them to the catalog’s API as a property or tag on each table. Have it alert when it fails, because a failed run leaves an old score looking current.
The weakness is freshness: the catalog copy is only as current as the job. When the agent decides whether to trust a table, use the MCP route. It reads results at query time, though they are only as current as the last TestGen run.
How the approaches compare
| Approach | What the agent sees | Freshness | Fit |
|---|---|---|---|
| Catalog MCP alone | Descriptions, glossary, lineage | As fresh as the catalog’s metadata | Meaning and discovery |
| dbt tests as context | The rules defined in the project and their last run | Fresh as of the last dbt run | Teams already in dbt |
| Push scores into the catalog | A score property on each table | As fresh as your sync job | People browsing the catalog |
| Data quality MCP next to the catalog MCP | Current results, scores, hygiene issues and monitor events, under the user’s role | Read at query time; as current as the last TestGen run | Agents that decide whether to use a table |
Next steps
Install TestGen. For the setup steps, see how to use the TestGen MCP server with Claude, Cursor and Copilot. For how vendors’ MCP servers compare, see the best data quality and observability tool for AI assistants and agents.