An AI data readiness audit checks whether your data schemas, permissions, lineage and operating controls are safe and clear enough for AI agents to use. Start with one business use case and its required data, then test the full path from the end user to the database and back. For help scoping that work, see our AI strategy and solutioning service.
This is not a demand to fix every system or migrate your warehouse before starting. It is a way to find the specific data and control gaps that could make an agent return the wrong answer, expose information to the wrong person, or take an action you did not intend. The checklist below is designed for Heads of Data, engineering leaders and security teams preparing relational databases, warehouses or operational APIs for agent tooling.
The central test is simple: could a person who does not know your organisation's unwritten rules use the proposed tool safely? People often infer what an ambiguous field means, know which table is stale, or remember that a particular customer record is restricted. An AI agent will not reliably infer those rules unless you make them explicit and enforce them in the system. Martin Fowler's practitioner discussion of making data ready for agentic AI makes a similar point: agents need reliable context, not merely access to more data.
How to run this AI data readiness audit
Run the audit against a defined workflow, not your entire data estate. For example, a support agent that explains an order status may need customer, order and shipment data, while a finance agent reconciling invoices needs a different set of sources, rules and permissions. Those distinctions determine what you inspect and what a meaningful pass looks like.
Before the five steps, write a short scope statement. Name the user, the task, the data sources, the actions the agent may take, and what it must never do. Identify the system of record and the system owner for each source. If you cannot name an accountable owner, record that as a finding rather than assuming another team will resolve it later.
Use these labels for each checklist item:
- Pass: evidence shows the control works in the environment the agent will use.
- Conditional: a gap exists, but the use case can proceed with a documented workaround and an owner.
- Fail: the agent could make a materially incorrect decision, cross a permission boundary or perform an unauthorised action.
- Not in scope: the source or capability is excluded, with a reason and a technical control that prevents access.
A policy document alone is not evidence of a pass. Look for the configuration, test result, query log, lineage record or approval that demonstrates what happens at runtime. Keep the evidence with the finding, along with an owner and a target date.
Step 1: Are the relational schemas understandable and constrained?
The first step is to check whether a model can identify what the data means and how tables relate without relying on tribal knowledge. Text-to-SQL means translating a natural-language question into a database query. That translation becomes unreliable when column names are cryptic, relationships are implicit or business calculations exist only in application code.
A good schema does not have to be perfectly designed. It does need explicit, stable relationships and enough descriptions for an agent to select the right source and calculate the right answer. Review the precise tables and views required for the scoped task, then follow the checklist.
- List every table, view and API field the use case needs. This prevents the team from treating broad database access as a substitute for knowing which data supports the task.
- Name a business and technical owner for each source. An owner can confirm meanings, resolve disputes and tell the team when a source or field changes.
- Check that each core entity has a primary key or an equivalent declared identifier. Without a stable key, an agent or query may confuse duplicate records or fail to join related rows consistently.
- Verify foreign keys and other relationships in the schema. If joins are known only through application code or a developer's memory, document them in a governed view or a formal relationship definition before exposing them.
- Inspect data types for dates, amounts, identifiers and status fields. A value stored as free text may compare or aggregate differently from what the business meaning implies.
- Replace unexplained abbreviations with human-readable descriptions in comments or catalog metadata. A label such as
cust_stat_cd_02does not tell a model whether it represents a current status, a historical code or a value used for a different process. - Document null, empty and default values for fields used in decisions. An empty field might mean unknown, not applicable, not yet received or deliberately withheld; those meanings are not interchangeable.
- Trace business metrics to their approved calculation. Record filters, time windows, exclusions, currency treatment and aggregation rules so an agent does not invent a definition for terms such as active customer or overdue invoice.
- Compare a sample of results with a trusted report or manually checked records. This tests whether the documented joins and definitions return the answer your business users expect.
- Check for duplicate, orphaned and contradictory records in the relevant sources. Record known limitations and decide whether the agent should flag uncertainty instead of presenting a single confident answer.
- Identify sensitive fields at column level. Names, contact details, account identifiers and free-text notes can carry different risks from the surrounding table, so a table-level label may not be enough.
- Record schema changes that could break the tool. Confirm how teams communicate field renames, type changes and table deprecation, and who updates the agent's approved query path.
Next, decide whether the agent should see raw tables at all. In many cases, it should query a smaller semantic layer: a curated interface that gives business concepts consistent names and definitions. A semantic layer can be implemented with governed views, a metrics system or another approved data product. It is not a magic fix. The underlying definitions still need owners and tests.
- Expose only the views or metrics needed for the task. Narrow interfaces reduce the number of possible joins and make the agent's available choices easier to test.
- Give each certified metric a definition and example. Include what it counts, its grain, its time basis and known exclusions so a model does not combine unlike measures.
- Test common questions and ambiguous questions separately. A useful evaluation includes requests the agent should answer, requests it should clarify and requests it should refuse.
- Check query behaviour on edge cases. Test missing dates, duplicate entities, unusual status values and records that cross reporting periods, not only clean sample data.
For more context on preparing operational data for AI, see Striim's overview of AI-ready data and Zoolatech's data readiness assessment. Use them as supporting perspectives, not as a substitute for checking your own schema and business definitions.
Step 2: Can the database enforce the right access for every user?
An agent can become a confused deputy when it has broad permissions and uses them on behalf of someone who has narrower access. The problem is not solved by telling the model to be careful. The application may receive a request from a user who cannot access a particular row, while the database connection used by the agent can read it.
The audit should follow identity through the whole chain: user sign-in, agent session, tool call, database connection and returned result. A control passes when the database or a trusted enforcement layer reliably applies the right permissions for that user and action. A prompt instruction is not an access-control boundary.
- Draw the identity path from user to data source. Record which identity each component sees, where it is authenticated and how it is passed to the next component.
- Check for shared, over-privileged service accounts. A single account with broad access can erase distinctions between users and make it hard to contain a compromised or misconfigured agent.
- Use least privilege for each tool connection. Grant only the operations and data needed for the stated task, and avoid administrative credentials in agent execution paths.
- Verify row-level security with real user roles. Row-level security (RLS) means the database filters rows according to policy; test that different users receive only the rows their role permits.
- Test the same request under different identities. A query that is safe for one team may return restricted records for another, so test the actual permission boundary rather than relying on role names alone.
- Apply masking or omission to sensitive columns before model access. The model should not receive personal or confidential information when the task does not require it.
- Check free-text fields for embedded sensitive data. Notes and descriptions can contain information that is not reflected in the table's formal classification.
- Define what happens when identity is missing or cannot be verified. The system should fail closed, meaning it denies access rather than silently switching to a broad fallback identity.
- Test indirect access paths. Confirm that cached results, exports, embeddings, logs and intermediate services do not bypass the source system's restrictions.
- Review permissions when a user changes role or leaves. Sessions, cached context and long-running tasks must not continue using access that has been withdrawn.
- Record how third-party model and tool providers handle submitted data. Confirm the relevant service configuration, retention terms and approved data boundaries before sending sensitive inputs.
- Check that permissions are reviewed when the use case changes. A tool that begins by reading order status may later be asked to issue refunds, which requires a different access decision.
A practical test is to create a set of synthetic or approved test records with distinct access labels. Then ask the agent, using different user identities, to retrieve both permitted and restricted records. The expected result is not merely that it refuses a request in chat. Confirm that restricted rows never reach the model context or tool response in the first place.
The Redgate guide to securing MCP servers and database access discusses access boundaries for tool-connected databases. The specific design will depend on your database, identity provider and execution architecture, but the audit principle is consistent: enforce permissions outside the model's natural-language instructions.
Step 3: Can you establish lineage, certification and freshness?
Lineage describes where data came from and how it was transformed. For an agent, it helps answer whether a source is current, approved and appropriate for the question. A table can be technically queryable while being a stale replica, an abandoned staging copy or a feed that has not passed business validation.
Inspect lineage at the level that matters to the task. Table-level lineage may show the broad path, but a critical metric can depend on a particular column and transformation. A useful audit also checks whether the agent's tool can use this metadata to select or reject sources, rather than leaving it as a diagram that nobody consults.
- Trace each output field back to its source and transformations. This makes it possible to investigate a result and identify where a wrong value entered the pipeline.
- Confirm that the lineage record is generated or maintained as part of normal delivery. Manually maintained diagrams can become inaccurate when pipelines and schemas change.
- Mark approved sources clearly in a catalogue or governed interface. Certification should identify who approved the source, what use it supports and when it was last reviewed.
- Label raw, staging, replica and deprecated datasets distinctly. Clear status metadata helps prevent an agent from treating a convenient but untrusted table as the authoritative source.
- Restrict discovery to certified sources where the use case requires it. If the tool can search every table, a certification label that the tool ignores offers little protection.
- Check that important joins and calculated fields appear in the lineage. Missing transformation detail makes results harder to verify and can conceal where a business rule was applied.
- Set a freshness expectation for each required source. Define what current means for this workflow, rather than using one estate-wide threshold for sources with different update patterns.
- Expose a machine-readable last-updated value or watermark. The tool needs a dependable signal to distinguish current data from a delayed or incomplete load.
- Test the response when a pipeline is late or incomplete. The agent should say that the source is unavailable or stale, not fill the gap by presenting an unsupported conclusion.
- Record known lag between the source system and the agent's query path. Users need to understand whether a result reflects a live system, a scheduled refresh or a historical snapshot.
- Check how corrections and deletions propagate. A record removed from a source may persist in a replica, cache or derived dataset if the update path is incomplete.
- Assign owners for lineage gaps and stale-source findings. A finding without an owner tends to remain an undocumented risk rather than becoming a controlled limitation.
For a practical view of how lineage supports AI data use, review DataHub's explanation of AI-ready data lineage. Use the audit to identify which metadata your agent needs at decision time, such as certification, owner and freshness, rather than collecting lineage for its own sake.
Step 4: Are tool execution and database operations bounded?
An agent tool is the interface through which a model requests data or an action. Model Context Protocol (MCP) is one standard for connecting AI applications to tools and data sources. Whatever protocol you use, the important questions are what the tool permits, whose authority it uses and what happens when the model produces an unexpected request.
Production agents should not have an unrestricted path to execute arbitrary SQL against a transactional database. A safer design exposes specific, parameterised actions or read-only queries with explicit limits. Parameterised means values are passed separately from the query structure, reducing the risk that input is interpreted as executable SQL.
- Inventory every tool, endpoint and database operation available to the agent. This establishes the actual capability set, including functions added through frameworks or middleware.
- Separate read operations from write operations. A component that answers questions should not inherit the ability to update records simply because both use the same database connection.
- Use allowlisted queries, prepared statements or narrowly scoped procedures. These constrain the operations the model can request and make them easier to review than free-form production SQL.
- Bind user-provided values as parameters. Do not concatenate natural-language input into executable query text.
- Set query timeouts and resource limits. Limits protect production services from expensive, unbounded or accidentally repeated queries.
- Set sensible result limits and pagination rules. Returning an entire table can expose too much data, overload the service and bury the useful answer in excess context.
- Block destructive and administrative operations by default. Confirm that commands such as dropping objects, deleting records or changing permissions are not available through a general-purpose agent tool.
- Run read workloads against an appropriate replica or governed query layer when suitable. This can reduce pressure on transactional systems, but the replica still needs current permissions and freshness signals.
- Define how the tool handles ambiguous requests. When an action could refer to multiple accounts or records, the agent should ask for clarification rather than choose silently.
- Require a separate approval step for consequential writes. The system should show the proposed change, the target record and the approving identity before execution.
- Make write actions idempotent where possible. Idempotency means repeating the same request does not create duplicate effects, which helps contain retries and timeouts.
- Test timeouts, retries and partial failures. A request that fails after a database commit can otherwise be retried and produce an unintended second action.
- Keep tool responses structured and minimal. Return the fields needed to complete the task, with status and error information, rather than dumping broad database records into the model context.
- Version tool definitions and keep a change history. A changed parameter or permission can alter agent behaviour, so changes need review and regression tests.
- Test for prompt injection through data. Records, tickets and documents can contain instructions that the model should treat as untrusted content, not as authority to change its task or permissions.
Use a test harness that records the request, tool selected, parameters, database result and final response. Include ordinary cases, malformed inputs, requests outside scope, access denials, timeouts and retry behaviour. The goal is not to prove that a model never makes a mistake. It is to show that a mistake remains bounded and recoverable.
PADISO's AI agents and automation service covers agent design, tool use and production controls. If you are building a tool integration, our MCP server development service can help define the server boundary and permitted actions.
Step 5: Can you demonstrate governance, compliance and observability?
The final step checks whether the organisation can explain what the agent accessed, what it returned and who was responsible for the request. Observability means collecting enough runtime information to detect, investigate and improve system behaviour. It should support both technical incident response and business review.
In Australia, regulated organisations should map the proposed system to their existing security, privacy and operational-risk obligations with their legal, risk and compliance teams. Do not treat a model vendor's general assurance as proof that a particular workflow meets your organisation's obligations. Classification should follow the data through connectors, prompts, logs, caches and any derived representation, including embeddings.
- Document the purpose for each data source and each agent action. A clear purpose helps teams decide whether a field is necessary and whether a new use requires another review.
- Map the data classification across the complete flow. Include source tables, tool responses, model context, traces, caches, evaluation datasets and support systems.
- Review external model and service settings with security and privacy owners. Check the applicable retention, processing and training terms for the exact service and configuration in use.
- Record the approved operating boundary. State what the agent may answer, what it may change and which requests must be escalated to a person.
- Log the user identity, session, tool call and data source. These details allow investigators to connect an answer or action to the person and system that initiated it.
- Log the query or structured action and its outcome. Capture enough information to reconstruct what the tool did, while applying appropriate protections to sensitive log content.
- Record timestamps, status, latency and error information. These signals help distinguish a model-quality issue from stale data, a failed query or a slow service.
- Protect logs against unauthorised alteration and access. Logs can contain sensitive operational details, so retention, access and integrity need their own controls.
- Define alert conditions for abnormal activity. Examples include access denials, unusual query volume, repeated timeouts or calls to an operation outside normal use.
- Set a retention and deletion policy for traces and evaluation data. Keeping everything indefinitely creates risk, while deleting too quickly can make incident investigation impossible.
- Create an incident path for incorrect answers and unauthorised access. Specify who can disable a tool, revoke credentials, notify affected teams and preserve evidence.
- Document fallback behaviour when the agent or source is unavailable. A manual process or a clear service-unavailable response is safer than silently relying on stale data.
- Review the system after material changes. A new data source, model, permission, tool or workflow can change the risk even when the original audit passed.
- Assign an accountable owner for ongoing control operation. Governance is not complete if no team is responsible for reviewing access, logs, incidents and source changes.
For financial services and other regulated settings, connect this work to the organisation's existing control framework rather than creating an isolated AI checklist. PADISO's AI work for financial services and AI work for insurance are relevant where agent tooling touches sensitive customer or operational data. The required review depends on the institution, use case and applicable obligations.
Readiness matrix: what counts as a pass?
Use this matrix to summarise results for the scoped use case. A finding marked fail should block production access until the risk is removed or the scope is changed. A conditional result needs a named owner, an expiry or review date, and a clear explanation of what prevents the known gap from causing harm.
| Area | Pass evidence | Red flag |
|---|---|---|
| Schema and meaning | Declared relationships, documented fields and tested business definitions | Unexplained abbreviations, implicit joins or conflicting metric definitions |
| Access | Permissions tested for real identities at the data boundary | Shared administrator credentials or access controlled only by prompt instructions |
| Lineage and freshness | Approved sources, traceable transformations and verified freshness signals | Agent can query stale, staging or deprecated data without warning |
| Tool execution | Narrow, parameterised operations with limits and approval for consequential writes | Free-form production SQL or unrestricted write access |
| Governance and telemetry | Traceable user, tool, source and outcome with an incident process | No reliable record of what the agent accessed or changed |
A pass is specific to a use case, environment and date. It does not certify every dataset or future agent. Keep the scope statement with the results so nobody interprets a narrow approval as blanket permission to connect additional tools.
What should the audit deliver?
The audit should produce a small set of artefacts that engineering, data, security and business owners can use to make a decision. Avoid a report that only describes problems. Each finding should say what could go wrong, what evidence supports the finding, who owns it and what decision is needed.
- Scope and data map: the workflow, user groups, sources, tools and actions included in the review.
- Evidence register: links or references to schema definitions, access tests, lineage records, runtime settings and other proof.
- Findings list: each gap classified by impact, likelihood in the workflow and the practical control needed to address it.
- Decision log: what can proceed, what is conditional, what is excluded and who accepted any residual risk.
- Test plan: repeatable cases for permissions, freshness, query behaviour, tool failures and business correctness.
- Ownership plan: named people responsible for remediation, approvals and future review.
Prioritise findings by how they affect the selected task, not by how untidy a system looks in general. A confusing field that the agent never uses may be lower priority than a small permission flaw that exposes every customer's records. If a gap can be removed by narrowing the tool's scope, that may be quicker and safer than a broad platform remediation.
A practical four-week audit sequence
The actual timing depends on access to systems and people. This sequence is a planning aid, not a promise that every environment can be audited in four weeks.
- Week one: scope and evidence collection. Agree on one workflow, identify owners, map required data and document the current agent or proposed tool path.
- Week two: schema and lineage checks. Validate keys, definitions, source status, transformations and freshness for the selected data.
- Week three: access and execution tests. Test identity propagation, denied access, query boundaries, timeouts, read-write separation and approval paths.
- Week four: findings and decision. Review evidence with data, security and business owners, assign remediation, and decide whether to proceed, narrow the scope or stop.
At the end, do not ask only, "Is our data ready for AI?" Ask, "Is this workflow ready to use these specific sources through these specific tools under these specific permissions?" That question produces a decision a delivery team can implement and a risk owner can review.
Where PADISO fits
We help teams scope AI use cases, design agent and tool boundaries, and strengthen the platform controls that support production use. The first step is to map one workflow to its data sources, permissions and actions, then agree what evidence would count as ready. Learn more about our AI strategy service or take the AI readiness test to identify where to start.