A tool connection is only the beginning
An agent can discover a tool and still use it incorrectly. It may select the wrong account, repeat a completed operation or act on instructions found in untrusted content. Reliability requires a contract for the action and a way to determine what happened.
MCP standardises parts of the client–server interaction. It does not establish a universal latency, automatically coordinate a collection of agents or grant business authority. Pin the protocol and SDK revisions used by each component.
Trace the actor to the resource
Write down who requested the task, which tenant it belongs to and the permissions delegated to the tool. Validate the target resource at the service that performs the operation. A gateway check cannot replace every downstream decision.
The MCP authorisation specification covers HTTP-based transports and defines how clients obtain and use access tokens. Its scope should be checked for the chosen revision. Protect tokens according to their recipient and lifetime; do not pass an unrelated credential through a chain of tools.
Separate a suggestion from an approved action
Untrusted documents and tool responses can help answer a question without becoming permission to change a system. Treat the model’s proposed operation as input to an independent policy decision.
For consequential actions, approval should identify the actual target and arguments. A change in recipient, account or operation meaning calls for a new decision. Keep production credentials outside the model’s ordinary context where the architecture permits that separation.
Make retries safe at the business boundary
A lost response leaves the client uncertain; it does not prove the operation failed. Reconcile the original operation before creating another. Stable identifiers and a durable result record help connect attempts with the same business intent.
Test repeated calls, changed arguments under the same identifier and a retry after access is withdrawn. The service should preserve current access checks when returning a stored result. Recovery must not expose an earlier user’s data under a later session.
Evaluate the workflow you intend to operate
Run useful tasks as well as rejection tests. Record completion, incorrect actions, intervention and recovery effort. A system that blocks everything is not a successful assistant.
Start with narrow, reversible permissions. Expand the scope only after observing the actual failure paths and documenting who can stop or reverse an action. The related research on agent and mobile API security develops these boundaries in more detail.



