AI tools helped gather research and write the first draft of this article. I edited it and checked every quote and figure against the source page listed at the end, read on 1 December 2026. The cover illustration is AI-generated. Details at the end.
A chat window makes two very different things look alike: saying something and doing something. "What would it cost to send 50 USDC?" and "Send 50 USDC to Sam" are both lines of text, typed in the same box. The first is a question. The second moves money that cannot be moved back. Treat the chat as the place where the assistant understands and proposes, and give every action its own layer, with its own checks, that runs only on an explicit, specific approval. This article explains why that split is natural, what the official documentation says about it, and how to build it.
It continues the earlier article on this site, "When a Workflow Is Enough—and When You Need an Agent". That piece asked who chooses the next step, and in passing set a rule: define the permission before execution and enforce it at the action boundary. This one builds that boundary and asks a narrower question about the same system: once the assistant has chosen an action, what stands between its words and the world? It is about interface and architecture. It is not a security audit and it does not certify any product.
The seam is already in the tool-use contract
Tool calling, as the vendors document it, is already split in two. Anthropic's page on how tool use works puts it this way: "The model never runs anything on its own. It emits a structured request, your code (or Anthropic's servers) runs the operation, and the result flows back into the conversation" [1]. For tools that run in your application, the same page describes a loop in which "the model asks, you execute, you report back, the model continues" [1].
OpenAI's function-calling guide describes the same shape. A function definition "allows the model to pass data to your application, where your code can access data or take actions suggested by the model" [2]. Its five-step flow has the application execute code "with input from the tool call" and send the output back in a second request [2]. The word to notice is suggested. The model suggests; the application decides whether anything happens.
So the separation is not something to bolt on. It is already there, at the point where your code receives a structured request. The design question is what your code does at that point. If it executes every request at once, the chat and the action layer have merged, and a sentence in the conversation has become an action. If it treats the request as a proposal, the seam is useful.
Why a sentence is not a safe trigger
Three things make free text a poor trigger for an irreversible action.
It is ambiguous. Anthropic's tool-use overview notes that when a required parameter is missing, some models ask for it, "But it might also infer a reasonable value" [3]. Its own example shows a weather tool called with a city and a temperature unit the user never gave, and adds: "This behavior is not guaranteed" [3]. A guessed city is harmless. A guessed recipient or amount is not.
It can be manipulated. OWASP's entry on Excessive Agency defines the problem as the vulnerability that "enables damaging actions to be performed in response to unexpected, ambiguous or manipulated outputs from an LLM, regardless of what is causing the LLM to malfunction" [4]. The triggers it lists include hallucination and prompt injection [4]. A model that reads a web page or an incoming message can be steered by text that the user never wrote.
It is not an authorization. OWASP names three root causes: "excessive functionality", "excessive permissions" and "excessive autonomy" [4]. The third has a concrete example: an extension that deletes a user's documents "without any confirmation from the user" [4]. A fluent, confident model answer carries no more authority than a mistyped one.
None of these says models are bad at tool calls. They say that a request produced from text is evidence of what someone may want, and an action needs more than evidence.
A fictional wallet assistant
The following example is invented. Example Wallet is a made-up app; its assistant, the user and the amounts are fictional and only show the pattern.
Mira uses Example Wallet's chat assistant. She types: "Send Sam 50 USDC for the game ticket."
In a merged design, the assistant calls a send function and replies "Done!". If the contact list has two Sams, or the model guessed which one, the money is gone before Mira has read anything.
In a separated design, the same sentence produces a different sequence:
- Conversation. The assistant understands the request and finds two contacts named Sam. It asks which one. This is talk, and it can be wrong, rephrased or abandoned at no cost.
- Proposal. Once Mira picks, the assistant does not send. It returns a structured proposal: action send, token USDC, amount 50, recipient Sam K., network Example Chain, estimated fee. The wallet application validates every field.
- Preview and approval. The interface draws a card from those validated fields, not from the model's prose, with two buttons: Confirm and Cancel. Mira presses Confirm for this one proposal.
- Execution. The wallet runs the transfer under Mira's own permissions, then returns a result: sent, with a transaction reference, or failed, with a reason.
- Report. The assistant tells Mira what the result says, in plain words. It reports the outcome; it does not predict it.
Nothing about step 1 or step 5 is risky. Everything risky sits in steps 2 to 4, and those steps are ordinary application code that the model cannot skip by being persuasive.

