Grant capabilities for the approved workflow
List the systems and operations the agent actually needs. Separate read access, draft creation, modification and irreversible actions. Use the narrowest practical permissions and restrict destinations where possible. A model instruction saying do not modify other records is weaker than a tool that cannot access those records in the first place.
Worked example
Illustrative scenario; not a claim of measured client results.
An agent preparing weekly reports may need to read selected project data and create a draft document. It does not automatically need permission to delete projects, change billing or invite users. Test the integration with an out-of-scope request and confirm that the server rejects it. The rejection should remain effective even if retrieved content asks the agent to broaden its task.
Checks, limitations and next decisions
Review permissions when the workflow changes, and remove obsolete access rather than allowing it to accumulate. Keep credentials outside prompts and public client code. Record which capability supports which requirement so later reviewers can understand the design. Narrow access limits the consequence of both ordinary mistakes and malicious content encountered during an otherwise legitimate task.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Separate read and write capabilities.
- Limit resources and actions to the intended scope.
- Require explicit approval for consequential operations.
A mistake to avoid
Do not grant administrator access just to simplify integration.
How to check progress
Review actual tool usage against granted permissions and remove unused capabilities.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read Choosing an agent when a workflow is not a fixed script.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
