Formal Semantics for Agentic Tool Protocols: A Process Calculus Approach
Andreas Schlapbach

TL;DR
This paper formalizes the semantics of agentic tool protocols using process calculus, demonstrating their structural equivalence and identifying key principles for expressivity and safety in agent systems.
Contribution
It introduces the first process calculus formalization of SGD and MCP, proving their bisimilarity and extending MCP to MCP+ for full behavioral equivalence.
Findings
SGD and MCP are structurally bisimilar under a formal mapping.
MCP has expressivity gaps revealed by partial and lossy reverse mapping.
MCP+ is isomorphic to SGD, ensuring behavioral equivalence.
Abstract
The emergence of large language model agents capable of invoking external tools has created urgent need for formal verification of agent protocols. Two paradigms dominate this space: Schema-Guided Dialogue (SGD), a research framework for zero-shot API generalization, and the Model Context Protocol (MCP), an industry standard for agent-tool integration. While both enable dynamic service discovery through schema descriptions, their formal relationship remains unexplored. Building on prior work establishing the conceptual convergence of these paradigms, we present the first process calculus formalization of SGD and MCP, proving they are structurally bisimilar under a well-defined mapping Phi. However, we demonstrate that the reverse mapping Phi^{-1} is partial and lossy, revealing critical gaps in MCP's expressivity. Through bidirectional analysis, we identify five principles -- semantic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Agent Systems and Negotiation · Logic, Reasoning, and Knowledge · Formal Methods in Verification
