What you will take away
- Separate diagnosis, proposals and execution with different permissions.
- Require approval for the specific action and verify it again during execution.
- Design idempotent retries and limits on cost, duration and scope.
- Treat MCP as a connection protocol, not an automatic security guarantee.
From suggesting SQL to operating a process
The discussion about data agents in October 2026 should focus on verifiable decisions. A model that queries metrics, compares schemas and proposes a mapping can reduce investigation steps. A model that deletes records or reloads a table introduces different consequences. OWASP calls the risk associated with unnecessary functions, permissions or autonomy excessive agency [1]. The starting point is a useful case with limited tools, not general access to the platform.
Small tools and verifiable permissions
- Provide read access to the metrics and metadata required; avoid credentials with administrative privileges.
- Expose specific operations with validated parameters, rather than an unrestricted SQL console or shell.
- Define the authorized tenant, destination and resources on the server, without delegating their unrestricted selection to the model.
- Separate read and write credentials, and keep secrets out of prompts, documents and traces.
- Reject instructions from files, tickets or tool results as authority to expand permissions.
MCP standardizes interaction with tools and resources, but each server needs authentication, authorization and a trust review. Its security recommendations address risks such as the confused deputy and prohibit indiscriminate token passthrough [3]. An available connector does not imply that all its actions are appropriate.
Example: diagnosing a failed sales load
A CSV → staging → SQL Server flow fails because the sales date arrives in a different format. The agent inspects the error and an anonymized sample, identifies the incompatibility and proposes a transformation. A simulation on a bounded copy reports accepted and rejected rows and modified fields. An owner reviews that result and approves the exact proposal version. The executor checks the destination, version and authorization before applying the change. This is an architecture example, not automation already available in Dova.
A retry must not duplicate a load
Define an idempotency key representing the business operation, such as dataset, batch and version. The executor records its state and returns the existing result when the same request is repeated. This requires a constraint or atomic coordination; checking first and writing later leaves a race between workers. A simulation validates a proposal, but it does not guarantee that production state remains unchanged when it executes.
- Check preconditions and the resource version at execution time.
- Limit rows, time, calls and spending per operation; stop the process when its budget is exceeded.
- Define reconciliation or compensation when an external operation is not transactional.
- Store the result and distinguish failure, success and uncertain state before retrying.
Evaluate the complete process
Measure useful diagnoses on reviewed cases, proposals corrected by people and time to a verified resolution. Add tests for rejecting actions outside scope, expired approvals, duplicates and malicious content. Risk management should accompany system design, deployment and use, as proposed by NIST [4].
| Control | Useful evidence |
|---|---|
| Permissions | The executor rejects prohibited operations even when the model requests them. |
| Approval | The approved proposal matches the executed action. |
| Retries | Repeating the same operation produces no new business effects. |
| Operation | Latency, cost, human escalation and verified recoveries. |
A pilot that can be stopped
- Start with read-only diagnosis and a bounded set of incidents.
- Test proposals in a separate environment before enabling execution.
- Document owners, authorizations and trace retention rules.
- Rehearse credential revocation, cancellation and recovery from uncertain results.
- Enable writes only after demonstrating controls and agreeing limits with the process owner.
Dova provides mappings, workflows, sessions, workers and monitoring for data integration. This article explains how to design an agent layer around a data process; it does not attribute operational autonomy, MCP compatibility or the controls described to Dova without specific validation.
Questions worth asking
Should an agent receive unrestricted SQL access?
For a pilot, it is preferable to expose bounded queries or operations and validate their parameters. The executor account must prevent actions outside the authorized scope.
Is a chat confirmation enough for approval?
It should be linked to a specific operation and verified by the executor. An ambiguous message does not define the destination, version or scope.
Does MCP prevent instruction injection?
No. Connecting tools requires checking trust, permissions, inputs and results. Received content should be treated as potentially untrusted data.
Where Dova fits
Explore Dova's available data integration features in its product information and documentation. Discuss your AI use case with Cloudata to define the data, integrations and controls it needs.
Sources & further reading
- LLM06:2025 Excessive AgencyOWASP Gen AI Security Project · Accessed
Official guidance on excessive functionality, permissions and autonomy, including least privilege and human approval. The source edition is 2025.
- Safety in building agentsOpenAI · Accessed
Official guidance on untrusted inputs, structured outputs, tool approvals and evaluation.
- Security Best Practices - Model Context ProtocolModel Context Protocol · Accessed
Official security documentation reached from the latest-specification URL, including confused deputy and token passthrough risks. The path identifies the documentation version, not a claimed October announcement.
- AI Risk Management FrameworkNational Institute of Standards and Technology · Accessed
Official voluntary framework for incorporating risk and trustworthiness considerations throughout AI system design, development, use and evaluation.
Practical guidance for the October 2026 edition. Sources support the technical principles; examples are illustrative, not product announcements or customer results.