Manuscript Offprint
arXiv:2610.34298Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Abstract
Language agents increasingly act through external tools and interactive environments, making the interface between the model and its executable capabilities part of the decision process. Model Context Protocol (MCP) and command-line interfaces (CLI) can expose the same semantic operations through markedly different model-facing representations. We study whether these representational differences change agent behavior when executable capabilities are matched. We introduce Matched Interface Comparison and Analysis (MICA), which renders MCP and CLI from a shared semantic action contract and routes decoded actions through the same runtime. Across six models and three interactive environments, matched interfaces produce substantial differences in task performance and interaction cost. These effects extend beyond surface validity to semantic action selection, failure pathways, and recovery. Matched-state probes localize sensitivity to capability presentation, realization, and feedback. Paired natural trajectories reveal structured divergence in 94.3% of 2,004 episodes and show that early differences propagate through subsequent interaction. This analysis identifies interface realization as a direct intervention boundary. We therefore introduce Decoupled Action Realization and Targeted Repair (DART), which preserves validated semantic commitments while repairing interface-specific realization. DART improves benchmark score in all six evaluated settings by up to 9.0 points and reduces MCP token cost in all three environments by up to 27.1k tokens per task. Together, these results establish interface representation as part of the closed-loop decision environment shaping agent behavior.
GitHub: https://github.com/ModalityDance/MICA
1 Introduction
Modern language agents increasingly act through tools, APIs, and executable environments [1, 2, 3, 4]. These external capabilities are accessed through interfaces that specify how available actions, arguments, response conventions, and execution feedback are presented to the model. In an interactive agent, however, an interface does more than expose what actions are possible: it becomes part of the context from which the next action is selected. As a result, different representations of the same executable capabilities can induce different local decisions and, through closed-loop interaction, different trajectories. Prior work has shown that action representations [5], tool metadata [6, 7], and agent–computer interfaces [8] materially shape
Corresponding author.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
tool use and task performance. This raises a fundamental question for interactive language agents: When executable capabilities are held fixed, to what extent does their model-facing representation change the policy that emerges?
This question is particularly important because both structured tool invocation and terminal-based interaction are increasingly common in modern agent systems. The Model Context Protocol (MCP) presents capabilities as named tools with schema-defined arguments [9, 10], whereas a command-line interface (CLI) expresses operations through commands, flags, and textual conventions. These interfaces can encode the same semantic operations while presenting systematically different cues for selecting and expressing them. Both MCP and CLI are now widely used in modern agent systems [11, 12, 13, 14, 15], making a systematic study of how their representational differences affect agent behavior increasingly important. MCP and CLI therefore provide a natural setting for disentangling what an agent can do from how those capabilities are represented to the model.
To answer this question, we need a controlled comparison that holds executable semantics fixed while varying only the model-facing representation. To make such a comparison informative, however, we must solve two attribution problems. First, system-level MCP–CLI comparisons often change more than the interface. Tool granularity [16], prompting, public information, validation, or execution scaffolding can change at the same time [17, 18]. A performance difference under such conditions cannot be attributed to representation alone. Second, even after executable semantics are matched, endpoint metrics collapse distinct interaction pathways [19]. The same final score can arise from different semantic choices, realization failures, and interaction costs, while an early local difference can alter the history and state conditioning all later decisions. Systematically comparing how MCP and CLI representations shape agent behavior therefore requires both semantic matching and trajectory-level attribution.
We introduce Matched Interface Comparison and Analysis (MICA) to systematically compare MCP and CLI under matched executable semantics. By holding the underlying executable capabilities fixed, MICA attributes behavioral differences to model-facing representation rather than differences in what the agent can do. It then analyzes interface effects at two complementary scales. At fixed decision contexts, matched-state probes vary capability presentation, realization, and feedback to localize where interface sensitivity enters the policy. Along paired natural trajectories, MICA identifies the first consequential divergence and traces how that local difference propagates through subsequent history, state, recovery, cost, and task outcome. This analysis further separates semantic action selection from interface-specific realization and identifies realization as a direct intervention boundary. A semantic action may already be valid even when its interface-specific expression fails. Guided by this analysis, we introduce Decoupled Action Realization and Targeted Repair (DART) to address interface-specific realization failures without discarding an already validated semantic decision. Once a semantic action is validated, DART preserves it as a fixed commitment. If its realization fails while the commitment remains valid, DART repairs only the interface-specific expression rather than selecting a new semantic action.
Our experiments reveal a consistent mechanistic picture. Across six models and three interactive environments, MCP and CLI with matched executable capabilities still produce substantial differences in task performance and interaction cost. These differences extend beyond surface validity. Interface representation changes semantic action selection, while matched-state analysis shows that presentation, realization, and feedback interact strongly in shaping local behavior. Paired trajectories further show that consequential divergence is widespread and often emerges early, after which interaction histories and costs separate. Acting on the realization boundary identified by MICA, DART provides a direct intervention on the identified realization mechanism,
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
improving task performance across all six evaluated benchmark–interface settings. Under MCP, it also reduces interaction cost. Together, these results establish interface representation as an active part of the closed-loop decision environment through which agent policies are realized.
In summary, our contributions are as follows:
• We provide a study of MCP and CLI under matched executable capabilities, showing that interface representation can substantially alter agent behavior and interaction cost.
• We introduce Matched Interface Comparison and Analysis (MICA), which localizes interface sensitivity and traces how local differences propagate through closed-loop interaction.
• We introduce Decoupled Action Realization and Targeted Repair (DART), which repairs interface-specific realization while preserving validated semantic decisions, enabling more reliable recovery from the realization failures identified by MICA.
MCP-based Tool Use. The Model Context Protocol standardizes tool discovery and invocation through named tools with schema-defined arguments [9, 10]. Recent benchmarks including MCP-Bench [19], MCPMark [25], MCP-AgentBench [26], and MCP-Universe [27] evaluate increasingly complex MCP interaction involving multi-step planning, tool discovery, and cross-tool coordination. These benchmarks characterize agent capability within MCP-native tool representations and provide broad coverage of realistic MCP use. System-level comparisons of MCP and CLI across multiple agent scaffoldings also report substantial variation across deployed configurations [17]. MICA studies a complementary question by holding the semantic action contract and post-decoding runtime fixed while varying the model-facing presentation, realization, and feedback components of the interface.
CLI and Terminal Agents. Terminal environments expose actions through textual commands and iterative execution feedback, as studied in InterCode [28] and Terminal-Bench [29]. These environments capture central properties of command-line interaction including broad command grammars, compositional actions, and long-horizon workflows. Recent enterprise-automation work directly compares terminal agents with MCP-based tool registries and shows that capability packaging explains a substantial part of the observed performance difference [16]. This finding makes capability matching a central control for studying interface representation. Our construction therefore aligns benchmark-specific semantic operations and downstream execution semantics before comparing MCP-style tool calls with CLI-style commands.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
3 Problem Formulation
Semantic actions and capability matching. We consider a language agent interacting with a stateful environment. At decision step , the environment is in state , while the agent observes a policy-visible observation and public interaction history . The benchmark defines a semantic action contract , under which the agent selects
where denotes an operation and its normalized typed arguments. We write when two proposals specify the same registered operation with equivalent normalized arguments under the active contract. This normalized semantic action is the common unit of comparison across interfaces. MCP and CLI are constructed from the same benchmark-specific contract and therefore expose matched executable capabilities through different model-facing representations.
Interface factorization and shared execution. For , we represent the interface as with . Here, specifies capability presentation, the response protocol, the interface-specific decoder, and the feedback representation. Given
the model samples and produces a decoded proposal
where denotes a response that does not decode to a registered semantic action. Decoded proposals then enter the shared semantic validation, native-action compilation, and execution path
Here, V, K, and E denote semantic validation, native-action compilation, and environment execution, respectively, and is the compiled native action. Model-facing variation enters through , while both interfaces share these downstream runtime operators. This factorization distinguishes response decoding, semantic admission, and environment execution.
Interaction equivalence and consequential divergence. Interface effects are analyzed at two complementary scales. At a matched decision context, fixing the environment state, public history, semantic contract, model, and generation configuration supports local comparison under different assignments of , R, and . Along closed-loop interaction, an early difference changes the observations, histories, and environment states that condition subsequent decisions.
Let
denote the interaction signature at step , consisting of the semantic proposal, failure stage, execution outcome, and recovery status. We write when the proposals are semantically equivalent and the remaining components agree. The first consequential divergence is
Pairs with no such step are recorded as having no observed divergence. Surface variation remains within the common prefix whenever both responses decode to the same semantic action and induce the same interaction outcome. Before , the aligned contexts support matched interface comparison. After , each episode evolves under its own history and environment state, and subsequent differences characterize downstream propagation. This separation provides the basis for the matched-state and trajectory analyses in Section 4.2.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents

