Overview

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.

MICA framework overview
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.

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.

Method

  1. Contract-matched interfaces. MICA constructs MCP and CLI from a common benchmark-specific semantic contract, fixing the executable action space while varying its model-facing representation. MCP exposes named tools with structured arguments, whereas CLI exposes registered commands with textual argument bindings.
  2. Local sensitivity and trajectory propagation. Matched-state probes vary interface components at a fixed decision context, while paired natural trajectories trace what follows after the first consequential divergence.
  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. If the initial realization fails while the commitment 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.

Results

Task Performance and Interaction Cost

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).

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.
ModelScore (%)Tokens (k / task)
NativeCLI (Δ)MCP (Δ)NativeCLI (Δ%)MCP (Δ%)
ALFWorld
Qwen3-4B50.044.8−5.241.8−8.2295.5384.2+30.0%387.1+31.0%
Qwen3-8B31.344.8+13.435.1+3.7273.5292.4+6.9%356.5+30.3%
Qwen3-14B62.756.7−6.020.1−42.5176.9241.9+36.7%296.8+67.8%
Qwen3-32B85.173.9−11.278.4−6.772.4114.7+58.3%106.5+46.9%
DeepSeek-v4-Flash97.099.3+2.295.5−1.550.558.0+14.8%56.7+12.4%
Gemini-2.5-Flash67.256.7−10.467.20.086.7120.0+38.3%113.8+31.2%
WebShop
Qwen3-4B62.958.3−4.664.1+1.232.537.6+15.9%36.3+11.7%
Qwen3-8B57.759.5+1.856.8−0.966.289.6+35.4%78.8+19.0%
Qwen3-14B54.959.5+4.664.4+9.592.983.1−10.5%48.1−48.3%
Qwen3-32B64.061.6−2.465.7+1.785.880.4−6.3%88.6+3.3%
DeepSeek-v4-Flash86.083.0−3.083.5−2.563.869.1+8.3%65.1+2.1%
Gemini-2.5-Flash82.284.5+2.383.3+1.054.942.8−22.1%41.9−23.8%
ScienceWorld
Qwen3-4B37.541.0+3.537.9+0.4100.8106.9+6.1%108.7+7.9%
Qwen3-8B51.146.9−4.253.0+1.982.682.5−0.2%101.1+22.5%
Qwen3-14B35.839.5+3.735.1−0.760.673.4+21.0%76.0+25.3%
Qwen3-32B63.961.3−2.660.7−3.273.780.9+9.9%83.8+13.8%
DeepSeek-v4-Flash81.377.5−3.775.3−6.077.297.4+26.1%93.1+20.5%
Gemini-2.5-Flash52.451.2−1.254.0+1.661.065.2+7.0%59.2−2.8%

Failure and Recovery

Figure 2 shows that unsuccessful attempts enter different stages of the action pipeline under MCP and CLI. On WebShop, 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.

Failure pathways under MCP and CLI
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.

Local Effects and Trajectory Propagation

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.

Component and interaction effects on local response behavior
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 R, 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.

DART Evaluation

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.

Effect of DART on task performance and interaction 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.

Acknowledgements

We thank the teams behind Qwen3, ALFWorld, WebShop, ScienceWorld, vLLM, and Transformers for their open-source models, environments, and tools.

MICA is licensed under the MIT License.

Citation

@misc{shi2026mica,
  title  = {Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents},
  author = {Zhenning Shi and Liang Pang and Yongqi Li},
  year   = {2026},
  eprint = {2610.34298},
  archivePrefix = {arXiv},
  primaryClass = {cs.AI},
  url    = {https://arxiv.org/abs/2610.34298}
}