WorksComputer Science
ArguShield: Enforcing Minimum-Necessary Disclosure in Tool-Calling LLM Agents
Abstract
Large language model agents increasingly use third-party tools to complete user tasks. Even without malicious intent, they may fill broad or weakly constrained fields with private information that is unnecessary or inappropriate for the receiving tool. Such calls can satisfy the tool schema and complete the task, yet still violate minimum-necessary disclosure. We introduce ArguShield, a mediation layer that intercepts proposed tool calls before execution. It evaluates each candidate value using three signals: Value Provenance, Task Relevance, and Disclosure Boundary. ArguShield releases justified values, defers values that need user confirmation, and withholds those outside the permitted scope. We evaluate ArguShield with four tool-calling models on ArgPrivBench, a benchmark of 120 tasks across Travel, Shopping, and Healthcare. Unprotected agents frequently over-disclose private information despite high task success. Prompt-only protection reduces unauthorized disclosure but substantially lowers task success. ArguShield reduces unauthorized silent release to 9% on Standard tasks and 6% on High-risk tasks while preserving recoverable task success under simulated user confirmation.
Introduction
Recent AI agents increasingly complete user tasks through third-party tools. Locally deployable agents with persistent memory and external application access, such as OpenClaw [27], expand the boundary at which private context may leave the system: a value in memory, profile, or context becomes an external disclosure once copied into a tool call.
This disclosure is not always caused by malicious intent or incorrect tool choice. Third-party schemas may expose broad, optional, or weakly constrained fields; 36.9% of 2,344 Action/API specifications in the OpenAI GPT ecosystem expose at least one weakly constrained free-text parameter such as query, notes, or context [23]. Such fields make over-disclosure easy to express as a schema-valid call that completes the task while still transmitting values the receiver does not need.
Figure 1 illustrates this failure for hotel reservation: operational fields can be mixed with profile-derived name, phone, passport, and address values, some requiring confirmation and others falling outside the task disclosure boundary.

Figure 1. Motivating example of minimum-necessary disclosure in third-party tool calling. An unprotected agent sends a full tool call that mixes operational task fields with profile-derived personal values. ArguShield mediates the proposed invocation before execution: task-needed fields are released, confirmation-needed personal values are deferred, and values outside the disclosure boundary are withheld. KEEP, ASK, and HIDE denote value-level release decisions rather than literal argument values sent to the API.
We study this as a violation of minimum-necessary disclosure: a value should be released only when the current task and receiving tool justify it. We call such violations tool-argument over-disclosure. Task completion and appropriate information flow are distinct; purpose-bound privacy evaluation shows private information can reach unnecessary sinks even when the task succeeds ([7]).
We introduce ArguShield, a pre-execution release mediation layer that treats model-proposed invocations as drafts, evaluates each candidate value with Value Provenance, Task Relevance, and Disclosure Boundary, and assigns KEEP, ASK, or HIDE before execution.
We evaluate on ArgPrivBench, a 120-task benchmark across Travel, Shopping, and Healthcare (20 Standard and 20 High-risk tasks per domain), with annotated release labels that separate task utility from disclosure necessity.
Across four tool-calling models, unprotected agents often succeed yet over-disclose; prompt-only protection reduces unauthorized disclosure at a substantial cost to task success. ArguShield reduces unauthorized silent release on Standard and High-risk tasks while preserving recoverable task success under simulated user confirmation.
Our contributions are:
We formulate minimum-necessary disclosure for third-party tool-calling agents and identify tool-argument over-disclosure as a central failure mode.
We propose ArguShield, a pre-execution mediation layer enforcing value-release decisions via Value Provenance, Task Relevance, and Disclosure Boundary.
We introduce ArgPrivBench (120 tasks, three domains) and show ArguShield reduces unauthorized silent release while preserving recoverable task success under simulated user confirmation.
Related Work
Tool-use and agent evaluation. Tool use has become a central interface for extending language models from text generation to external action. Early work studies reasoning with actions, self-supervised tool-use learning, and generalization across large API collections [30, 21, 18]. Subsequent work addresses API-call generation and function-calling evaluation [15, 16], as well as verified function-calling dataset construction [11]. More recent agent environments move from isolated API calls to stateful interaction, multi-turn workflows, and tool-agent-user settings [25, 12, 31]. Broader web, app, desktop, and workplace benchmarks further expand the evaluation of agents in realistic interfaces [24, 29] (Zhou et al. 2024). These studies establish the importance of tool calling and action execution, but they primarily measure whether agents can complete tasks. Our work studies a complementary property: whether the values released to a third-party tool are minimally necessary for the current task and receiver.
Agentic disclosure and purpose-bound privacy. Privacy risks in tool-calling agents arise not only from model behavior, but also from the interfaces agents are asked to populate. Third-party tool schemas can expose broad, optional, or weakly constrained fields, leaving disclosure decisions to the agent at runtime [23]. AgentDAM evaluates privacy leakage in autonomous web agents, while SPILLage studies agentic oversharing on the web [19] (Zharmagambetov et al. 2025). Prompt-injection attacks can induce leakage of personal data observed by agents [1], whereas PrivacyAsst proposes a privacy-protection method for tool-using agents (Zhang et al., 2024). Other work frames privacy in terms of contextual integrity, purpose, recipient, and situation rather than sensitivity alone [2, 13, 9]. ToolPrivacyBench formalizes a closely related purpose-bound privacy problem: successful tool execution does not imply appropriate disclosure, because private information may be routed to tools or downstream sinks that do not require it [7]. ArguShield targets this failure at the point where it becomes executable: before a proposed invocation releases candidate values to a third-party API.
Tool-boundary mediation and enforcement granularity. Existing defenses differ in their intervention points, policy representations, and enforcement granularity. Kan et al. [8] sanitize sensitive inputs before remote model access, whereas Wen et al. [28] generate context-specific privacy guidance during agent execution. PrivacyLens [22] provides a complementary framework for evaluating privacy violations in agents’ actions. Mobile-agent systems use visual interface context to plan and execute actions [26] (Zhang et al. 2025). Privacy-focused evaluation further reveals limitations in smartphone agents’ recognition of privacy-sensitive situations [10]. For tool-calling agents, however, the receiving tool may observe private values before any final response exists. Tool-risk and agent-security studies show that tool use can cause privacy leakage, unsafe execution, prompt-injection vulnerabilities, speculative-call exposure, or multi-tool leakage channels [20, 4, 14, 17]. System-level defenses such as CaMeL and FIDES separate control/data flow or enforce information-flow policies to secure agents against untrusted inputs [5, 3]. PACT makes a related granularity observation: risks can arise when untrusted information determines an authority-bearing argument, so provenance must be tracked below the whole-invocation level [6]. ArguShield applies this argument-level perspective to privacy at the tool-execution boundary.
ArguShield: Enforcing Minimum-Necessary Disclosure at the Tool Boundary
ArguShield is a pre-execution release mediation layer for tool-calling agents. Rather than executing a model-proposed tool call directly, ArguShield treats it as an executable draft whose values must be justified before crossing the third-party tool boundary. The enforcement goal is minimum-necessary disclosure: a value is released only when it is grounded in an appropriate source, warranted by the current task, and appropriate for the receiving tool.
A schema-valid invocation may mix values with different disclosure status. Some values are required for task completion, some may be useful but require user confirmation, and others are outside the permitted disclosure boundary. ArguShield therefore preserves the tool-level intent whenever possible while mediating which candidate values are allowed to leave the agent. Figure 2 summarizes the pipeline.