Five parts of an action layer
This is a design proposal, assembled from what the documentation recommends. It is not a standard.
1. Narrow actions, not open-ended ones. OWASP advises: "Avoid the use of open-ended extensions where possible (e.g., run a shell command, fetch a URL, etc.) and use extensions with more granular functionality" [4]. A wallet assistant should have send_payment with a fixed schema, not a general "call any contract" tool. OpenAI's guide adds a principle that fits: "Use enums and object structure to prevent invalid states" [2].
2. Let code supply what code knows. OpenAI's guide says: "Don't make the model fill arguments you already know." Its example is a refund tool: define submit_refund() with no parameters and pass the order identifier in your own code [2]. In the wallet, the sender account and the user identity come from the session, never from the model's output.
3. Show the arguments before running. The Model Context Protocol (MCP) specification lists, among the things clients SHOULD do: "Show tool inputs to the user before calling the server" [5]. OpenAI's MCP documentation puts it as: "Review the requested tool and its arguments before approving" [6]. The card in step 3 above is this advice made visible. Drawing it from validated fields means the text the user reads and the call that runs cannot disagree.
4. Bind the approval to one proposal. OpenAI's documentation states that "Each approval applies to one tool call" [6]. A "yes" that stays open for the rest of the session is a standing permission, not an approval. In the wallet, the Confirm button belongs to one card with one amount and one recipient, and a changed amount makes a new card.
5. Enforce permissions where the action runs. OWASP: "Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not" [4]. Under "Servers MUST", MCP's tools page lists "Validate all tool inputs", "Implement proper access controls" and "Rate limit tool invocations" [5]. The assistant's opinion about whether a payment is allowed is never the check.
Not every action needs a button
If every step asks for confirmation, people stop reading the cards. The documentation does not ask for that. The MCP specification says there "SHOULD always be a human in the loop with the ability to deny tool invocations" [5], yet in the same passage notes that "implementations are free to expose tools through any interface pattern that suits their needs" [5]. OWASP scopes its approval advice to "high-impact actions" [4]. OpenAI's own MCP example skips approvals for a public, read-only documentation server, noting that approvals matter "when sharing sensitive data" [6], and says that once you trust a server you "can choose to skip the approvals for reduced latency" [6].
That suggests grading actions by what they can do, as in this proposal:
| Tier | What the action does | Examples | Suggested handling |
|---|---|---|---|
| Read | Looks things up, changes nothing | Check a balance, list a game inventory, summarise an email | Run, show what ran |
| Reversible | Changes something that can be undone | Save a draft, add an item to a wishlist, equip a skin | Run, show an undo |
| High-impact | Moves value, deletes, sends, or cannot be undone | Send a payment, delete an account, sell a rare in-game item, post publicly | Proposal, preview, approval for this call |
The tiers are the author's proposal, not a published scale. Where a given action sits is a judgement for the product team, and it can change: a reversible action with a long undo window is not the same as one with a ten-second window. The same pattern works outside finance. A game assistant can read the inventory freely and propose, but not complete, the sale of a tradable item. A mail assistant can summarise freely; OWASP's own scenario suggests requiring the user "to manually review and hit 'send' on every mail drafted by the LLM extension" [4].
Four mistakes and fixes
1. The "yes" is a chat message. The assistant asks "Shall I send it?", the user types "yes", and the model decides what the yes referred to. Fix: approval is an interface event bound to a specific proposal, not a line the model interprets.
2. The preview is the model's description. The card says "Sending 50 USDC to Sam" because the model wrote it, while the call carries different values. Fix: render the card from the validated arguments that will run, as in part 3 above.
3. Approving everything. Every read gets a prompt, so the real prompt for the payment is clicked through. Fix: tier the actions, and save approvals for the ones that matter.
4. The result goes unreported, or is reported as intent. The assistant says "I've sent it" after a failure, because it never saw the outcome. Fix: send the execution result back into the conversation. Anthropic's handle-tool-calls page describes returning a tool_result with is_error set to true when a tool fails, and warns that Claude "might then call the tool again", so you should "limit how many retries your loop allows" [7]. For a payment, an automatic retry must not turn one approval into two transfers; that deserves its own article, and this one only flags it.

A checklist to copy
For each action your assistant can take:
- Tier: read, reversible or high-impact, and who decided.
- Schema: fixed fields, enums where possible, no field the code already knows.
- Preview: drawn from validated arguments, never from model text.
- Approval: an interface event for one proposal, with a way to cancel.
- Permission check: in the system that executes, using the user's own rights.
- Result: returned to the conversation, errors included, with a retry limit.
- Log: what was proposed, what was approved, what ran.
What this article cannot tell you
It does not say which of your actions are high-impact; the tiers are a proposal and the right line depends on your product, users and law. It does not show that a confirmation step prevents any particular loss: the sources describe recommended controls, not measured outcomes, and none of them reports how often approvals catch errors or how often people click through. It says nothing about the confirmation interface a regulator might require for payments, which varies by place. It covers only the interface and architecture layer. It does not cover prompt-injection defences in depth, memory, routing or output formats, which are separate questions. The wallet and its numbers are invented, and no real product was tested.
How this article was made
| Task | What the AI did | What a person did | How it was checked |
|---|---|---|---|
| Research | Gathered candidate sources and drafted notes | Chose the question and which pages to rely on | Every quote checked against the raw text of the page named in the sources, read on 1 December 2026 |
| Draft | Wrote the first draft from the notes | Edited the text, the example and the proposal | An independent review compares claims with the sources before publication |
| Images | Generated the cover illustration | Chose and checked it | Labelled as AI-generated in the disclosure line and alt text |
| Not done by AI | — | The decision to publish and responsibility for the text | — |
Conflicts of interest: none. The author has no commercial relationship with the organisations named here.
Responsible for this article: Dmitriy Lastovka, author. Corrections: contact form.
Sources
Labels: documentation (a vendor's developer documentation), specification (a published protocol), guidance (a published security project). Quotes are as on the pages read on 1 December 2026.
- Anthropic, Claude Platform Docs, "How tool use works". https://platform.claude.com/docs/en/agents-and-tools/tool-use/how-tool-use-works Documentation.
- OpenAI, API docs, "Function calling" guide. https://developers.openai.com/api/docs/guides/function-calling Documentation.
- Anthropic, Claude Platform Docs, "Tool use with Claude" (overview). https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview Documentation.
- OWASP Gen AI Security Project, "LLM06:2025 Excessive Agency". https://genai.owasp.org/llmrisk/llm062025-excessive-agency/ Guidance.
- Model Context Protocol, specification version 2026-07-28 (latest on the read date), "Tools". https://modelcontextprotocol.io/specification/2026-07-28/server/tools Specification.
- OpenAI, API docs, "MCP and Connectors" guide (section "Approvals"). https://developers.openai.com/api/docs/guides/tools-connectors-mcp Documentation.
- Anthropic, Claude Platform Docs, "Handle tool calls". https://platform.claude.com/docs/en/agents-and-tools/tool-use/handle-tool-calls Documentation.