Figure 1: The overview of MICA. MCP and CLI render a shared semantic action contract through different model-facing interfaces while sharing downstream validation and execution. Matched-state probes localize interface sensitivity, paired trajectories trace its propagation, and DART preserves semantic commitments during realization repair.
4 Matched Interface Comparison and Analysis
Matched Interface Comparison and Analysis (MICA) isolates the behavioral effect of interface representation while keeping executable capabilities fixed. It combines contract-matched MCP–CLI construction, matched-state and trajectory analysis, and commitment-preserving realization with DART (Figure 1).
4.1 Contract-Matched Interface Construction
Shared semantic contract. MICA constructs MCP and CLI from a common benchmark-specific semantic contract, fixing the executable action space while varying its model-facing representation. At decision step t, the contract is
where specifies the typed arguments of operation , its state-local argument domain, and its native execution binding.
Interface rendering and shared execution. For , MICA renders the contract as . MCP exposes named tools with structured arguments, whereas CLI exposes registered commands with textual argument bindings. Both interfaces decode responses into the same normalized semantic action space and then enter the shared validation, compilation, and execution path in Equation 1. Consequently, surface syntax can vary while executable semantics remain fixed. Appendices C.2 and C.3 give the rendering rules, benchmark-specific mappings, and conformance checks.
4.2 Local Interface Sensitivity and Trajectory Propagation
MICA separates local interface sensitivity from its downstream propagation. Matched-state probes vary interface components at a fixed decision context, while paired natural trajectories trace what follows after the first consequential divergence.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Matched-state probes. At a registered decision context, let denote the presentation, realization, and feedback forms assigned to the model. Holding the environment state, public history, semantic contract, model, and generation configuration fixed, each assignment induces a local response distribution . The two homogeneous assignments recover the primary MCP and CLI interfaces. The remaining six exchange individual components under the same semantic contract and downstream runtime.
For , let replace component with its form under interface . We summarize the component main effect for a registered contrast as
This averages the MCP–CLI contrast for component k over assignments of the remaining components. The same factorial coding yields the pairwise and three-way interaction contrasts used in the local analysis. Sampling and estimation details are given in Appendix B.4.
Natural trajectory propagation. Paired MCP and CLI episodes begin from aligned initial conditions and are compared through the first consequential divergence defined in Equation 2. Before , the aligned interaction supports matched comparison. After , each episode follows its own history and environment state. We characterize this natural suffix through semantic-action agreement, failure and recovery, interaction cost, and terminal outcome, thereby separating local attribution from downstream propagation. Alignment rules and suffix-level estimators are detailed in Appendix B.3.
4.3 DART: Commitment-Preserving Realization
DART (Decoupled Action Realization and Targeted Repair) targets the realization boundary exposed by MICA. It separates semantic action selection from interface-specific expression so that a validated decision remains fixed while its realization is repaired.
Semantic commitment and realization. DART first elicits a normalized semantic action under the active public contract, binds it to the contract identity , and then realizes the resulting commitment through the assigned interface,
Both phases use the same underlying model with phase-specific response contracts. Selection fixes the semantic operation and typed arguments. The realization phase determines only their MCP or CLI expression. A realization is admitted when it decodes to the committed action and the commitment remains valid under the active contract. The complete preservation gate is specified in Appendix D.
Commitment-preserving repair. If the initial realization fails while remains valid, DART keeps the commitment fixed and issues one preserving correction conditioned on the failed expression and its public feedback. The correction may change the interface-specific expression while preserving the committed operation and every normalized typed argument. An admitted correction proceeds through the shared runtime. Otherwise, control returns to the ordinary retry policy. This intervention isolates realization repair from semantic reselection, providing a direct test of the realization mechanism identified by MICA. Trigger scopes, controller logic, and phase-specific prompts are detailed in Appendices D and E.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
5 Experimental Setup
Benchmarks and models. We evaluate agents in three interactive environments with complementary demands, namely ALFWorld [30] for grounded household interaction, WebShop [31] for goal-directed web shopping, and ScienceWorld [32] for multi-step scientific reasoning. Our model suite includes Qwen3-4B/8B/14B/32B [33], DeepSeek-v4-Flash [34], and Gemini-2.5-Flash [35]. Native benchmark interfaces are retained as calibration references.
Controlled evaluation. For each task, MCP and CLI are rendered from the same semantic action contract (Section 4.1) while holding fixed the model, initial task state, public information, semantic action space, validation and execution pipeline, generation settings, and interaction budget. Primary metrics are benchmark score or success and total charged model tokens per task. We further measure semantic action selection, failure and recovery behavior, matched-state component sensitivity, first consequential divergence, and post-divergence trajectory behavior. For RQ4, Gemini-2.5-Flash is evaluated in all six benchmark-interface settings against a protocol-matched Base. DART changes only the commitment-preserving controller and registered trigger configuration. Full task sets, budgets, estimators, and DART protocol details are given in Appendices B and D.
Research questions. We organize the evaluation around four research questions. RQ1. How does interface representation affect task performance and interaction cost under matched executable capabilities? RQ2. How does interface representation alter semantic decisions and recovery behavior? RQ3. Where do interface-induced differences originate, and how do they propagate through subsequent interaction? RQ4. How does commitment-preserving realization affect task performance and interaction cost after realization failures?
6 Results
We report the results in the order of the four research questions, moving from task-level performance and interaction cost to failure and recovery, local interface effects and trajectory propagation, and finally the DART intervention.
6.1 Task Performance and Interaction Cost
Matched capabilities produce substantial endpoint differences. Table 1 shows that both the direction and magnitude of the interface effect vary across model–environment pairs. For Qwen3-14B, MCP trails CLI by 36.6 score points on ALFWorld (20.1 vs. 56.7) but exceeds it by 4.9 points on WebShop (64.4 vs. 59.5). The interaction-cost effect reverses at the same time. MCP uses 54.9k more tokens per ALFWorld task but 35.0k fewer on WebShop. Comparable reversals occur across the model suite, showing that task performance and interaction cost respond differently to the same interface change.
Interface representation therefore acts as a model- and environment-dependent factor in the interaction loop, redistributing difficulty across operation selection, argument grounding, and action realization. The following analyses trace these endpoint differences to changes in semantic decisions, failures, and recovery.
6.2 Failure and Recovery
Interface representation changes semantic action selection after successful decoding. The effect therefore extends beyond surface realization. For WebShop/Qwen3-14B, MCP shifts decoded action frequency by +6 percentage points toward click and -6 points from search. ALFWorld
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
| Model | Score (%) | Tokens (k / task) | ||||
|---|---|---|---|---|---|---|
| Native | CLI () | MCP () | Native | CLI (%) | MCP (%) | |
| ALFWorld | ||||||
| Qwen3-4B | 50.0 | 44.8 | 41.8 | 295.5 | 384.2 | 387.1 |
| Qwen3-8B | 31.3 | 44.8 | 35.1 | 273.5 | 292.4 | 356.5 |
| Qwen3-14B | 62.7 | 56.7 | 20.1 | 176.9 | 241.9 | 296.8 |
| Qwen3-32B | 85.1 | 73.9 | 78.4 | 72.4 | 114.7 | 106.5 |
| DeepSeek-v4-Flash | 97.0 | 99.3 | 95.5 | 50.5 | 58.0 | 56.7 |
| Gemini-2.5-Flash | 67.2 | 56.7 | 67.2 | 86.7 | 120.0 | 113.8 |
| WebShop | ||||||
| Qwen3-4B | 62.9 | 58.3 | 64.1 | 32.5 | 37.6 | 36.3 |
| Qwen3-8B | 57.7 | 59.5 | 56.8 | 66.2 | 89.6 | 78.8 |
| Qwen3-14B | 54.9 | 59.5 | 64.4 | 92.9 | 83.1 | 48.1 |
| Qwen3-32B | 64.0 | 61.6 | 65.7 | 85.8 | 80.4 | 88.6 |
| DeepSeek-v4-Flash | 86.0 | 83.0 | 83.5 | 63.8 | 69.1 | 65.1 |
| Gemini-2.5-Flash | 82.2 | 84.5 | 83.3 | 54.9 | 42.8 | 41.9 |
| ScienceWorld | ||||||
| Qwen3-4B | 37.5 | 41.0 | 37.9 | 100.8 | 106.9 | 108.7 |
| Qwen3-8B | 51.1 | 46.9 | 53.0 | 82.6 | 82.5 | 101.1 |
| Qwen3-14B | 35.8 | 39.5 | 35.1 | 60.6 | 73.4 | 76.0 |
| Qwen3-32B | 63.9 | 61.3 | 60.7 | 73.7 | 80.9 | 83.8 |
| DeepSeek-v4-Flash | 81.3 | 77.5 | 75.3 | 77.2 | 97.4 | 93.1 |
| Gemini-2.5-Flash | 52.4 | 51.2 | 54.0 | 61.0 | 65.2 | 59.2 |
Table 1: Task performance and interaction cost under matched interfaces. MCP and CLI expose the same executable capabilities through different model-facing representations. Native is included as a calibration reference.

Figure 2: Failure pathways under MCP and CLI. Bars show the composition of failure stages among unsuccessful attempts. The dominant failure pathway changes with both the interface and environment.
and ScienceWorld exhibit corresponding redistributions across their larger operation sets (Appendix A.2). The shared semantic action space is thus exercised differently under the two interface representations.
Interfaces reshape both failure incidence and failure location. Figure 2 shows that unsuccessful attempts enter different stages of the action pipeline under MCP and CLI. On WebShop,
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
MCP lowers the attempt-level failure rate for all six models by 1.1–8.9 percentage points, while the remaining failures shift from the stronger surface-decoding component under CLI toward later availability and execution stages. ScienceWorld exhibits a different failure composition, with availability and execution accounting for a larger share of unsuccessful attempts. Interface representation therefore determines both the frequency and stage of interaction failure.
Recovery behavior carries interface effects into subsequent decisions. After failure feedback, the next response can preserve the semantic decision and repair its realization, select a different action, repeat the error, or enter another failure mode. On WebShop/Qwen3-4B, retry acceptance is 50% under CLI and 77% under MCP, while later task success is 18% and 34%, respectively (Appendix A.2). These interface-specific recovery paths update the visible interaction history and thereby change the context conditioning later decisions.
6.3 Local Effects and Trajectory Propagation
(a) Realization failure
| Component effects | Interaction effects | ||||||
|---|---|---|---|---|---|---|---|
| ALF World | |||||||
| 4B | -14.5 | -60.3 | +2.2 | -23.8 | +16.9 | +13.4 | +33.1 |
| 8B | -26.7 | -31.1 | +3.6 | -42.8 | -3.4 | +10.3 | +1.9 |
| 14B | -9.5 | -2.3 | -9.5 | -4.7 | +19.7 | -12.2 | +5.6 |
| 32B | +0.6 | -84.4 | +1.9 | +1.2 | -2.5 | -6.2 | +5.0 |
| DS | +0.5 | -0.2 | -0.2 | +1.6 | +0.3 | +1.6 | +1.9 |
| Gem. | -6.7 | -35.5 | -3.6 | +13.4 | -9.1 | +7.2 | +18.1 |
| WebShop | |||||||
| 4B | -5.1 | +31.2 | -5.3 | -10.5 | +5.3 | -10.2 | +9.9 |
| 8B | -22.0 | -47.0 | +31.8 | +12.8 | +13.5 | -0.3 | -39.6 |
| 14B | -15.7 | -25.3 | +3.9 | -9.2 | +10.9 | +5.7 | +3.8 |
| 32B | -3.6 | -32.3 | +3.6 | +5.3 | +5.9 | -6.6 | -15.6 |
| DS | -0.2 | +2.0 | +1.4 | +1.6 | -0.9 | +0.9 | +1.9 |
| Gem. | -1.6 | +5.3 | -5.3 | -2.6 | +2.6 | -9.9 | +3.9 |
| ScienceWorld | |||||||
| 4B | -5.9 | -72.9 | +5.2 | -18.1 | +3.5 | +12.5 | +11.1 |
| 8B | +3.0 | +10.5 | +4.9 | +4.6 | +1.3 | +5.9 | 0.0 |
| 14B | -14.7 | +0.4 | -5.4 | -25.0 | +18.8 | -0.9 | -7.1 |
| 32B | -1.2 | -71.4 | -4.7 | +1.7 | -2.4 | +8.7 | +0.7 |
| DS | -1.0 | +2.3 | +0.7 | -2.0 | +1.3 | +2.6 | +2.6 |
| Gem. | 0.0 | -5.5 | +3.5 | -7.0 | -1.6 | -9.4 | +17.2 |
| Φ | R | Ψ | Φ×R | Φ×Ψ | R×Ψ | Φ×R×Ψ | |
(b) Admission rate
| Component effects | Interaction effects | |||||
|---|---|---|---|---|---|---|
| ALF World | ||||||
| +1.6 | +4.9 | +6.6 | -6.7 | -12.4 | -12.1 | +24.5 |
| +0.7 | -4.8 | +1.9 | +3.5 | -1.3 | +1.7 | -6.8 |
| -0.2 | +3.7 | -2.8 | -0.8 | +6.4 | -15.2 | -14.9 |
| -2.4 | +4.8 | +1.9 | +0.4 | -5.1 | -3.1 | -6.2 |
| -0.5 | -0.2 | -0.2 | +0.9 | -0.3 | -1.0 | -1.9 |
| -4.7 | -1.8 | +1.8 | -1.8 | +1.8 | -2.4 | -8.6 |
| WebShop | ||||||
| -1.2 | +1.4 | +0.4 | +0.4 | +2.7 | +0.1 | +1.3 |
| -1.2 | -0.2 | +1.2 | -0.4 | +2.4 | +0.4 | +0.8 |
| +0.6 | +10.5 | -5.4 | -5.6 | +15.9 | +7.8 | -37.8 |
| -1.2 | +3.5 | +0.2 | -0.1 | -2.2 | -1.7 | -0.6 |
| 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| +1.6 | -1.6 | +0.6 | +3.3 | -1.3 | +1.3 | -2.6 |
| ScienceWorld | ||||||
| -0.9 | -8.4 | +2.0 | -1.8 | -1.0 | +4.0 | -1.9 |
| -1.3 | -12.4 | +0.5 | -9.5 | -0.6 | -2.5 | +2.1 |
| +2.1 | -2.4 | +1.8 | +4.1 | -3.3 | -3.4 | +1.3 |
| +2.2 | -3.8 | +0.2 | -6.5 | +1.0 | -1.1 | +5.3 |
| 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| +3.2 | +4.4 | +1.6 | -3.9 | -0.4 | +10.5 | -7.3 |
| Φ | R | Ψ | Φ×R | Φ×Ψ | R×Ψ | Φ×R×Ψ |
Figure 3: Component and interaction effects on local response behavior. Effects on (a) realization failure and (b) admission given decoding are shown for presentation , realization , and feedback . Main effects compare CLI with MCP while averaging over the remaining blocks. Interaction terms capture non-additivity under the factorial coding. Each panel uses a symmetric percentage-point scale centered at zero.
Local interface effects are large and strongly compositional. Figure 3 separates presentation, realization, and feedback at matched decision states. Realization produces the largest local shifts in several strata. Its realization-failure effect reaches 84.4 percentage points for ALFWorld/Qwen3-32B and 72.9 points for ScienceWorld/Qwen3-4B. Interaction terms are also substantial. For example, the three-way interaction in WebShop/Qwen3-14B changes admission by 37.8 points. The behavioral effect of each interface component therefore depends on the surrounding interface configuration.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Local divergence propagates through the interaction trajectory. Across 2,004 paired MCP–CLI episodes, 1,889 (94.3%) exhibit a structured divergence, with first divergence occurring near the beginning of interaction across model–environment strata (Appendix A.3). Semantic-action differences account for the dominant share of divergent pairs, with realization differences providing a recurring second source. After divergence, the paired trajectories accumulate different token costs and attempt counts and reach distinct terminal outcomes across settings. MICA thereby connects matched-state interface sensitivity to the trajectory-level performance and cost differences observed in Section 6.1.
6.4 DART Evaluation
(a) Score
Base
DART