Figure 2. Overview of ArguShield. A model-proposed tool call is mediated before execution using Value Provenance, Task Relevance, and Disclosure Boundary, producing a sanitized call, confirmation queue, and audit log. The HIDE branch denotes removal from the outgoing invocation, not transmission to the tool.
Problem Formulation
For a task, the agent observes the user request , context/state , target tool schema , prior tool outputs , and retrieved content . The model proposes a structured invocation
where is the receiving tool and is the argument object. ArguShield outputs a sanitized invocation , a confirmation queue , and an audit log . Only is released to the tool. Values in remain local unless the user confirms them, and blocked values are not transmitted.
The argument object is flattened into leaf-level candidate values
where is the argument path and is the proposed value. Each candidate receives one action
KEEP authorizes immediate release, ASK defers release pending confirmation, and HIDE removes the value from the outgoing call. This leaf-level formulation is important because a single invocation can contain both task-needed and over-disclosed values.
Disclosure Justification
For each candidate value, ArguShield constructs a disclosure justification record from three evidence signals. Value Provenance asks where the value comes from. Values explicitly provided in the current request are treated differently from values copied from user profile, prior tool outputs, retrieved content, or model inference. This distinction prevents the agent from treating contextual availability as permission to disclose. For example, a home address stored in profile may be available to the agent, but it should not be silently copied into a hotel reservation unless the task and receiver justify that release.
Task Relevance asks whether the current task warrants the value. A value can be required for task success, useful but not strictly necessary, unsupported by the request, or conflicting with the task state. This signal prevents optional schema fields from becoming automatic disclosure channels. A field such as notes, context, or special_instructions may be schema-valid, but schema compatibility alone does not make every available personal value task-relevant.
Disclosure Boundary asks whether the receiving tool is an appropriate recipient under the current purpose. Some values are justified for silent release, some may support task completion but require confirmation, and others should be withheld for the current receiver. This receiver-aware signal captures the fact that sensitivity alone is insufficient: the same phone number, address, or medical note can be appropriate for one tool, confirmation-needed for another, and unjustified for a different third-party service.
At inference time, ArguShield does not use gold release labels. It estimates the three evidence signals from the runtime state and then applies a fixed release monitor. For Value Provenance, it performs normalized matching against the current request, profile fields, prior tool outputs, and retrieved content. Exact matches, normalized string matches, and typed matches for dates, names, addresses, identifiers, prices, and contact fields are assigned to their supporting source; unmatched or fabricated values are marked as inferred or unknown. For Task Relevance, it combines the user intent, tool schema, argument path, value type, and task-success criteria to determine whether the value is required, useful, unsupported, or conflicting. For Disclosure Boundary, it uses the receiver identity, tool purpose, argument path, value type, and authorization status to decide whether the value is permitted for silent release, requires confirmation, or is outside the receiver boundary. Ambiguous evidence is handled conservatively and cannot justify silent release.
Release Policy and Execution
After evidence extraction, ArguShield applies a deterministic release monitor to each candidate value. The final action is fixed given the evidence record, making release behavior auditable and reproducible rather than delegated to another model judgment. The monitor follows a priority order. HIDE has highest priority and is assigned when a value is unsupported, conflicting, inferred without reliable grounding, or outside the receiving tool’s disclosure boundary. This rule blocks values that are schema-valid but not justified for release.
KEEP is assigned only when all three disclosure conditions are satisfied: the value is source-supported, warranted by the task, and permitted for silent release to the current receiver. This covers operational arguments explicitly provided by the user for the current task or values otherwise grounded and necessary for execution. ASK is assigned when a value may support the task but lacks sufficient authorization for silent release, such as profile-derived or previously observed values whose transmission to the current receiver should be confirmed by the user. Thus, ASK is not a weaker form of KEEP; it is a local withholding action that prevents the value from crossing the tool boundary until approval.
After assigning actions, ArguShield reconstructs the outgoing invocation:
Values assigned KEEP remain in and are sent to the tool. Values assigned ASK are removed from the outgoing call and placed in until approved. Values assigned HIDE are removed and are not offered for release. The audit log records each argument path, the resolved evidence labels, and the final action, enabling post-hoc inspection and error analysis.
ArguShield is intended to complement, rather than replace, the underlying tool-calling model. The model still selects the tool and drafts the invocation, but release control is moved to the execution boundary where structured values can be checked before they leave the system. This separation allows task execution to proceed with the minimum set of justified values while keeping confirmation-needed and unjustified values local.
Experiments
We evaluate whether tool-calling agents satisfy minimum-necessary disclosure when private context becomes executable tool input. Each instance provides a user request, visible context, and target tool schema. The model proposes a structured invocation, and we evaluate which values would be released to the third-party receiver. The evaluation is offline, but it preserves the failure studied in this paper: a call may be schema-valid and task-completing while still releasing values that the current task or receiver does not justify.
Experimental Setup
Benchmark. ArgPrivBench contains 120 synthetic tasks across Travel, Shopping, and Healthcare, with 20 Standard and 20 High-risk tasks per domain. The domains cover common third-party tool interactions: Travel includes hotel booking, itinerary planning, and appointment scheduling; Shopping includes checkout, delivery, return, and coupon-related tools; Healthcare includes clinic booking, pharmacy, insurance, and patient-intake tools. Each task specifies a user intent, visible user/context state, target tool schema, task-specific success criteria, and a set of candidate values that may be copied into the invocation. Candidate values include operational fields needed by the tool, profile-derived values, prior-context values, and receiver-sensitive values. They are annotated as Keep when silent release is justified, Ask when the value may support completion but requires user confirmation, and Hide when it is outside the task need or disclosure boundary. Standard tasks contain everyday personal values and optional arguments where over-disclosure is plausible. High-risk tasks do not necessarily have higher violation frequency; instead, they involve stricter receiver, purpose, or value-type constraints, so an unjustified release is more severe.
Models, methods, and metrics. We evaluate DeepSeek-V4-Flash, GLM-5.1, Kimi-K2.7-Code, and Qwen3.7-Plus. We select these models because they support structured tool calls or schema-constrained argument generation, span four distinct model providers and families, and were available through commercial APIs during the evaluation period. All four models are evaluated with the same tasks, tool schemas, prompts, mediator configuration, and temperature of 0.0; only endpoint-specific tool-call formatting differs where necessary. No model is selected or excluded based on its performance with ArguShield. NoProtection executes the generated call directly. Prompt-Only Guard adds a privacy instruction but does not inspect the structured call after generation. ArguShield mediates the proposed call before execution. APVR measures unauthorized silent release, namely gold Ask/Hide values released as Keep; it does not measure disclosure following simulated approval. TLR is the fraction of tasks with at least one unauthorized silent release. TSR measures task success. In the main protection comparison, we report , where task-required values routed to Ask are treated as recoverable after simulated approval; for NoProtection, the same column reports ordinary task success without confirmation. ADF1 is macro-F1 over Keep, Ask, and Hide. ASKR measures the fraction of values routed to Ask on completed tasks, and is reported only as confirmation overhead. Values routed to Ask are not counted as released before confirmation.
Over-Disclosure in Unprotected Calls
Under direct execution, agents often select plausible tools and satisfy the user request, yet still copy optional profile, delivery, payment-adjacent, insurance, or medical-note values into the call (Table 1). Averaged over all entries, unprotected execution yields 0.81 APVR on Standard tasks, 0.77 on High-risk tasks, and 0.96 TSR overall. The gap between high TSR and high APVR shows that task success alone does not imply appropriate information release.
| Domain | Model | Standard APVR | Standard TSR | High-risk APVR | High-risk TSR |
| Travel | DeepSeek-V4-Flash | 0.85 | 1.00 | 0.80 | 1.00 |
| GLM-5.1 | 1.00 | 1.00 | 0.95 | 1.00 | |
| Kimi-K2.7-Code | 0.80 | 1.00 | 0.85 | 1.00 | |
| Qwen3.7-Plus | 0.80 | 1.00 | 0.60 | 1.00 | |
| Shopping | DeepSeek-V4-Flash | 0.70 | 0.95 | 0.60 | 0.85 |
| GLM-5.1 | 0.55 | 0.80 | 0.65 | 0.80 | |
| Kimi-K2.7-Code | 0.85 | 0.85 | 0.95 | 0.95 | |
| Qwen3.7-Plus | 0.90 | 0.95 | 0.85 | 0.95 | |
| Healthcare | DeepSeek-V4-Flash | 0.70 | 1.00 | 0.60 | 1.00 |
| GLM-5.1 | 1.00 | 1.00 | 0.80 | 1.00 | |
| Kimi-K2.7-Code | 0.80 | 1.00 | 0.80 | 1.00 | |
| Qwen3.7-Plus | 0.80 | 1.00 | 0.80 | 1.00 |
Table 1. Unprotected calls by domain and model.
Effectiveness of ArguShield
Release mediation substantially reduces unauthorized silent release while preserving recoverable task success under simulated user confirmation (Table 2). Averaged over four models, Standard APVR drops from 0.84 under NoProtection to 0.09 with ArguShield, and High-risk APVR drops from 0.76 to 0.06. remains 0.97 on both splits, and ADF1 improves consistently, indicating closer alignment with the intended Keep/Ask/Hide policy.
| Model | Method | Standard APVR | Standard TSR (Approve-all) | Standard ADF1 | High-risk APVR | High-risk TSR (Approve-all) | High-risk ADF1 |
| DeepSeek-V4-Flash | NoProtection | 0.77 | 0.98 | 0.27 | 0.65 | 0.95 | 0.27 |
| Prompt-Only Guard | 0.00 | 0.55 | 0.18 | 0.02 | 0.48 | 0.16 | |
| ArguShield | 0.05 | 0.98 | 0.62 | 0.03 | 0.95 | 0.56 | |
| GLM-5.1 | NoProtection | 0.88 | 0.97 | 0.26 | 0.83 | 0.93 | 0.26 |
| Prompt-Only Guard | 0.07 | 0.75 | 0.25 | 0.05 | 0.65 | 0.22 | |
| ArguShield | 0.15 | 0.97 | 0.61 | 0.09 | 0.93 | 0.60 | |
| Kimi-K2.7-Code | NoProtection | 0.83 | 0.93 | 0.25 | 0.85 | 0.98 | 0.26 |
| Prompt-Only Guard | 0.05 | 0.82 | 0.27 | 0.08 | 0.78 | 0.26 | |
| ArguShield | 0.12 | 0.93 | 0.59 | 0.08 | 0.98 | 0.63 | |
| Qwen3.7-Plus | NoProtection | 0.87 | 1.00 | 0.27 | 0.72 | 1.00 | 0.28 |
| Prompt-Only Guard | 0.02 | 0.87 | 0.29 | 0.00 | 0.85 | 0.28 | |
| ArguShield | 0.03 | 1.00 | 0.67 | 0.03 | 1.00 | 0.60 |
Table 2. Protection results. treats task-required Ask values as recoverable after simulated approval. For NoProtection, the same column reports ordinary task success without confirmation.
Prompt-only guidance achieves lower or equal APVR across the evaluated settings, but substantially reduces task success and yields lower ADF1. In contrast, ArguShield retains task-needed values and blocks or defers disclosures without sufficient task or receiver justification.
External Validation Beyond ArgPrivBench
We next test whether the fixed release policy transfers beyond the controlled ArgPrivBench setting. First, we collect tool schemas from 26 publicly available real-world MCP servers, including Shopify and GitHub, and construct privacy-sensitive scenarios around their original tool definitions. We execute the schemas through local stdio MCP servers and measure leakage from the arguments actually received after tools/call. Second, we evaluate 123 privacy-task instances from AgentDAM across Shopping, GitLab, and Reddit. Because AgentDAM represents web-agent actions rather than structured tool calls, we add an adapter only at the execution boundary to expose each proposed action as structured arguments; the original tasks, privacy semantics, environments, and success criteria remain unchanged. Neither evaluation retrains ArguShield or changes its release policy.
| Evaluation | Method | APVR ↓ | TLR ↓ | TSR ↑ | ADF1 ↑ | |
| MCP server schemas | NoProtection | 26 | 0.842 | 0.923 | 1.000 | 0.271 |
| ArguShield | 26 | 0.031 | 0.038 | 1.000 | 0.902 | |
| AgentDAM tasks | NoProtection | 123 | 0.746 | 0.797 | 0.967 | 0.304 |
| ArguShield | 123 | 0.128 | 0.203 | 0.935 | 0.768 |
Table 3. External validation on independently developed MCP server schemas and AgentDAM privacy tasks. TLR is the fraction of tasks with at least one unauthorized silent release.
ArguShield substantially improves APVR, TLR, and ADF1 in both external evaluations. It preserves MCP task success and keeps AgentDAM task success close to the unprotected agent (0.935 versus 0.967). ArgPrivBench provides controlled cross-condition evidence, while the MCP and AgentDAM evaluations test transfer to independently designed schemas, an independent benchmark, new domains, and a different agent interface. Broader generalization remains to be tested.
Ablation of Disclosure-Justification Signals
The ablation removes one disclosure-justification signal at a time and reports changes relative to full ArguShield, macro-averaged over models and splits (Figure 3). We focus on APVR for unauthorized silent release, ASKR for confirmation behavior, and ADF1 for action-level alignment.
Figure 3. Signal ablation.
Removing the provenance signal sharply increases APVR and lowers ADF1, showing that source grounding is a core privacy signal; the lower ASKR indicates that some confirmation-needed values become silent releases. Removing Task Relevance produces little APVR change but increases ASKR and lowers ADF1, suggesting weaker precision in distinguishing task-needed from merely plausible values. Removing Disclosure Boundary yields the largest APVR increase and ADF1 drop, confirming that receiver-specific restrictions are essential. Overall, provenance and boundary checks mainly prevent unauthorized silent release, while Task Relevance improves Keep/Ask/Hide assignment.
Diagnostic Analysis
We further inspect whether the privacy gains come from excessive confirmation, conservative withholding, or more precise release decisions. Figure 4 summarizes confirmation overhead, residual action-level errors, and residual disclosure by value type.

