CData Connect AI’s MCP row count can be lower than the total number of matches
The November 13 update reports how many rows the tool returned and warns when more match. To get a total, ask for an aggregate rather than counting the returned rows.
An analyst asks, “How many orders are still open?” An AI assistant runs a query that lists open orders, then reads the number of rows in the response. That is the wrong number to report if the response says more rows match. CData’s November 13 Connect AI release notes say the MCP server’s query and metadata tools now report how many rows they returned. When a result reaches the plan’s row limit, the response says that more rows match. The count describes the response, not necessarily the full result of the query.
Ask for the count, not the list
CData’s MCP server documentation describes queryData as the tool for running SQL SELECT statements. If the user wants a total, the assistant can ask the source for an aggregate instead of counting the rows it receives. In a hypothetical orders dataset with one row per order, that would mean issuing COUNT(*) with the same open-status filter and reading the aggregate value. If that query returns one row containing the aggregate, one is the number of rows delivered, not the number of open orders. The aggregate is only as good as the filter and the assumption that each input row represents one order.
If the user wants both a total and examples, request those separately: use the aggregate for the total and the row-returning query for the examples. When the latter reports that more rows match, label it as a partial list. The same distinction matters during schema discovery: if a metadata response says more rows match, the assistant should not treat the returned list as an exhaustive inventory. These are client-side practices, not behaviors CData says every connected assistant follows.
What the update does not establish
The release entry describes the row count and the warning; it does not specify a machine-readable field or promise that a client will fetch the rest. A useful acceptance test is to run an intentionally broad query on a known dataset, verify that the warning reaches the user, and check that the assistant labels the list as partial rather than turns its row count into a business metric.
sources
- CData Connect AI release notes, November 13, 2026docs.cloud.cdata.com
- CData Connect AI MCP server documentationdocs.cloud.cdata.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026