(b) Token cost

Figure 4: Effect of DART on task performance and interaction cost. Each Gemini-2.5-Flash Base–DART pair matches the benchmark, interface, task set, generation settings, and episode budget. Labels show the DART-minus-Base change.
DART improves task performance in every evaluated setting. Figure 4 reports gains of +1.5/+9.0 points on ALFWorld, +0.8/+4.4 on WebShop, and +6.7/+5.3 on ScienceWorld for CLI/MCP, respectively. Under MCP, these gains are accompanied by token reductions of 27.1k, 11.2k, and 4.3k per task across the three environments. Under CLI, token cost changes by -0.8k, +4.8k, and +1.6k.
Commitment preservation concentrates recovery at the realization boundary. DART keeps the validated semantic commitment fixed and changes only its interface-specific realization. The event-level analysis in Appendix A.4 shows that 71–100% of triggered interventions are admitted on the first realization, and three of the four preserving-correction opportunities are admitted after a single correction. The preserving branch therefore resolves interface-specific realization failures while keeping semantic selection fixed, directly linking the mechanism identified by MICA to the score improvements in Figure 4.
7 Discussion
Interface representation is part of the decision process. Under matched executable capabilities, MCP and CLI share the same semantic action contract and downstream runtime yet induce different policies because they present, realize, and return feedback about those capabilities differently. Interface design should therefore be treated as part of the agent's decision environment rather than as a passive access layer.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Trajectory-level behavior emerges from local interface effects. MICA links local sensitivity to downstream behavior by combining matched-state probes with paired natural trajectories. Presentation, realization, and feedback can change a local response, after which the resulting history and state condition subsequent decisions. Later semantic realignment can occur after the trajectories have already followed different histories, making the trajectory the appropriate unit for analyzing interactive agent behavior.
Semantic commitment separates decision from realization during recovery. DART turns this distinction into an explicit controller boundary. Once a semantic action is validated, recovery preserves that commitment and repairs only its interface-specific realization. Language-agent controllers can improve recovery by preserving established semantic decisions and restricting repair to the representation-specific component that requires correction.
8 Conclusion
Our study establishes interface representation as a consequential component of interactive language-agent behavior under matched executable capabilities. MICA combines contract-matched interfaces, matched-state probes, and paired natural trajectories to connect local representational sensitivity with downstream differences in semantic decisions, recovery, interaction cost, and task outcomes. Building on this mechanism, DART preserves validated semantic commitments while repairing interface-specific realization and improves benchmark score in all six evaluated benchmark-interface settings. Together, these results show that interface design shapes the effective decision environment through which an agent acts. For interactive language agents, how capabilities are represented is part of how the resulting policy is realized through interaction.
Ethics Statement
This work operates within existing action, validation, and execution boundaries and does not expand the executable capabilities available to the agent. MICA varies only the model-facing representation of a shared semantic action contract while preserving the underlying capability set and downstream runtime. DART likewise operates within the same contract and execution pipeline by preserving validated semantic commitments during interface-specific realization repair. The study therefore focuses on understanding and improving the reliability of tool-mediated agent interaction without introducing additional action authority or altering the safeguards defined by the evaluation environment.
Reproducibility Statement
We provide the experimental details required to reproduce the study throughout the main paper and appendices. Section 3 defines the semantic comparison boundary, interface factorization, and consequential divergence. Section 4 specifies MICA and DART, while Section 5 summarizes the controlled evaluation setting. Appendix B provides the task sets, generation settings, interaction budgets, evaluation protocols, metrics, and statistical analysis. Appendix C specifies the contract-matched MCP and CLI construction and conformance checks. Appendix D gives the DART controller, trigger configuration, and evaluation protocol. Appendix E provides the ordinary policy and phase-specific response contracts used in the experiments. The code is available in our repository.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
AI Use Statement
Generative AI tools were used as assistive tools during the preparation of this work, including language polishing, code implementation assistance, and the preparation of figures. All AI-assisted material was reviewed and incorporated by the authors, who retain full responsibility for the technical content and final presentation of the paper.
References
[1] 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, 2023.
[2] Jiarui Lu, Thomas Holleis, 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 Findings of the Association for Computational Linguistics: NAACL 2025, pages 1160–1183, 2025.
[3] Minghao Li, Yingxiu Zhao, Bowen Yu, Feifan Song, Hangyu Li, Haiyang Yu, Zhoujun Li, Fei Huang, and Yongbin Li. API-Bank: A comprehensive benchmark for tool-augmented LLMs. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 3102–3116, 2023.
[4] Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, Minlie Huang, Yuxiao Dong, and Jie Tang. AgentBench: Evaluating LLMs as agents. In International Conference on Learning Representations, 2024.
[5] Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, and Heng Ji. Executable code actions elicit better LLM agents. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 50208–50232, 2024.
[6] Siyu Yuan, Kaitao Song, Jiangjie Chen, Xu Tan, Yongliang Shen, Kan Ren, Dongsheng Li, and Deqing Yang. EASYTOOL: Enhancing LLM-based agents with concise tool instruction. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 951–972. Association for Computational Linguistics, 2025.
[7] Thierry Blankenstein, Jialin Yu, Zixuan Li, Vassilis Plachouras, Sunando Sengupta, Philip Torr, Yarin Gal, Alasdair Paren, and Adel Bibi. BiasBusters: Uncovering and mitigating tool selection bias in large language models. In International Conference on Learning Representations, 2026.
[8] John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems, volume 37, 2024.
[9] Anthropic. Introducing the Model Context Protocol. Anthropic announcement, 2024. URL https://www.anthropic.com/news/model-context-protocol. Accessed 2026-08-26.
[10] Model Context Protocol Contributors. Model Context Protocol specification: Tools. Protocol revision 2026-07-28, 2026. URL https://modelcontextprotocol.io/specification/2026-07-28/server/tools. Accessed 2026-08-26.
[11] Anthropic. Claude 3.7 Sonnet and Claude Code. Anthropic announcement, 2025. URL https://www.anthropic.com/news/claude-3-7-sonnet. Accessed 2026-08-26.
[12] Anthropic. Remote MCP support in Claude Code. Anthropic announcement, 2025. URL https://claude.com/blog/claude-code-remote-mcp. Accessed 2026-08-26.
[13] Taylor Mullen and Ryan J. Salva. Gemini CLI: Your open-source AI agent. Google announcement, 2025. URL https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/. Accessed 2026-08-26.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
[14] GitHub. GitHub Copilot CLI is now in public preview. GitHub Changelog, 2025. URL https://github.blog/changelog/2025-09-25-github-copilot-cli-is-now-in-public-preview/. Accessed 2026-08-26.
[15] OpenAI. Codex CLI: Frontier reasoning in the terminal. OpenAI announcement, 2025. URL https://openai.com/index/introducing-o3-and-o4-mini/. Accessed 2026-08-26.
[16] Patrice Béchard, Orlando Marquez Ayala, Emily Chen, Jordan Skelton, Sagar Davasam, Srinivas Sunkara, Vikas Yadav, and Sai Rajeswar. Terminal agents suffice for enterprise automation. arXiv preprint arXiv:2604.00073, 2026.
[17] Marc Alier Forment, María José Casañ Guerrero, Francisco José García-Peñalvo, and Juanan Pereira. The scaffolding matters more than the interface: A controlled comparison of MCP and CLI tool use across seven agent scaffoldings, five language models, and one software task. arXiv preprint arXiv:2608.08654, 2026.
[18] Xiangzhe Xu, Hamidreza Saghir, Qianhui Wu, Marc-Alexandre Côté, Tong Wang, Kiran Lakkaraju, Kexin Pei, and Xiangyu Zhang. The devil is in the interface: Evaluating how tool architecture shapes coding agent behavior. arXiv preprint arXiv:2608.11386, 2026.
[19] Zhenting Wang, Qi Chang, Hemani Patel, Shashank Biju, Cheng-En Wu, Quan Liu, Aolin Ding, Alireza Rezazadeh, Ankit Parag Shah, Yujia Bao, and Eugene Siow. MCP-Bench: Benchmarking tool-using LLM agents with complex real-world tasks via MCP servers. In International Conference on Learning Representations, 2026.
[20] Shishir G. Patil, Huanzhi Mao, 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 Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 48371–48392, 2025.
[21] Xingyao Wang, Zihan Wang, Jiateng Liu, Yangyi Chen, Lifan Yuan, Hao Peng, and Heng Ji. MINT: Evaluating LLMs in multi-turn interaction with tools and language feedback. In International Conference on Learning Representations, 2024.
[22] Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. -bench: A benchmark for tool-agent-user interaction in real-world domains. In International Conference on Learning Representations, 2025.
[23] Debangshu Banerjee, Tarun Suresh, Shubham Ugare, Sasa Misailovic, and Gagandeep Singh. CRANE: Reasoning with constrained LLM generation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 2836–2857, 2025.
[24] Takyoung Kim, Jinseok Nam, Chandrayee Basu, Xing Fan, Chengyuan Ma, Heng Ji, Gokhan Tur, and Dilek Hakkani-Tür. ReIn: Conversational error recovery with reasoning inception. In International Conference on Learning Representations, 2026.
[25] Zijian Wu, Xiangyan Liu, Xinyuan Zhang, Lingjun Chen, Fanqing Meng, Lingxiao Du, Yiran Zhao, Fanshi Zhang, Yaoqi Ye, Jiawei Wang, Zirui Wang, Jinjie Ni, Yufan Yang, Arvin Xu, and Michael Qizhe Shieh. MCPMark: A benchmark for stress-testing realistic and comprehensive MCP use. In International Conference on Learning Representations, 2026.
[26] Zikang Guo, Benfeng Xu, Chiwei Zhu, Wentao Hong, Xiaorui Wang, and Zhendong Mao. MCP-AgentBench: Evaluating real-world language agent performance with MCP-mediated tools. Proceedings of the AAAI Conference on Artificial Intelligence, 40(37):30888–30896, 2026.
[27] Ziyang Luo, Zhiqi Shen, Wenzhuo Yang, Zirui Zhao, Prathyusha Jwalapuram, Amrita Saha, Doyen Sahoo, Silvio Savarese, Caiming Xiong, and Junnan Li. MCP-Universe: Benchmarking large language models with real-world Model Context Protocol servers. arXiv preprint arXiv:2508.14704, 2025.
[28] John Yang, Akshara Prabhakar, Karthik Narasimhan, and Shunyu Yao. InterCode: Standardizing and benchmarking interactive coding with execution feedback. In Advances in Neural Information Processing Systems, volume 36, 2023.
[29] Mike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, et al. Terminal-Bench: Benchmarking agents on hard, realistic tasks in command line interfaces. In International Conference
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
on Learning Representations, 2026.
[30] Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. ALFWorld: Aligning text and embodied environments for interactive learning. In International Conference on Learning Representations, 2021.
[31] Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. WebShop: Towards scalable real-world web interaction with grounded language agents. In Advances in Neural Information Processing Systems, volume 35, 2022.
[32] Ruoyao Wang, Peter Jansen, Marc-Alexandre Côté, and Prithviraj Ammanabrolu. ScienceWorld: Is your agent smarter than a 5th grader? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11279–11298, 2022.
[33] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
[34] DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026.
[35] Gheorghe Comanici, Eric Bieber, Mike Schaekermann, et al. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261, 2025.
[36] Bradley Efron. Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1):1–26, 1979.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Appendix
A Supplementary Results by Research Question ..... 16
A.1 RQ1: Endpoint Performance and Interaction Cost ..... 16
A.2 RQ2: Semantic Decisions, Failures, and Recovery ..... 17
A.3 RQ3: Local Origins and Downstream Propagation ..... 19
A.4 RQ4: Commitment-Preserving Realization with DART ..... 23
B Experimental Protocol and Statistical Analysis ..... 25
B.1 Evaluation Suite and Controlled Comparison ..... 25
B.2 Generation, Context, and Interaction Budgets ..... 26
B.3 Paired Episode Evaluation Protocol ..... 26
B.4 Matched-State Probe Protocol ..... 26
B.5 Metrics and Statistical Analysis ..... 27
C Contract-Matched Interface Construction ..... 28
C.1 Shared Semantic Boundary ..... 28
C.2 Surface Rendering and Conformance Checks ..... 29
C.3 Benchmark-Specific Contract Realizations ..... 29
C.4 Worked Round-Trip Example ..... 30
D DART: Controller, Triggers, and Evaluation Protocol ..... 31
D.1 Commitment-Preserving Realization ..... 31
D.2 Error-Triggered Controller ..... 31
D.3 Trigger Scope and Benchmark Instantiation ..... 32
D.4 RQ4 Paired Evaluation ..... 32
E Prompt Templates and Response Contracts ..... 33
E.1 Prompt Assembly and Ordinary Policy ..... 33
E.2 Semantic Selection Contract ..... 33
E.3 Realization and Preserving Correction ..... 34
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
A Supplementary Results by Research Question
This appendix extends the main-text results with finer-grained evidence for the four research questions. RQ1 resolves endpoint performance and interaction cost to individual tasks and resource components. RQ2 follows the interaction pipeline from semantic action selection through failure and recovery. RQ3 localizes interface sensitivity at matched decision states and traces how the first consequential divergence propagates through natural trajectories. RQ4 then examines how DART acts at the realization boundary identified by this analysis.
A.1 RQ1: Endpoint Performance and Interaction Cost
Interface representation reshapes token use at the task level. Figure S1 resolves the aggregate token costs in Table 1 into paired task-level effects. The distributions show substantial within-stratum variation. MCP uses more tokens on some tasks and fewer on others even for the same model and environment. The aggregate cost differences in Table 1 therefore arise from systematic shifts in the distribution of task-level interaction rather than from a uniform interface overhead.
(a) ALFWorld
| Mean | |
|---|---|
| Qwen3-4B | +0.011 |
| Qwen3-8B | +0.383 |
| Qwen3-14B | +0.304 |
| Qwen3-32B | -0.057 |
| DeepSeek-v4-Flash | +0.005 |
| Gemini-2.5-Flash | -0.143 |
(b) WebShop
| Mean | |
|---|---|
| Qwen3-4B | -0.085 |
| Qwen3-8B | -0.135 |
| Qwen3-14B | -0.893 |
| Qwen3-32B | -0.004 |
| DeepSeek-v4-Flash | -0.018 |
| Gemini-2.5-Flash | +0.019 |
(c) ScienceWorld
| Mean | |
|---|---|
| Qwen3-4B | -0.159 |
| Qwen3-8B | +0.268 |
| Qwen3-14B | +0.055 |
| Qwen3-32B | -0.023 |
| DeepSeek-v4-Flash | +0.019 |
| Gemini-2.5-Flash | -0.058 |
Paired token effect: (MCP / CLI)
- < 0: MCP uses fewer tokens
-
0: MCP uses more tokens
Figure S1. Paired task-level token effects for the CLI/MCP configurations in Tables 1 and S1. Each point reports for one task after within-task replicate averaging. Negative values indicate lower token use under MCP and positive values indicate higher token use. The right column reports the model-level mean within each environment.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Interaction cost is shaped jointly by call frequency and token use per call. Table S1 decomposes total token use into the number of model calls and the tokens consumed per call, revealing distinct mechanisms behind the endpoint cost shifts. On ALFWorld, Qwen3-14B under MCP increases from 46.9 to 57.1 calls per task while tokens per call remain nearly unchanged (4.46k versus 4.50k), showing that its higher cost is driven primarily by a longer interaction trajectory. On WebShop, the same model shows the opposite pattern. MCP reduces both calls per task (14.2 → 9.6) and tokens per call (4.26k → 3.23k), producing a substantially lighter interaction profile. These results show that interface representation changes not only how much computation an agent consumes, but also how that computation is distributed across the trajectory.
Table S1. Secondary endpoint and resource statistics for the CLI/MCP settings in Table 1. We report task success, model calls per task, and tokens per call. Parenthesized values give the MCP-minus-CLI difference for each metric.
| Model | Success (%) | Calls / task | Tokens / call (k) | |||
|---|---|---|---|---|---|---|
| CLI | MCP (Δ) | CLI | MCP (Δ) | CLI | MCP (Δ) | |
| ALFWorld | ||||||
| Qwen3-4B | 44.8 | 41.8 (-3.0) | 53.1 | 51.5 (-1.6) | 5.96 | 6.23 (+0.27) |
| Qwen3-8B | 44.8 | 35.1 (-9.7) | 47.3 | 53.2 (+5.9) | 5.34 | 5.89 (+0.56) |
| Qwen3-14B | 56.7 | 20.1 (-36.6) | 46.9 | 57.1 (+10.2) | 4.46 | 4.50 (+0.04) |
| Qwen3-32B | 73.9 | 78.4 (+4.5) | 27.8 | 26.6 (-1.2) | 3.54 | 3.50 (-0.04) |
| DeepSeek-v4-Flash | 99.3 | 95.5 (-3.7) | 15.2 | 15.3 (+0.1) | 3.10 | 3.08 (-0.02) |
| Gemini-2.5-Flash | 56.7 | 67.2 (+10.4) | 30.2 | 27.1 (-3.1) | 3.48 | 3.55 (+0.07) |
| WebShop | ||||||
| Qwen3-4B | 17.0 | 22.0 (+5.0) | 8.6 | 7.9 (-0.7) | 3.49 | 3.48 (-0.01) |
| Qwen3-8B | 23.0 | 21.0 (-2.0) | 14.4 | 12.7 (-1.7) | 4.48 | 4.48 (-0.01) |
| Qwen3-14B | 22.0 | 35.0 (+13.0) | 14.2 | 9.6 (-4.6) | 4.26 | 3.23 (-1.03) |
| Qwen3-32B | 35.0 | 39.0 (+4.0) | 13.8 | 14.0 (+0.2) | 4.33 | 4.53 (+0.19) |
| DeepSeek-v4-Flash | 79.0 | 82.0 (+3.0) | 11.2 | 10.9 (-0.3) | 4.13 | 4.10 (-0.03) |
| Gemini-2.5-Flash | 77.0 | 74.0 (-3.0) | 9.1 | 8.4 (-0.7) | 3.57 | 3.92 (+0.35) |
| ScienceWorld | ||||||
| Qwen3-4B | 26.0 | 24.0 (-2.0) | 17.0 | 16.3 (-0.8) | 6.00 | 6.21 (+0.21) |
| Qwen3-8B | 35.0 | 37.0 (+2.0) | 14.0 | 15.8 (+1.9) | 5.48 | 6.01 (+0.53) |
| Qwen3-14B | 28.0 | 24.0 (-4.0) | 14.0 | 13.8 (-0.2) | 4.78 | 5.06 (+0.28) |
| Qwen3-32B | 46.0 | 47.0 (+1.0) | 14.7 | 13.9 (-0.8) | 5.31 | 5.76 (+0.44) |
| DeepSeek-v4-Flash | 64.0 | 66.0 (+2.0) | 13.6 | 12.7 (-0.8) | 6.51 | 6.74 (+0.23) |
| Gemini-2.5-Flash | 42.0 | 48.0 (+6.0) | 10.5 | 9.1 (-1.4) | 5.87 | 6.31 (+0.44) |
A.2 RQ2: Semantic Decisions, Failures, and Recovery
Interface representation changes semantic action selection beyond surface decoding. Figure S2 compares operation frequencies among responses that decode into typed proposals, isolating semantic choice from surface-format failure. The resulting shifts are structured but model- and environment-dependent. On WebShop, for example, Qwen3-14B moves by +6 percentage points toward click and -6 points from search under MCP. ALFWorld and ScienceWorld show broader redistributions across navigation, inspection, manipulation, and other operations.
Interfaces reshape both failure frequency and failure pathway. Table S2 complements Figure 2 by measuring how often attempts fail, while the main-text figure resolves where those failures occur in the action pipeline. WebShop provides a clear example. MCP has lower attempt-level failure rates for all six models, with absolute reductions ranging from 1.1 to 8.9 percentage points. At the same time, the composition of the remaining failures differs markedly across models, shifting among decoding, availability, execution, generation, and retry stages.
Recovery dynamics separate immediate correction from downstream task progress. Figures S3 and S4 trace what happens after an eligible failure. The next response can preserve the decision and repair its realization, change the semantic action, repeat the error, or move into a
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents

