![]() |
VOOZH | about |
We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.
Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.
Follow TNS on your favorite social media networks.
Become a TNS follower on LinkedIn.
Check out the latest featured and trending stories while you wait for your first TNS newsletter.
Generative AI (GenAI) is already transforming how we interface with APIs, and the spotlight is shifting to the next leap in AI evolution: agentic AI.
Agentic AI refers to intelligent systems that can reason, plan and act autonomously. These agents can interpret user goals, discover tools (APIs), reason about when and how to use them and then execute workflows. This can change how APIs are consumed, documented and exposed.
Agentic AI can fundamentally change API consumption by enabling natural language-driven, autonomous API discovery and execution.
APIs must be discoverable, descriptive and context-aware for AI agents to work correctly. Here are some of the issues that may occur otherwise and potential solutions.
Most users don’t speak in structured API schemas. They express what they want in natural language:
“Place an order for two iPhone 16s for customer John.”
Traditional API integrations require explicit knowledge of which endpoint to call, which parameters are needed and what format is required. This can lead to friction, errors and slow integration development.
Agentic AI uses structured metadata to solve this by grounding natural language intent into executable function calls. It can parse the user’s request, search for relevant tools and generate the correct API invocation.
Example
The agent maps the intent to the correct function based on a semantic match to the tool’s description and schema.
Most APIs were built for human developers: swagger specs, Markdown docs and examples. However, AI agents need machine-readable schemas to reason about capabilities, input requirements and constraints.
Agentic AI works when APIs expose the following in a structured format:
Example Tool Schema
This structure enables agents to:
In traditional workflows, APIs are manually stitched into automation logic. With agentic AI, planning and execution are dynamic. The agent:
Example
User prompt: “Log a ticket for user 1234 saying their shipment didn’t arrive.”
Agent Invocation
APIs often have overlapping functionality:
getWeatherToday vs. getWeatherForecastsearchFlights vs. recommendFlightsAgents use semantic similarity to select the right tool. However, excessive similarity can confuse the agent.
Solution
Example Catalog With Capabilities
By matching user input to capabilities, agents can disambiguate and select more accurately.
Structured tool schemas help agents in the following ways:
description: Intent grounding; maps prompt to tool usage.
parameters: Input validation, UI generation, prompt slot filling.
auth: Execution occurs only with valid credentials.
capabilities: Enable multistep planning and chaining of compatible tools.
rate limits: Let agent reason about retry policies or tool availability.
This metadata is the foundation for declarative, self-discoverable APIs, consumable by agents without manual programming.
Example: End-To-End Planning by an Agent
User prompt: “Translate ‘Good morning’ to Spanish and send it as a message to Carlos.”
Tools in the catalog:
Agent Reasoning
translateText.sendMessage.Let’s explore tool calling with and without large language models (LLMs) involved.
Here’s an example HTTP GET endpoint from the OpenAPI spec to retrieve details about a specific order based on the orderNumber:
Here’s an example Model Context Protocol (MCP) server snippet from the above specification that returns details about a specific order based on the orderNumber:
Here’s a code snippet for an MCP client discovering the tools:
This example shows an MCP calling an MCP server without involving an LLM.
And here’s an agent calling with a user request that uses an LLM:
User request: “Get order details for order number 1.”
Add another order API to the MCP server. This time, make the description a bit more specific.
The MCP client now detects two endpoints:
This time, for the same user request, the agent uses the new, updated API:
User request: “Get order details for order number 1.”
The metadata influences how agents pick an API over the other. Tweaking the metadata can have undesired consequences.
Agentic AI is rapidly redefining the way APIs are consumed:
As we move into the age of AI-native development, designing for agent-first consumption is not optional — it’s the foundation for intelligent automation and adaptive workflows in hybrid environments, and protocols like MCP play a crucial role in this evolution.
IBM is working to bring autonomy, intelligence and collaboration to enterprise integration. Learn more about IBM webMethods Hybrid Integration.