Logo image
Investigating the Impact of API Design Techniques for Tools in Agentic Applications
Conference proceeding   Peer reviewed

Investigating the Impact of API Design Techniques for Tools in Agentic Applications

K Bernardino, P Gabriel, Eduardo Martins Guerra, E Gonçalves and L Praxedes
Software Architecture: ECSA 2026 Tracks and Workshops, Bolzano, Italy, September 7–11, 2026, Proceedings, Vol.16991, pp.235-251
Lecture Notes in Computer Science, 16991
European Conference on Software Architecture (Bolzano, 07/09/2026–11/09/2026)
2027
Handle:
https://hdl.handle.net/10863/54649

Abstract

Agentic Systems Large language models Tool Calling API Design
Large language models (LLMs) are increasingly integrated into agentic systems that orchestrate external tools to execute real-world operations. While prior research has focused on enabling tool use and scaling API interactions, a critical architectural question remains underexplored: does the design of tool APIs influence execution correctness? This paper presents an empirical investigation of how different API design strategies affect the reliability of tool-augmented LLM applications. We compare an API design based on granular, specific functions with a single, broader general-purpose function across multiple configurations, deployment environments (local and cloud-based), and conditional execution scenarios. The results show that, for high-capability cloud-based models, API design has a limited impact on correctness, with both strategies achieving comparable performance. Since more general, parameterized APIs consume fewer input tokens, they can be adopted without significant loss of correctness, improving efficiency and reducing operational costs. In contrast, smaller locally deployed models are more sensitive to API design and execution complexity. They are more prone to generating invalid parameters and struggle with conditional logic. Additionally, when both design strategies are available, models tend to prefer more specific functions, indicating a bias toward granular definitions. Our study provides actionable insights for API design in tool-integrated LLM applications.
url
https://doi.org/10.1007/978-3-032-39143-8_21View

Details

Metrics

1 Record Views
Logo image