Figure S2. MCP-minus-CLI changes in semantic action-selection frequency (%), conditional on successful decoding. Models are shown by row and operations by environment. The Other category aggregates the remaining operations.
Table S2. Attempt-level failure rates (%) under CLI and MCP, including retry attempts. reports the MCP-minus-CLI difference.
| Model | ALFWorld | WebShop | ScienceWorld | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CLI | MCP | CLI | MCP | CLI | MCP | ||||
| Qwen3-4B | 31.4 | 29.6 | -1.9 | 20.8 | 12.1 | -8.8 | 22.3 | 23.8 | +1.5 |
| Qwen3-8B | 20.3 | 23.2 | +2.9 | 31.2 | 22.4 | -8.9 | 22.2 | 20.2 | -2.0 |
| Qwen3-14B | 22.6 | 22.6 | 0.0 | 12.0 | 10.8 | -1.1 | 20.9 | 20.7 | -0.2 |
| Qwen3-32B | 5.7 | 4.6 | -1.2 | 14.2 | 10.9 | -3.2 | 6.4 | 7.7 | +1.4 |
| DeepSeek-v4-Flash | 3.7 | 2.1 | -1.6 | 3.5 | 1.3 | -2.2 | 7.4 | 6.3 | -1.1 |
| Gemini-2.5-Flash | 1.5 | 2.1 | +0.6 | 1.5 | 0.4 | -1.2 | 10.1 | 9.1 | -1.1 |


