A convincing summary can hide an incomplete collection
Consider a hypothetical Philippine support manager asking which unresolved cases need attention before a long weekend. The connector returns a page of cases and the assistant writes a confident summary. Every quoted case may be real while the answer still omits urgent cases on later pages. This is a retrieval failure that better wording cannot fix.
Kooya recommends treating “all” as an explicit acceptance condition. Decide which workspace, status, date range and permission scope the request covers. Then require the connector to report whether it reached the end of that collection. A result may be complete within the caller’s access without representing the entire company.
Follow the service’s continuation mechanism
Microsoft Graph documents an @odata.nextLink URL when more pages are available. Applications should follow that complete URL until the service no longer returns it. The documentation also warns that page-size behaviour varies by API and that a page can contain zero results. An empty page alone is therefore not a universal stopping rule.[1]
GitHub’s REST documentation uses Link response headers to expose additional pages, including a next-page relation where applicable. Increasing per_page does not eliminate the need to paginate. The relevant endpoint documentation remains the authority for its supported controls.[2]
Keep this behaviour in the integration code rather than asking a language model to invent page URLs. The connector should return records alongside a small coverage report that the assistant can explain.
Make partial completion visible to the operator
For each run, retain the requested filters, start and finish times, pages successfully read, unique records collected and the reason retrieval stopped. Distinguish a completed scan from a timeout, permission error, budget cap or deliberate sample. Those are different states even when each produces a useful paragraph.
A suitable partial answer might say: “I reviewed the records retrieved so far; the remaining pages have not been checked.” Do not turn an interruption into a claim that no further urgent cases exist. Where the task may trigger action, require a person to accept the narrower scope before proceeding.
Test boundaries rather than the happy first page
Build a synthetic collection with known identifiers and place important test records beyond the first page. Include an empty intermediate response when supported by the API contract, a repeated record, a failed later request and records that the caller cannot access. Compare the returned identifier set against the expected accessible set.
Separately test changing data. If records can be created or reordered during a scan, ask whether the provider offers snapshot or change-tracking semantics. Do not promise a point-in-time inventory unless the integration can support it. Recording the scan interval is more honest than silently presenting a moving collection as a frozen ledger.
Keep completeness and summarization as separate checks
After retrieval, reconcile identifiers before asking the model to group or summarize. Deduplicate by a stable business identifier where appropriate, retaining the original records for inspection. Then check whether the narrative faithfully reflects the retrieved data. A complete dataset can still produce a poor summary; an excellent summary can still describe an incomplete dataset.
For procurement, request a demonstration with enough test records to cross several pages and deliberately interrupt the scan. The useful result is not merely a longer answer. It is a system that tells the operator what it has checked, what remains unknown and what must happen before anyone acts on the result.
Once retrieval is complete, review the exact scope before letting AI change records.

