Go to home page
24 Sep, 2026

Designing APIs & MCP for AI Readiness

APIs were designed for deterministic applications, where developers define the sequence of calls, handle errors, and control retries. AI agents change these assumptions. They discover capabilities dynamically, make probabilistic decisions, explore multiple paths, retry operations, and invoke APIs at machine speed. An API that works well for a conventional application may therefore be ambiguous, inefficient, or even unsafe when consumed by an agent.

This talk explores what it means to design APIs and MCP servers for AI readiness. We will examine how APIs can better communicate intent through task-oriented operations, machine-readable errors, explicit side-effect and retry semantics, idempotency, dry-run support, bulk operations, and cost or rate hints. We will also look at how machine-readable capability descriptions and workflow specifications can help agents discover not merely individual endpoints, but the business outcomes they can achieve.

MCP provides an agent-friendly layer over existing systems, but simply converting every API endpoint into an MCP tool is an anti-pattern. It exposes implementation details, increases tool-selection complexity, and forces agents to reconstruct business workflows at runtime. Using practical examples, we will explore how to choose the right tool granularity, design intent-oriented tools, compose API operations into meaningful capabilities, and keep business logic in the appropriate layer.

Speakers

Nuwan Dias

Nuwan Dias

Vice President & Deputy CTO - API Management and Integration BUs

WSO2

Nuwan has over 15 years of experience in the technology space, particularly in API management and integration. Since joining WSO2 in 2011 as a software engineer, he has been actively engaged in developing products as well as implementing solutions pertaining to integration and API management. In his current role, Nuwan is responsible for driving product innovation and management for WSO2's integration business unit. His areas of expertise include microservices, APIs, API management, enterprise integration, and enterprise application security. He has authored 'Microservices Security in Action' and has delivered talks at several global technology-related conferences on integration, APIs, and cloud-native technologies.