Recovery pathway share (%)
Figure S3. Recovery pathways following eligible failures under CLI and MCP. Bars report the share of failures followed by no retry, semantic action change, accepted repair, repeated error, or a different error.
different failure mode. On WebShop/Qwen3-4B, for example, retry acceptance is 50% under CLI and 77% under MCP, while later task success is 18% and 34%, respectively. Across settings,
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
(a) ALFWorld
| Qwen3-4B | 46 | 46 | 20 | 17 |
|---|---|---|---|---|
| Qwen3-8B | 61 | 53 | 23 | 23 |
| Qwen3-14B | 62 | 57 | 38 | 12 |
| Qwen3-32B | 92 | 90 | 40 | 53 |
| DeepSeek-v4-Flash | 85 | 89 | 89 | 53 |
| Gemini-2.5-Flash | 95 | 91 | 38 | 30 |
(b) WebShop
| 50 | 77 | 18 | 34 |
|---|---|---|---|
| 42 | 35 | 5 | 27 |
| 78 | 75 | 14 | 6 |
| 73 | 72 | 18 | 26 |
| 100 | 100 | 36 | 14 |
| 100 | 100 | 64 | 0 |
(c) ScienceWorld
| 63 | 53 | 12 | 0 |
|---|---|---|---|
| 60 | 63 | 15 | 2 |
| 74 | 72 | 13 | 6 |
| 88 | 76 | 31 | 22 |
| 78 | 91 | 27 | 30 |
| 83 | 70 | 20 | 19 |
Rate (%)
| Retry acceptance | Later success |
| Retry acceptance | Later success |
CLI MCP
(d) ALFWorld

(e) WebShop
(f) ScienceWorld
Figure S4. Immediate retry acceptance, later task success, and mean retry token cost following eligible failures. Whiskers denote 95% task-cluster bootstrap intervals.
the two rates move on different scales, showing that recovery unfolds in stages, first restoring an admissible action, then converting that local repair into useful trajectory progress.
A.3 RQ3: Local Origins and Downstream Propagation
Interface components interact strongly at matched decision states. The main-text factorial analysis summarizes the component and interaction effects, while Figure S5 exposes the eight matched-state response profiles from which those contrasts arise. Realization is especially sensitive to its surrounding interface context. For Qwen3-32B on ALFWorld, switching only the realization protocol from MCP to CLI changes realization failure from 1% to 87% under MCP presentation and from 0% to 89% under CLI presentation. Across models and environments, admission and semantic-action entropy shift alongside realization failure, showing that presentation, realization, and feedback jointly shape both whether an action is successfully expressed and how decoded semantic actions are distributed. The behavioral consequence of one interface component depends on the configuration around it.
Consequential divergence is widespread and emerges early. Across the 2,004 paired MCP–CLI trajectories, 1,889 (94.3%) exhibit an observed structured divergence. Figure S7 further shows that the first divergence appears near the beginning of interaction across model–environment strata, with semantic-action differences accounting for most divergent pairs and realization differences forming a smaller but recurrent component.
Early divergence reshapes the remainder of the interaction trajectory. Figure S6 tracks the natural suffix after the first consequential difference. Once the paired runs separate, they accumulate different token costs and attempt counts and can reach different terminal outcomes. The magnitude and direction of these changes vary across models and environments. Figure S7(c) adds a complementary view. Semantic actions can align again later, but the extent of that later
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
(a) Realization failure
| ALFWorld | ||||||||
|---|---|---|---|---|---|---|---|---|
| 4B | 34 | 9 | 92 | 96 | 44 | 52 | 94 | 99 |
| 8B | 19 | 12 | 66 | 70 | 69 | 59 | 74 | 73 |
| 14B | 49 | 53 | 58 | 53 | 49 | 76 | 57 | 69 |
| 32B | 1 | 3 | 87 | 84 | 0 | 1 | 89 | 82 |
| DS | 2 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| Gem. | 0 | 0 | 21 | 37 | 0 | 0 | 43 | 41 |
| WebShop | ||||||||
| 4B | 29 | 34 | 5 | 5 | 34 | 49 | 5 | 5 |
| 8B | 28 | 0 | 79 | 31 | 47 | 12 | 91 | 76 |
| 14B | 62 | 49 | 88 | 83 | 76 | 76 | 95 | 98 |
| 32B | 3 | 3 | 39 | 26 | 4 | 3 | 39 | 39 |
| DS | 4 | 2 | 0 | 0 | 3 | 1 | 2 | 0 |
| Gem. | 0 | 8 | 0 | 0 | 1 | 13 | 0 | 1 |
| ScienceWorld | ||||||||
| 4B | 19 | 3 | 92 | 94 | 30 | 23 | 90 | 90 |
| 8B | 25 | 16 | 9 | 7 | 19 | 12 | 8 | 7 |
| 14B | 11 | 9 | 25 | 19 | 30 | 44 | 16 | 32 |
| 32B | 1 | 2 | 67 | 77 | 2 | 1 | 70 | 78 |
| DS | 4 | 1 | 1 | 1 | 5 | 4 | 1 | 1 |
| Gem. | 6 | 4 | 16 | 12 | 6 | 11 | 17 | 4 |
(b) Admission rate
| ALFWorld | |||||||
|---|---|---|---|---|---|---|---|
| 94 | 94 | 93 | 92 | 96 | 95 | 100 | 75 |
| 96 | 96 | 100 | 98 | 96 | 91 | 100 | 100 |
| 89 | 100 | 97 | 85 | 90 | 100 | 90 | 92 |
| 92 | 96 | 90 | 88 | 99 | 94 | 94 | 90 |
| 99 | 100 | 99 | 99 | 99 | 99 | 100 | 100 |
| 93 | 94 | 99 | 93 | 100 | 98 | 100 | 100 |
| WebShop | |||||||
| 98 | 96 | 96 | 95 | 98 | 99 | 97 | 97 |
| 100 | 97 | 100 | 98 | 100 | 100 | 100 | 100 |
| 96 | 99 | 94 | 86 | 100 | 100 | 73 | 100 |
| 94 | 96 | 92 | 92 | 97 | 96 | 94 | 92 |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| 100 | 100 | 100 | 100 | 98 | 95 | 100 | 100 |
| ScienceWorld | |||||||
| 92 | 89 | 100 | 100 | 95 | 90 | 100 | 100 |
| 64 | 65 | 82 | 81 | 70 | 71 | 79 | 77 |
| 90 | 91 | 92 | 90 | 87 | 86 | 94 | 88 |
| 94 | 92 | 100 | 100 | 93 | 95 | 95 | 94 |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| 98 | 93 | 92 | 94 | 98 | 89 | 85 | 90 |
(c) Action entropy
| ALFWorld | |||||||
|---|---|---|---|---|---|---|---|
| 0.9 | 0.9 | 0.4 | 0 | 0.7 | 1 | 0.2 | 0 |
| 0.6 | 0.7 | 0.5 | 0.5 | 0.8 | 0.5 | 0.6 | 0.4 |
| 0.8 | 0.4 | 0.5 | 0.6 | 0.4 | 0.2 | 0.6 | 0.7 |
| 1 | 0.9 | 0.2 | 0.7 | 0.9 | 1 | 0.4 | 0.3 |
| 0.4 | 0.5 | 0.4 | 0.5 | 0.4 | 0.6 | 0.5 | 0.5 |
| 0.2 | 0.3 | 0.1 | 0.1 | 0.1 | 0.2 | 0 | 0 |
| WebShop | |||||||
| 1.3 | 1.4 | 1.2 | 1.5 | 1.3 | 1.1 | 1.3 | 1.5 |
| 1.2 | 1.3 | 1.9 | 1.3 | 1.2 | 1.3 | 1.5 | 1.2 |
| 2.3 | 1.6 | 1.8 | 1.8 | 3.1 | 2.6 | 1.3 | 1.6 |
| 1.4 | 1.3 | 1.3 | 1.1 | 1.4 | 1.4 | 1.4 | 1 |
| 1.1 | 1.1 | 1.1 | 1 | 1 | 0.9 | 0.9 | 1 |
| 0.1 | 0.1 | 0.2 | 0.1 | 0.2 | 0.5 | 0.3 | 0.3 |
| ScienceWorld | |||||||
| 1.1 | 0.8 | 0.5 | 0.5 | 0.9 | 0.7 | 0.5 | 0.3 |
| 1 | 0.8 | 0.5 | 0.6 | 0.8 | 0.8 | 0.5 | 0.6 |
| 0.9 | 0.8 | 0.8 | 0.7 | 0.7 | 0.8 | 0.8 | 0.8 |
| 1.1 | 0.9 | 0.8 | 0.4 | 1.1 | 1.2 | 0.8 | 1 |
| 0.2 | 0.3 | 0.3 | 0.2 | 0.3 | 0.3 | 0.3 | 0.2 |
| 0.2 | 0.1 | 0.2 | 0.1 | 0.2 | 0.3 | 0.2 | 0.2 |
| C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 |
| 0 | 50 | 100 |
|---|---|---|
| Failure (%) | ||
| 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|
| Admission (%) | ||||
| 0 | 0.8 | 1.6 | 2.4 | 3.2 |
|---|---|---|---|---|
| Entropy (bits) | ||||
Figure S5. Matched-state response profiles for the eight combinations of presentation , realization , and feedback . Panels report realization failure, admission after decoding, and semantic-action entropy. C1–C8 correspond to MMM, MMC, MCM, MCC, CMM, CMC, CCM, and CCC, where M/C denotes MCP/CLI.
- ALFWorld
■ WebShop
▲ ScienceWorld
(a) Later tokens

