|
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
| Volume 187 - Issue 151 |
| Published: November 2026 |
| Authors: Roshan Kumar Choudhary |
10.5120/ijcaf628698ff2b2
|
Roshan Kumar Choudhary . Azure Functions as Scalable Agent MCP Tools: Architecture and Model-based Evaluation of Elastic, Serverless Tool Invocation for AI Agents. International Journal of Computer Applications. 187, 151 (November 2026), 8-15. DOI=10.5120/ijcaf628698ff2b2
@article{ 10.5120/ijcaf628698ff2b2,
author = { Roshan Kumar Choudhary },
title = { Azure Functions as Scalable Agent MCP Tools: Architecture and Model-based Evaluation of Elastic, Serverless Tool Invocation for AI Agents },
journal = { International Journal of Computer Applications },
year = { 2026 },
volume = { 187 },
number = { 151 },
pages = { 8-15 },
doi = { 10.5120/ijcaf628698ff2b2 },
publisher = { Foundation of Computer Science (FCS), NY, USA }
}
%0 Journal Article
%D 2026
%A Roshan Kumar Choudhary
%T Azure Functions as Scalable Agent MCP Tools: Architecture and Model-based Evaluation of Elastic, Serverless Tool Invocation for AI Agents%T
%J International Journal of Computer Applications
%V 187
%N 151
%P 8-15
%R 10.5120/ijcaf628698ff2b2
%I Foundation of Computer Science (FCS), NY, USA
Agentic AI systems call tools through the Model Context Protocol (MCP), producing bursty, latency-critical traffic that serverless platforms must absorb. This paper presents a reference architecture and a Java 21 implementation pattern for hosting MCP tools on Azure Functions, and evaluates the Consumption, Flex Consumption and Premium hosting plans using a discrete-event simulation with a Markov-modulated workload and an analytical monthly cost model. Under the stated assumptions, Flex Consumption with a small always-ready floor reached a P99 latency of about 1.1 s at roughly 8 USD per million calls, while a Premium EP2 plan reached about 1.3 s at about 89 USD per million calls; the legacy Consumption plan had a P99 of 4.7 s. Instance-allocation rate and per-instance concurrency, rather than the plan label, dominated tail latency and cost respectively, and per-call tail latency compounds to a 13–18% chance of a slow call in a 10-step agent workflow. The results are model-based, not measurements of a live deployment; they are accompanied by sensitivity and break-even analyses and by security and observability guidance.