Module 05 · AI · The loop and its harness · about 16 min to read
Continue where you left off ×
Structured Output and Tool Schemas · Open board
The tool contract that tells a model what a tool is called and what it takes. This lesson makes that contract the same everywhere, so any agent can read any tool’s contract.
Before you start. Structured Output and Tool Schemas (the contract between model and code) gave you the tool schema: a name, a plain-words description, and the arguments a tool takes. Agents & Tool Use showed the loop where a model asks for a tool and the program runs it. The Harness (everything around the loop that the model never touches) showed the ordinary code around that loop, where each tool runs as the customer who asked and nothing more. This lesson asks what happens when many different programs and many different tools must work together.
The idea in 30 seconds
MCP is one shared agreement between apps and tools, so 5 apps and 8 systems need 13 pieces, not 40.
An MCP server offers tools, an MCP client inside the app uses them, and the client finds the tools by asking the server for its list.
An access token says who the caller is, what it may do and which server it is for, and the server checks all three.
A2A lets one agent give a job to another agent, which publishes an Agent Card to say what it can do.
A skill is a folder with a SKILL.md file whose short top is always read and whose body is opened only when needed.
Use a tool for a fixed action, an agent for a goal, and a skill for know-how.
Read the story
Lesson 48 of 83 in AI
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year .
See plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson The problem: five apps, eight systems, forty connectors MCP: one agreement between an app and a tool Tool discovery: the client asks, the server lists Auth: the token says who you are and what you may do A2A: when the other side is an agent, not a tool Skills: a folder of know-how the agent opens when needed A whole MCP server in one file Transports: local pipe or web address Auth in detail A skill file, run An Agent Card, sketched Trade-offs Terms it explains: Model Context Protocol, MCP, MCP server, MCP client, tool discovery, access token, scope, A2A, Agent Card, skill, Common mistakes, JSON-RPC 2.0, stdio, Streamable HTTP.
Review AI
Mark as read Saved in this browser, and to your account when you sign in.