(b) Later attempts
(c) Terminal success

Figure S6. Post-divergence MCP-minus-CLI differences in charged tokens, interaction attempts, and terminal success. Shapes identify environments and whiskers denote 95% paired-task bootstrap intervals.
agreement differs substantially across strata. Together, these results show how a local interface difference changes the history conditioning subsequent decisions, producing persistent, path-dependent differences in interaction cost and task outcome.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Action difference Realization difference No observed divergence
(a) Divergence status

(b) Divergence timing
(c) Later action match
Figure S7. Structure of natural MCP–CLI divergence across 2,004 paired trajectories. Panels show (a) divergence type, (b) mean first-divergence step, and (c) later semantic-action agreement. Whiskers denote 95% task-cluster bootstrap intervals.
Paired trajectories make the propagation mechanism concrete. Example S1 shows a WebShop CLI quoting failure that forces a retry and redirects subsequent interaction, while the paired MCP trajectory proceeds to task success. Example S2 shows the complementary pattern. An earlier ScienceWorld divergence is followed by the same later choose-0 semantic action, and both trajectories ultimately succeed. Together, the examples illustrate two complementary propagation patterns—divergence that persists into the endpoint and divergence that is partially absorbed by later interaction.
Example S1. WebShop — a decode failure and retry
| Task | Find me machine wash men's dress shirts with cotton spandex, classic fit, short sleeve with color: delft, and size: x-large, and price lower than 70.00 dollars |
|---|---|
| MCP search | <tool_call>{"name": "webshop__search", "arguments": {"query": "machine wash men's dress shirt cotton spandex classic fit short sleeve delft x-large"}}</tool_call>Observation:[...]Page 1 (Total results: 50)[...] |
| CLI failure | <command>bench webshop search --query 'men's dress shirts cotton spandex classic fit short sleeve delft x-large"</command> |
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Example S1. WebShop — a decode failure and retry (continued)
| CLI feedback | CLI validation error [surface.invalid_argv] at surface_decode. Constraint: surface_response_contract. invalid argv quoting: No closing quotation State transition: unchanged. Retryable: true. Allowed values: search, click. Correction: Current semantic operations: search, click.; Use exactly one current operation and all required arguments.; Return exactly one <command>argv command</command> and no other text; each flag must have one value, and quote every multiword string value with POSIX single quotes. |
|---|---|
| CLI retry | <command>bench webshop search --query 'mens dress shirts cotton spandex classic fit short sleeve delft x-large</command>Observation:[...]Page 1 (Total results: 50)[...] |
| MCP next action | <tool_call>{"name": "webshop__click", "arguments": {"target": "b085wqkrrj"}}</tool_call>Observation:[...]CLANMILUMS Men's Classic Comfort Soft Regular Fit Short Sleeve Henley T-Shirt Tee Price: 19.99[...] |
| Outcome | MCP: task success.CLI: no task success; the environment-step limit is reached. |
Example S2. ScienceWorld — later action agreement
| Task | Your task is to grow a orange plant from seed. Seeds can be found in the greenhouse. First, focus on a seed. Then, make changes to the environment that grow the plant until it reaches the reproduction life stage. |
|---|---|
| Shared prefix | $MCP:<tool_call>{"name": "scienceworld_go_to", "arguments": {"destination": "greenhouse"}}</tool_call>CLI:<command>bench scienceworld go-to --destination 'greenhouse'\n</command>Observation:You move to the greenhouse.$ |
| MCP target | <tool_call>{"name": "scienceworld_focus_on", "arguments": {"target": "orange seed in the seed stage"}}</tool_call> |
| CLI target |
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Example S2. ScienceWorld — later action agreement (continued)
| Environment | Ambiguous request: Please enter the number for the action you intended (or blank to cancel):0: focus on orange seed (in seed jar, in greenhouse)1: focus on orange seed (in seed jar, in greenhouse)2: focus on orange seed (in seed jar, in greenhouse)3: focus on orange seed (in seed jar, in greenhouse)4: focus on orange seed (in seed jar, in greenhouse) |
|---|---|
| Later action | MCP:<tool_call>{"name": "scienceworld__choose_0", "arguments": {}} |
| </tool_call>CLI:<command>bench scienceworld choose-0</command> | |
| Environment | You focus on the orange seed. |
| Outcome | Both trajectories eventually succeed. |
A.4 RQ4: Commitment-Preserving Realization with DART
(a) DART outcomes

(b) Token usage

