An agent can expose internal data through outbound tool calls. Dynamic MCP tool discovery can also add unvetted tools without notification, while each call may create a new data-processing relationship. A purpose lock encodes strict limits on the purposes for which the agent may process data and use tools. section 5.6.1
Enforce the limits with a purpose-aware egress gate that checks every outbound tool call before data leaves the system. OPA can decide whether a call is allowed, but does not intercept or block it; a separate enforcement point is required. Configure the gate to fail closed when no rule permits a call. section 5.6.1
Before permitting a tool call, check:
- Whether the proposed use matches the purpose for which the data was collected. section 5.6.1
- Whether the data fields sent are necessary for that purpose. section 5.6.1
- Whether the destination tool or region is permitted. section 5.6.1