Figure 4. Diagnostic analysis.
Confirmation remains targeted rather than whole-call based. On completed tasks, Travel, Shopping, and Healthcare have Standard/High-risk ASKR values of 0.18/0.17, 0.20/0.18, and 0.22/0.22, yielding overall rates of 0.20 and 0.19. Residual errors comprise over-release (18%), over-withholding (43%), and unnecessary confirmation (39%). Residual APVR remains low across Contact, Address, Medical, ID, and Preference/Profile values (0.07, 0.10, 0.08, 0.06, and 0.05).
Disclosure Frequency and Consequence
APVR intentionally measures violation frequency rather than disclosure consequence. The Standard and High-risk splits differ in receiver, purpose, and value-release constraints, so their aggregate APVR values should not be interpreted as a ranking of disclosure severity.
We therefore add an orthogonal consequence-tier analysis. Both splits contain Low, Moderate, and High consequence values, and we recompute APVR within each tier using only the corresponding gold Ask/Hide opportunities.
Residual violation rates decrease from Low to Moderate to High consequence on both splits (Table 4). We therefore retain APVR as the primary measure of violation frequency and use consequence tiers as a complementary diagnostic of which disclosures remain after mediation.
| Tier | Typical values | Standard APVR | High-risk APVR |
| Low | Preferences, scheduling, and contextual details | 0.552 | 0.420 |
| Moderate | Contact, address, and profile/account identifiers | 0.075 | 0.058 |
| High | Medical, financial, legal, credentials, and government IDs | 0.020 | 0.009 |
Table 4. Residual ArguShield violations stratified by disclosure consequence. Consequence tiers complement rather than replace the frequency-based APVR metric.
Confirmation-Policy Sensitivity
The main evaluation treats task-required Ask values as recoverable under simulated user confirmation. To quantify sensitivity to this assumption, we compare three deterministic confirmation policies. Approve-all approves every Ask value; Bounded-k1 approves at most the first Ask value in deterministic flattened-argument order; and Reject-all approves none. Approved-Ask Rate (AAR) is the fraction of all candidate values that are assigned Ask and subsequently approved.
Bounded-k1 reduces approved Ask values by approximately 41% relative to Approve-all on both splits while preserving the same TSR. Reject-all releases no Ask values, and TSR decreases to 0.929 on Standard and 0.933 on High-risk tasks. APVR is unchanged across confirmation policies because it measures unauthorized silent release rather than disclosure following simulated approval. This analysis quantifies a controllable privacy–interaction–utility trade-off under simulated confirmation. It does not replace a real-user confirmation study.
| Policy | Standard TSR | Standard AAR | High-risk TSR | High-risk AAR |
| APPROVE-ALL | 0.971 | 0.194 | 0.967 | 0.188 |
| BOUNDED-K1 | 0.971 | 0.114 | 0.967 | 0.109 |
| REJECT-ALL | 0.929 | 0.000 | 0.933 | 0.000 |
Table 5. Sensitivity to simulated confirmation policy.
Limitations
ArguShield mediates release at the third-party tool boundary before execution and cannot retract information after release. Final responses, shared memory, inter-agent messages, and multi-tool orchestration are outside ArguShield’s current scope. Related work identifies privacy risks from speculative tool dispatch [14] and sensitive inferences formed by combining tool outputs [17]. ArguShield is therefore one enforceable layer for structured tool inputs, not a complete privacy architecture.
Release decisions also depend on evidence quality. Ambiguous intent, underspecified schemas, incomplete context, or domain-specific norms can still produce conservative deferral or incorrect release despite auditable checks over Value Provenance, Task Relevance, and Disclosure Boundary. ArgPrivBench is similarly diagnostic: its controlled values and stable schemas make over-disclosure measurable, but do not capture the diversity of deployment traces, organizational policies, or legal regimes [13, 9] (Zharmagambetov et al. 2025).
Finally, we evaluate recoverability under simulated confirmation for Ask values rather than live human-in-the-loop interaction. Real users may reject or misunderstand confirmation requests, and excessive prompting can add interaction cost. Future work should study confirmation design and adaptive policies that preserve minimum-necessary disclosure with lower overhead.
Conclusion
Tool-calling agents can complete user tasks while still exposing values that the current task or receiving tool does not justify. We formalize this failure as tool-argument over-disclosure, a violation of minimum-necessary disclosure at the third-party tool boundary.
ArguShield addresses this risk through pre-execution release mediation. It treats a model-proposed invocation as an executable draft, evaluates candidate values using Value Provenance, Task Relevance, and Disclosure Boundary, and assigns each value to KEEP, ASK, or HIDE before execution.
We evaluate ArgShield on ArgPrivBench, a 120-task benchmark across Travel, Shopping, and Healthcare. Experiments show that unprotected agents frequently release unnecessary private values despite high task success, while prompt-only protection reduces unauthorized disclosure at a substantial cost to task success. ArguShield substantially reduces unauthorized silent release on both Standard and High-risk tasks while preserving recoverable task success under simulated user confirmation. These results support value-level mediation as a complementary enforcement layer at the tool-execution boundary.
Acknowledgments
This work was supported by the 2026 Open Research Fund of the Key Laboratory of Software Integration Application and Test Verification, Ministry of Industry and Information Technology (No. RFT20260005), the Tarim University President Fund (TDZKCX202509), and the Tencent Cloud Computing (Beijing) Co., Ltd. Grant No. HX01202203011.
References
- [1]Meysam Alizadeh, Zeynab Samei, Daria Stetsenko, and Fabrizio Gilardi. Simple prompt injection attacks can leak personal data observed by LLM agents during task execution, 2025. URL https://arxiv.org/abs/2506.01055.
- [2]Eugene Bagdasarian, Ren Yi, Sahra Ghalebikesabi, Peter Kairouz, Marco Gruteser, Sewoong Oh, Borja Balle, and Daniel Ramage. AirGapAgent: Protecting privacy-conscious conversational agents. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, CCS ’24, page 3868–3882, New York, NY, USA, 2024. Association for Computing Machinery. ISBN 9798400706363. doi: 10.1145/3658644.3690350. URL https://doi.org/10.1145/3658644.3690350.
- [3]Manuel Costa, Boris Köpf, Aashish Kolluri, Andrew Paverd, Mark Russinovich, Ahmed Salem, Shruti Tople, Lukas Wutschitz, and Santiago Zanella-Béguelin. Securing ai agents with information-flow control, 2025. URL https://arxiv.org/abs/2505.23643.
- [4]Edoardo Debenedetti, Jie Zhang, Mislav Balunovic, Luca Beurer-Kellner, Marc Fischer, and Florian Tramèr. AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents. In The Thirty-eighth Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2024. URL https://openreview.net/forum?id=m1YYAQj03w.arxiv.org/abs/2406.13352
- [5]Edoardo Debenedetti, Ilia Shumailov, Tianqi Fan, Jamie Hayes, Nicholas Carlini, Daniel Fabian, Christoph Kern, Chongyang Shi, Andreas Terzis, and Florian Tramèr. Defeating prompt injections by design, 2025. URL https://arxiv.org/abs/2503.18813.
- [6]Linfeng Fan, Ziwei Li, Yuan Tian, Yichen Wang, Rongsheng Li, and Xiong Wang. The granularity mismatch in agent security: Argument-level provenance solves enforcement and isolates the LLM reasoning bottleneck, 2026. URL https://arxiv.org/abs/2605.11039.
- [7]Shijing Hu, Liang Liu, Zhu Meng, and Zhicheng Zhao. Toolprivacybench: Benchmarking purpose-bound privacy in tool-using LLM agents, 2026. URL https://arxiv.org/abs/2606.28061.
- [8]Zhigang Kan, Linbo Qiao, Hao Yu, Liwen Peng, Yifu Gao, and Dongsheng Li. Protecting user privacy in remote conversational systems: A privacy-preserving framework based on text sanitization, 2023. URL https://arxiv.org/abs/2306.08223.
- [9]Haoran Li, Wenbin Hu, Huahao Jing, Yulin Chen, Qi Hu, Sirui Han, Tianshu Chu, Peizhao Hu, and Yangqiu Song. PrivaCI-bench: Evaluating privacy with contextual integrity and legal compliance. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova, and Mohammad Taher Pilehvar, editors, Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10544–10559, Vienna, Austria, July 2025. Association for Computational Linguistics. ISBN 979-8-89176-251-0. doi: 10.18653/v1/2025.acl-long.518. URL https://aclanthology.org/2025.acl-long.518/.DOI
- [10]Zhixin Lin, Jungang Li, Shidong Pan, Yibo Shi, Yue Yao, and Dongliang Xu. Mind the third eye! benchmarking privacy awareness in MLLM-powered smartphone agents. In The Fortieth Annual AAAI Conference on Artificial Intelligence, 2026. doi: 10.1609/aaai.v40i42.40874. URL https://ojs.aaai.org/index.php/AAAI/article/view/40874.
- [11]Zuxin Liu, Thai Quoc Hoang, Jianguo Zhang, Ming Zhu, Tian Lan, Shirley Kokane, Juntao Tan, Weiran Yao, Zhiwei Liu, Yihao Feng, Reitbesh R N, Liangwei Yang, Silvio Savarese, Juan Carlos Niebles, Huan Wang, Shelby Heinecke, and Caiming Xiong. APIGen: Automated Pipeline for generating verifiable and diverse function-calling datasets. In The Thirty-eighth Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2024. URL https://openreview.net/forum?id=JfG3vw2bjx.arxiv.org/abs/2406.18518
- [12]Jiarui Lu, Thomas Hollies, Yizhe Zhang, Bernhard Aumayer, Feng Nan, Haoping Bai, Shuang Ma, Shen Ma, Mengyu Li, Guoli Yin, Zirui Wang, and Ruoming Pang. ToolSandbox: A stateful, conversational, interactive evaluation benchmark for LLM tool use capabilities. In Luis Chiruzzo, Alan Ritter, and Lu Wang, editors, Findings of the Association for Computational Linguistics: NAACL 2025, pages 1160–1183, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-195-7. doi: 10.18653/v1/2025.findings-naacl.65. URL https://aclanthology.org/2025.findings-naacl.65/.
- [13]Niloofar Mireshghallah, Hyunwoo Kim, Xuhui Zhou, Yulia Tsvetkov, Maarten Sap, Reza Shokri, and Yejin Choi. Can LLMs keep a secret? testing privacy implications of language models via contextual integrity theory. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=gmg7t8b4s0.arxiv.org/abs/2310.17884
- [14]Bardia Mohammadi, Lars Klein, Akhil Arora, and Laurent Bindschaedler. Ghost tool calls: Issue-time privacy for speculative agent tools, 2026. URL https://arxiv.org/abs/2606.02483.
- [15]Shishir G. Patil, Tianjun Zhang, Xin Wang, and Joseph E. Gonzalez. Gorilla: Large language model connected with massive apis. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 126544–126565. Curran Associates, Inc., 2024. doi: 10.52202/079017-4020. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/e4c61578ff07830f5c37378dd3ecb0d-paper-Conference.pdf.DOI
- [16]Shishir G. Patil, Hanzhao Ma, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. The berkeley function calling leaderboard (BFCL): From tool use to agentic evaluation of large language models. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 48371–48392. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/patil25a.html.
- [17]Yuxuan Qiao, Dongqin Liu, Hongchang Yang, Wei Zhou, and Songlin Hu. Agent tools orchestration leaks more: Dataset, benchmark, and mitigation, 2026. URL https://arxiv.org/abs/2512.16310.
- [18]Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xiangru Tang, Bill Qian, Sihan Zhao, Lauren Hong, Runchu Tian, Ruobing Xie, Jie Zhou, Mark Gerstein, dahai li, Zhiyuan Liu, and Maosong Sun. ToolLLM: Facilitating large language models to master 16000+ real-world APIs. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=dHng2OOJjr.arxiv.org/abs/2307.16789
- [19]Jaechul Roh, Eugene Bagdasarian, Hamed Haddadi, and Ali Shahin Shamsabadi. SPILLage: Agentic oversharing on the web, 2026. URL https://arxiv.org/abs/2602.13516.
- [20]Yangjun Ruan, Honghua Dong, Andrew Wang, Silviu Pitis, Yongchao Zhou, Jimmy Ba, Yann Dubois, Chris J. Maddison, and Tatsunori Hashimoto. Identifying the risks of LM agents with an LLM-emulated sandbox. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=GEcwtMk1uA.arxiv.org/abs/2309.15817
- [21]Timo Schick, Jane Dwivedi-Yu, Roberto Dessi, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 68539–68551. Curran Associates, Inc., 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/d842425e4bf79ba039352da0f658a906-Paper-Conference.pdf.
- [22]Yijia Shao, Tianshi Li, Weiyan Shi, Yanchen Liu, and Diyi Yang. PrivacyLens: Evaluating privacy norm awareness of language models in action. In The Thirty-eighth Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2024. URL https://openreview.net/forum?id=CxNXoMnCKc.arxiv.org/abs/2409.00138
- [23]Shahriar Shayesteh and Shomir Wilson. From conventional web privacy to agentic disclosure: How tool schemas may invite LLM oversharing. In Ivan Habernal, Sepideh Ghanavati, Sara Haghighi, Krithika Ramesh, Timour Igamberdiev, and Shomir Wilson, editors, Proceedings of the Seventh Workshop on Privacy in Natural Language Processing, pages 1–6, San Diego, California, July 2026. Association for Computational Linguistics. ISBN 979-8-89176-397-5. doi: 10.18653/v1/2026.privatenlp-main.1. URL https://aclanthology.org/2026.privatenlp-main.1/.DOI
- [24]Harsh Trivedi, Tushar Kothari, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16022–16076, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.850. URL https://aclanthology.org/2024.acl-long.850/.DOI
- [25]Jun Wang, Jiamu Zhou, Xihuai Wang, Xiaoyun Mo, Haoyu Zhang, Qiqiang Lin, Cheng Jin, Muning Wen, Weinan Zhang, Qiuying Peng, and Jun Wang. HammerBench: Fine-grained function-calling evaluation in real mobile assistant scenarios. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova, and Mohammad Taher Pilehvar, editors, Findings of the Association for Computational Linguistics: ACL 2025, pages 3350–3376, Vienna, Austria, July 2025. Association for Computational Linguistics. ISBN 979-8-89176-256-5. doi: 10.18653/v1/2025.findings-acl.175. URL https://aclanthology.org/2025.findings-acl.175/.DOI
- [26]Junyang Wang, Haiyang Xu, Jiao Ye, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, and Jitao Sang. Mobile-agent: Autonomous multi-modal mobile device agent with visual perception. In ICLR 2024 Workshop on Large Language Model (LLM) Agents, 2024. URL https://openreview.net/forum?id=jE6pDYcnVF.arxiv.org/abs/2401.16158
- [27]Yuntao Wang, Jianle Ba, Han Liu, Yanghe Pan, Jintao Wei, Zhou Su, Tom H. Luan, and Linkang Du. Security of OpenClaw agents: Fundamentals, attacks, and countermeasures, 2026. URL https://arxiv.org/abs/2605.25435.
- [28]Yule Wen, Yanzhe Zhang, Jianxun Lian, Xiaoyuan Yi, Xing Xie, and Diyi Yang. Contextualized privacy defense for LLM agents. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=b4QbBSv3X.arxiv.org/abs/2603.02983
- [29]Tianbao Xie, Danyang Zhang, Junnan Chen, Jixuan Chen, Xiaochuan Li, Sisheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu. OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 52040–52094. Curran Associates, Inc., 2024. doi: 10.52202/079017-1650. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/5d413e48f84dc61244b6be550f1cd8f5-Paper-Datasets_and_Benchmarks_Track.pdf.
- [30]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.03629
- [31]Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik R. Narasimhan. τ-bench: A benchmark for tool-agent-user interaction in real-world domains. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=roNSXzpUDN.DOI