Figure S8. DART trigger outcomes and token use across the six benchmark–interface settings evaluated in Figure 4. (a) Share of triggers admitted on the initial realization, after preserving correction, or released to standard retry. (b) Mean tokens per trigger spent on semantic commitment, realization, and correction.
DART concentrates recovery at the realization boundary while preserving the validated semantic commitment. Across the six benchmark–interface settings, 71–100% of triggered interventions are admitted on the first realization. Among the four interventions that proceed to a preserving-correction opportunity, three are admitted after that single correction. These results show that DART resolves triggered failures primarily by repairing the interface-specific expression while keeping the committed operation and typed arguments fixed.
Recorded trajectories instantiate both successful DART paths. Example S3 shows direct realization. After an ALFWorld/MCP failure, DART commits to alfworld.move, re-expresses the same typed action in a valid tool call, and executes it successfully. Example S4 shows preserving correction. The first WebShop/CLI realization loses the literal apostrophes in 18"x18", while the correction changes only the command expression, preserves webshop.click and the full target
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
value, and is admitted before the agent completes the purchase. These trajectories provide concrete executions of the two success branches summarized in Figure S8.
| Example S3. ALFWorld / MCP — realizing a validated action | |
|---|---|
| Task | cool some mug and put it in coffeemachine. |
| Recent context | Executed: cool mug 1 with fridge 1Observation: You cool the mug 1 using the fridge 1.Executed: go to coffeemachine 1Observation: You arrive at coffeemachine 1. On the coffeemachine 1, you see nothing. |
| Failed output | <tool_call>{{"name": "alfworld__move", "destination": "coffeemachine 1", "object": "mug 1"}}</tool_call> |
| Feedback | tool call must contain exactly name and argumentsThe proposal is rejected before environment execution. |
| Commitment | {"schema_id": "alfworld.move", "arguments": {"object": "mug 1", "destination": "coffeemachine 1"}} |
| Realization | <tool_call>{{"name": "alfworld__move", "arguments": {"destination": "coffeemachine 1", "object": "mug 1"}} |
| </tool_call>Admitted on the first DART realization; no correction call is needed. | |
| Execution | Executed: move mug 1 to coffeemachine 1Observation: You move the mug 1 to the coffeemachine 1.Recorded outcome: task success, score 1.0. |
| Example S4. WebShop / CLI — preserving a quoted option value | |
|---|---|
| Task | Find me super soft decorative pillows for living room with color: lavender, and size: 18"x18", and price lower than 50.00 dollars |
| Current page | You have clicked lavender.[...]size[button] 18"x18" [button_][button] 20"x20" [button_][...]Price: $13.99[...][button] Buy Now [button_] |
| Failed output | <command>bench webshop click --target '18'x18'</command> |
| Feedback | target is not uniquely available in the current stateThe parsed target is 18x18; its literal apostrophes have been lost. |
| Commitment | {"schema_id": "webshop.click", "arguments": {"target": "18'x18"}} |
| First realization | <command>bench webshop click --target '18'x18'</command> |
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
| Example S4. WebShop / CLI — preserving a quoted option value (continued) | |
|---|---|
| Feedback: target is not uniquely available in the current stateThe target is still 18x18, so this realization is not admitted. | |
| Correction | <command>bench webshop click--target '18""""""""x18""""""""</command>Admitted: the parsed target now matches the committed 18''x18''. |
| Environment | You have clicked 18"x18".You have clicked lavender.[...] |
| Next action | <command>bench webshop click --target 'buy now</command>Observation:Thank you for shopping with us![...]Your score (min 0.0, max 1.0)1.0[...] |
DART localizes its additional computation to commitment and realization. The token decomposition in Figure S8(b) shows that commitment formation is the larger component of DART token use in every evaluated stratum, followed by realization, while correction is invoked only for the small subset of triggers that require a second surface attempt. This targeted accounting complements the episode-level results in Figure 4. Under MCP, DART uses fewer total tokens in all three environments. DART improves benchmark score across every evaluated benchmark–interface setting.
B Experimental Protocol and Statistical Analysis
This appendix specifies the controlled evaluation protocol underlying MICA.
B.1 Evaluation Suite and Controlled Comparison
Evaluation suite. The baseline study evaluates six models—Qwen3-4B, Qwen3-8B, Qwen3-14B, Qwen3-32B [33], DeepSeek-v4-Flash, and Gemini-2.5-Flash—on three interactive environments. Each model is evaluated on 134 ALFWorld tasks, 100 WebShop tasks, and 100 ScienceWorld tasks, yielding 2,004 paired MCP–CLI episodes. ALFWorld is evaluated by task success. WebShop uses its native reward and ScienceWorld its native benchmark score, with the latter two reported on a 0–100 scale in the paper. Interaction cost is the total recorded input-plus-output model tokens consumed along a trajectory, including retry and intervention requests. Native benchmark interfaces are retained as calibration references for endpoint behavior.
Controlled interface comparison. For every paired task, MCP and CLI use the same model checkpoint, initial task state, public task information, semantic action contract, shared validation and execution path, generation configuration, and interaction budget. The controlled variation lies in capability presentation, action realization, and feedback representation.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
B.2 Generation, Context, and Interaction Budgets
Generation settings. Natural episode evaluation uses temperature-zero decoding, whereas matched-state probes use T = 0.6 to estimate local response distributions from repeated samples. All requests use top-p = 1, a 24,576-token input ceiling, and a 16,384-token output ceiling. The four Qwen3 models are evaluated from local checkpoints. DeepSeek-v4-Flash and Gemini-2.5-Flash use their corresponding API bindings under the same registered protocol.
Context and episode budgets. Interaction histories are retained as complete events and truncated oldest-first to fixed benchmark-specific limits of 100 events / 24,000 tokens for ALFWorld, 30 / 12,000 for WebShop, and 8 / 8,000 for ScienceWorld. The immediately preceding failed expression and its public feedback remain in context for a correction request. Episode-level environment-action / decision / model-call ceilings are 50 / 75 / 150 for ALFWorld, 30 / 45 / 90 for WebShop, and 32 / 32 / 32 for ScienceWorld. The same ceilings apply to MCP and CLI within each paired comparison.
Every dispatched model request contributes to interaction cost. A proposal rejected before execution counts as an action attempt but does not consume an environment transition. Under the Base policy, a decision receives at most one correction opportunity. When DART is activated, semantic selection, realization, and at most one preserving correction all operate within the remaining episode-level call budget.
B.3 Paired Episode Evaluation Protocol
Matched episode construction. MCP and CLI episodes are paired by task identifier and initial state under the same checkpoint, public task information, generation configuration, registered randomness policy, and episode budget. Complete replicates are averaged within task before paired aggregation. An episode terminates on native task completion, an explicit terminal response, or the corresponding registered interaction budget.
Common prefix and first divergence. For each pair, we align the longest semantic prefix over which the normalized proposal, validation result, execution outcome, public feedback, and recovery record agree. Surface strings may differ within this prefix when they decode to the same semantic action and produce the same interaction outcome. The first step at which this interaction signature differs defines the first consequential divergence used throughout the trajectory analysis.
Natural propagation. After , each episode continues under its own interaction history and environment state. We characterize the resulting suffix through subsequent semantic-action agreement, failure and recovery events, charged tokens, interaction attempts, and terminal outcome. Paired natural trajectories thus connect a common initial condition to the downstream effects summarized in Appendix A.3.
B.4 Matched-State Probe Protocol
Probe design. The matched-state experiment contains 338 source states and 21,632 sampled responses across all six models and three environments. Each source state is evaluated under the eight ( , , ) assignments in Table S3, with eight independent draws per condition. Every draw restarts from the same registered source context, so repeated sampling estimates the local response distribution without allowing one draw to alter the state observed by the next.
Matched decision contexts. Source states and public histories are fixed before sampling using the registered category/hash selection rule. Within a source state, the environment state, policy-visible history, semantic contract, model, and generation configuration are held fixed while
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
capability presentation , realization protocol , and feedback representation are varied. For ScienceWorld, the matched context is the recorded policy-visible source state and public interaction history supplied to the model.
Factorial interface assignment. Presentation specifies operation descriptions, argument types, and public constraints. Realization specifies the response container, operation binding, argument serialization, and decoder. Feedback specifies how normalized public results and failure facts are rendered. Mixed assignments use a canonical semantic ledger to render prior decoded actions and public results under the assigned components, preserving the semantic interaction history while changing the representation exposed to the model.
Table S3: Factorial interface assignments used in the matched-state probes.
| Condition | Presentation | Realization | Feedback |
|---|---|---|---|
| C1 | MCP | MCP | MCP |
| C2 | MCP | MCP | CLI |
| C3 | MCP | CLI | MCP |
| C4 | MCP | CLI | CLI |
| C5 | CLI | MCP | MCP |
| C6 | CLI | MCP | CLI |
| C7 | CLI | CLI | MCP |
| C8 | CLI | CLI | CLI |
C1 and C8 recover the homogeneous MCP and CLI interfaces, while C2–C7 expose component substitutions at the same decision context. These eight conditions form the response profiles underlying the component and interaction effects in Figure 3.
B.5 Metrics and Statistical Analysis
B.5.1 Paired Episode Estimands
Paired effect. Tasks are the unit of paired episode comparison. For metric , tasks in a model–environment stratum, and registered replicate pairs for task , the MCP-minus-CLI effect is
Replicates are averaged within task before aggregation, so each task receives equal weight within a stratum. We report pointwise percentile 95% intervals from 10,000 paired task-cluster bootstrap resamples [36]. RQ4 uses the same task-clustered procedure within each protocol-matched Base–DART comparison. Positive outcome contrasts denote larger MCP outcomes. Positive token, call, attempt, or step contrasts denote larger MCP resource use.
B.5.2 Failure and Recovery Metrics
Failure metrics. Failure incidence is measured over all action attempts, including correction attempts. Failure composition is measured over failed attempts and assigns each attempt to its earliest registered failure boundary in the action pipeline. Semantic-choice profiles are computed from decoded normalized proposals, separating changes in action selection from failures of surface realization.
Recovery metrics. Recovery analysis begins from an eligible first-failure root, a retryable, policy-owned failure whose environment state remains unchanged. The immediate successor is classified
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
by whether the model changes its semantic proposal, produces an admitted repair, repeats the same error, produces a different failure, or does not retry. Retry acceptance measures whether that successor is admitted, while later task success records the eventual episode outcome. Retry cost is the charged token use of the successor response. Bootstrap resampling keeps all failure roots from the same task together, preserving the task as the statistical resampling unit.
B.5.3 Matched-State Response Statistics
Semantic response distribution. At a matched decision context, each draw yields either a realization failure or a decoded semantic proposal with a shared-validation outcome. Let denote the number of decoded draws proposing semantic action , the number of decoded draws, and the total number of draws. The empirical semantic-action distribution and its entropy are
Realization failure is the complement of decoding coverage, while admission is the fraction of decoded proposals accepted by the shared semantic validator. Action entropy summarizes the dispersion of decoded semantic choices and is reported for conditions with at least two decoded draws.
Probe aggregation. Realization-failure and entropy summaries weight source tasks equally. Admission pools admitted and decoded draws within each condition. Bootstrap resamples source tasks jointly across C1–C8, preserving all factorial assignments from a source state in the same resample. Component main effects compare the MCP and CLI levels of one interface block while averaging over the assignments of the remaining blocks, matching the factorial contrasts reported in the main text.
C Contract-Matched Interface Construction
This appendix details how MCP and CLI are constructed from a common semantic action contract. The construction separates the shared executable semantics from the model-facing representation. Both interfaces expose the same state-local operations and typed arguments, decode back to the same normalized action space, and enter the same validation, compilation, and execution path.
C.1 Shared Semantic Boundary
Semantic actions define the common unit of comparison. A semantic action consists of an operation and its complete tuple of normalized typed arguments . At environment state , the public contract specifies the operations currently exposed to the policy, their argument domains, and their native execution bindings. MCP and CLI render this same contract through different surface forms, but both decode model responses back to the contract's semantic action space before shared validation. Two surface responses are therefore treated as semantically equivalent at this boundary whenever they specify the same registered operation and equivalent normalized arguments.
Interface components alter representation, not execution semantics. Following the factorization in the main text, presentation determines how available capabilities and constraints are shown to the model, realization determines the response grammar and decoder, and feedback determines how public execution results and failure information are rendered. These
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
components can change what the model sees and how it expresses an action, while the semantic validator, native compiler, and environment executor remain shared across interfaces.
C.2 Surface Rendering and Conformance Checks
Shared contract, distinct surfaces. For every semantic operation, the MCP renderer produces a named tool with a structured argument object, whereas the CLI renderer produces a registered command with explicit flags and argument values. The CLI decoder parses the registered argument vector directly. Quoted multiword values remain a single typed argument. Both renderers are generated from , so differences in naming, serialization, quoting, and response containers change the surface representation without introducing new executable capabilities.
Round-trip semantic equivalence. Conformance first checks that a registered semantic action survives rendering and decoding under either interface,
Semantic equivalence requires agreement on the operation and every normalized typed argument. Surface-level differences such as whitespace, JSON field order, or valid CLI quoting therefore leave the decoded action unchanged.
Common native compilation. A decoded proposal that passes the shared semantic validator is compiled by the same benchmark-specific compiler . For semantically matched MCP and CLI responses,
Conformance checks combine four tests, namely coverage of the registered semantic actions, round-trip decoding, common native compilation, and consistency of the policy-visible contract facts. Finite state-local action catalogs are checked over their registered members. Open string arguments are checked over the declared benchmark domain and schema-valid test cases.
C.3 Benchmark-Specific Contract Realizations
ALFWorld. For ALFWorld [30], the state-local contract is built from the currently admissible native action instances. Operations such as navigation, pickup, placement, opening, closing, heating, cooling, and cleaning retain their complete object and destination names as typed arguments. MCP and CLI therefore expose different realizations of the same currently admissible action instances.
WebShop. WebShop [31] is represented by two semantic operations, namely search(query) and click(target). The search argument is an open string satisfying the shared schema, whereas click targets are drawn from the controls currently visible to the agent. Product options, pagination controls, and purchase actions are represented as values of click(target) rather than as additional interface-specific operations.
ScienceWorld. ScienceWorld [32] lifts the benchmark's official action templates into typed semantic operations and argument tuples. Public object referents, aliases, and tuple structure determine the state-local arguments available to the policy. MCP and CLI render these typed operations differently but compile admitted proposals back to the same native ScienceWorld action.
The following compact mappings illustrate the construction used across the three environments. In each block, the MCP and CLI surfaces decode to the displayed semantic action and compile to the same native command.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
ALFWorld
| Layer | Representation |
|---|---|
| Semantic action | alfworld.go(destination="desk 1") |
| MCP surface | <tool_call> {"name":"alfworld__go", "arguments":{"destination":"desk 1"}} |
| CLI surface | <command> bench alfworld go -destination 'desk 1' |
| </command> | |
| Native action | go to desk 1 |
WebShop
| Layer | Representation |
|---|---|
| Semantic action | webshop.click(target="next >") |
| MCP surface | <tool_call> {"name":"webshop__click", "arguments":{"target":"next >"}} |
| CLI surface | <command> bench webshop click -target 'next >' |
| </command> | |
| Native action | click[next >] |
ScienceWorld
| Layer | Representation |
|---|---|
| Semantic action | scienceworld.t2.go_to(destination="hallway") |
| MCP surface | <tool_call> {"name":"scienceworld__go_to", "arguments":{"destination":"hallway"}} |
| CLI surface | <command> bench scienceworld go-to -destination hallway |
| </command> | |
| Native action | go to hallway |
C.4 Worked Round-Trip Example
A single semantic action admits two surface realizations. Consider an ALFWorld state whose contract includes alfworld.go(destination="sofa 1"). The two interfaces present and realize this action differently, but both responses round-trip to the same typed proposal and therefore enter the same shared validation and execution path.
Example S5. Round-trip equivalence for an ALFWorld action
| Semantic action | alfworld.go(destination="sofa 1") |
|---|---|
| MCP realization | <tool_call> {"name":"alfworld__go", "arguments":{"destination":"sofa 1"}} |
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Example S5. Round-trip equivalence for an ALFWorld action (continued)
| Implementation | Code |
|---|---|
| CLI realization | |
| Decoded action | Both decoders return alfworld.go(destination="sofa 1"). |
| Compilation | Both proposals compile to go to sofa 1. |
The two surface forms decode to the same semantic action and compile to the same native command. Appendix B.4 uses this shared boundary to exchange interface components at matched decision contexts, while Appendix D.4 uses the same semantic identity criterion to preserve validated actions during targeted realization repair.
D DART: Controller, Triggers, and Evaluation Protocol
This appendix specifies the controller used in RQ4. DART separates semantic selection from interface-specific realization, binds a validated semantic action as an explicit commitment, and restricts subsequent repair to surface realization while that commitment remains valid.
D.1 Commitment-Preserving Realization
Commitment formation. After an eligible failure, DART asks the same underlying model to select a canonical semantic action under the current public contract. A decoded selection that passes the shared semantic validator establishes , where identifies the contract and contains the normalized operation and all typed arguments. This explicit commitment becomes the semantic target for the interface-specific realization stage.
Commitment-preserving realization. A realization is admitted only when the active contract is unchanged, the surface response decodes to the committed semantic action, and that action remains valid in the current state,
The semantic-equivalence test requires the same operation and every normalized typed argument. Thus, DART permits the interface expression to change while holding the selected action fixed. Repair boundary. If the initial realization fails and the commitment remains valid, DART issues one preserving-correction request containing the validated commitment, the failed surface expression, and its public failure feedback. The correction may change quoting, serialization, container structure, or other interface-specific expression details, but not the committed operation or arguments. If the contract changes, the commitment becomes invalid, or the repair budget is exhausted, control returns to the ordinary retry policy.
D.2 Error-Triggered Controller
Controller flow. Algorithm S1 gives the commitment-preserving branch used after a registered trigger. Semantic selection and initial realization require two model calls. A preserving correction is attempted only when a third episode-level call slot remains available. The Invoke routine enforces the active episode-level call budget and per-request limits before every dispatch.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
Algorithm S1 Error-triggered commitment-preserving repair
Input: Public retry context x; failure f; contract C; interface I; remaining call budget .
Output: An admitted proposal, or Release to the ordinary retry policy.
1: if Eligible(f) or then return Release 2: Invoke(selection, x, f, C) 3: if then return Release 4: DecodeSelection(z, C) 5: if or then return Release 6: 7: Invoke(realization, x, c, I) 8: if and Preserves(y, c, C, I) then return 9: if or Valid(c, C) then return Release 10: PublicFailure(y, , c) 11: Invoke(correction, x, c, y, , I) 12: if and Preserves( , c, C, I) then return 13: return Release
Here Preserves(y, c, C, I) implements the gate in Equation 10. The decoded realization must match the committed operation and every normalized typed argument and remain valid under the active contract. Native execution follows the shared runtime, and Release returns control to the ordinary retry policy.
D.3 Trigger Scope and Benchmark Instantiation
Trigger scope. Across all benchmark–interface settings, DART is activated only for retryable, policy-owned failures under a confirmed unchanged environment state. Eligible triggers capture cases in which the current action cannot be successfully executed or does not produce the intended progress, including interface-level decoding or validation failures and backend execution rejections. This scope ensures that DART intervenes only when the current commitment remains semantically valid but requires a corrected realization. The phase-specific prompt templates and response contracts are provided in Appendix E.
Benchmark instantiation. All RQ4 settings use the same commitment-preserving controller and semantic preservation criterion. DART operates exclusively on policy-visible task information and public retry context, with concise task or failure reminders included when required by the benchmark. After a commitment is selected and validated, it is realized through the interface contract assigned to the corresponding setting. Benchmark-specific prompt realizations may differ in presentation, but they follow the same selection, validation, and correction procedure described above.
D.4 RQ4 Paired Evaluation
Protocol-matched comparison. RQ4 evaluates Gemini-2.5-Flash in all six benchmark–interface settings. Each DART condition is paired with a Base condition on the same task set. Within a pair, the model, interface renderer, public task information, ordinary policy, generation settings, semantic validator, execution pipeline, and episode-level budgets are shared. DART adds only the error-triggered commitment-preserving controller and the registered trigger/selection configuration in Appendix D.3. Endpoint score and token cost are aggregated with the paired task-level procedure defined in Appendix B.5.
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
ScienceWorld protocol. Both ScienceWorld DART and Base runs use the same stable domain-order-v2 public-input protocol. The RQ4 comparison is therefore entirely within this shared protocol, with DART as the controlled intervention.
Cost accounting. All RQ4 runs use temperature zero, top-p = 1, and the request limits specified in Appendix B.2. Endpoint token cost includes every dispatched ordinary, semantic-selection, realization, preserving-correction, and fallback response. These requests consume the same episode-level model-call budget used by the protocol-matched Base.
E Prompt Templates and Response Contracts
This appendix specifies the response contracts used by the ordinary policy and the phase-specific DART requests. Ordinary interaction follows a shared policy instruction together with the currently rendered interface contract. When DART activates, the same model first selects a canonical semantic action, then realizes the validated commitment through the assigned interface, and, when needed, performs one commitment-preserving correction. The prompts below map directly to the controller stages defined in Appendix D.
E.1 Prompt Assembly and Ordinary Policy
Ordinary policy requests use the same message structure across MCP and CLI. The shared system instruction in Prompt S1 is combined with the task instruction, current observation, rendered interface contract, visible interaction history, and final action request, in that order. The system-level policy and message ordering remain fixed. Interface-specific information enters through the rendered contract, required response surface, and visible interaction context. Outside DART trigger events, this ordinary policy governs the trajectory unchanged.
Prompt S1. Shared ordinary-policy instruction
You are the only policy acting in an interactive benchmark. Complete the task using only the task instruction, current observation, visible interaction history, and the current interface contract.
The interface contract in the user message is authoritative. Select only the single best next action for the current state; do not wait for future actions to appear, because the contract is regenerated after every accepted environment transition. Keep any internal deliberation concise and prioritize returning a complete action before the output limit. Produce exactly one response container in the requested Native, controlled CLI-style, or controlled MCP-style syntax. Do not add explanations, Markdown, aliases, extra keys, guessed parameters, or text outside that container.
An accepted action can still make no progress. If the visible response is unchanged and a controller notice identifies an immediately repeated accepted action, choose a different currently grounded action; do not repeat that action again.
Treat different complete entity names as distinct. Never substitute a shorter, longer, or merely overlapping visible name for an entity explicitly named by the task. If the exact entity is not currently visible, choose a grounded action from the current contract to navigate, inspect, or otherwise gather visible state.
If the previous proposal was rejected, use the visible validation feedback to make the single allowed correction attempt. Never assume that a rejected pre-execution proposal changed the environment.
E.2 Semantic Selection Contract
When DART activates, semantic selection replaces the interface-specific output rule with the canonical selection contract in Prompt S2, while preserving the same policy-visible task and retry context. Prompt S3 then requests one canonical semantic action and is followed by the canonical
Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents
output schema, triggering response, and public failure feedback. The model must return exactly one JSON object containing schema_id and arguments. This object is decoded and validated against the current semantic contract, and the commitment is created only after successful validation. Interface-specific realization begins only after this semantic commitment has been established. The same public-schema prompting and local validation path is used for both local and API-backed models, without guided decoding.
Prompt S2. Selection-only system output rule
This call is the semantic recommitment phase, not the interface-realization phase. Return exactly one JSON object with exactly schema_id and arguments, conforming to the Canonical output schema in the user message. Do not use a Native, CLI, or MCP response container, command line, tool call, Markdown, or explanatory text for this call. This phase-specific output rule supersedes surface-format instructions and examples in the current interface contract and historical failure feedback. The current public semantic contract remains authoritative for valid operations and grounded argument values. Select one valid semantic action only; do not execute or realize it. The separate realization call will use the assigned interface syntax.
Prompt S3. Explicit semantic recommitment
For this retryable realization failure only, make an explicit semantic recommitment for the current task and unchanged environment state. The failed text does not establish an original latent intent. Choose one currently valid action using the same public capabilities above. For this call only, replace the interface output format by a JSON object with exactly schema_id and arguments, obeying the supplied canonical JSON schema. Do not execute or realize the action yet.
E.3 Realization and Preserving Correction
Once semantic selection has been validated, DART stores the semantic action together with its contract identity as the commitment. The initial realization request supplies this fixed commitment together with the assigned interface response contract and asks the model to express exactly that action through the required surface form. If realization fails while the commitment remains valid, the preserving-correction request additionally supplies the failed realization and its public failure feedback while leaving the commitment unchanged. Prompt S4 gives the exact instructions for both branches. Appendix A.4 provides recorded examples of successful first-pass realization and preserving correction.
Prompt S4. Realization and preserving-correction instructions
Initial realization. Realize the validated semantic commitment below using the assigned interface response contract above. Preserve the operation and every typed argument exactly. Do not select a different action. Return only the required interface expression.
Preserving correction. Correct the failed realization using the assigned interface response contract above. Preserve the committed operation and every typed argument exactly. Correct only its interface expression. Return only the required interface expression.