arXiv:2610.34298cs.AIOct 2026

Manuscript Offprint

arXiv:2610.34298

Matched Capabilities, Different Behaviors: A Controlled Study of MCP and CLI Interfaces for Language Agents

Zhenning Shi, Liang Pang, Yongqi Li

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

†^{\dagger}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.

References (29)