Making OpenAPI Documentation Agent-Ready: Detecting Documentation and REST Smells with a Multi-Agent LLM System
Rayfran Rocha Lima, Davi G. Assun\c{c}\~ao Pinheiro, Thiago Medeiros de Menezes

TL;DR
This paper presents Hermes, a multi-agent LLM system that detects documentation and REST API smells at scale, improving API readiness for AI agent integration in industrial contexts.
Contribution
It introduces Hermes, a novel system for large-scale detection of API documentation and REST smells, aiding organizations in API quality assessment for AI agent deployment.
Findings
Detected 2,450 documentation and REST smells across 600 endpoints.
Practitioner validation showed high agreement with the detected issues.
Structural validity does not ensure semantic readiness for agent-based use.
Abstract
The growing adoption of AI agents and the Model Context Protocol (MCP) has motivated organizations to expose existing REST APIs as agent-consumable tools. In our industrial context, this initiative targeted an ecosystem of 16 production APIs comprising approximately 600 endpoints. Although these APIs were stable and widely used within a microservice architecture, early proof-of-concept experiments revealed systematic failures in task planning, tool selection, and payload construction when accessed through MCP-based agents. Rather than attributing these failures to model limitations alone, we conducted an ecosystem-scale empirical assessment of the underlying OpenAPI documentation. We developed Hermes, a multi-agent LLM-based system that detects documentation and REST-related smells at the endpoint level and generates explainable diagnostic reports. The large-scale evaluation identified…
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.
