← All modules

Module 07 · Tools

How models interact with the real world

The model requests. Another system acts.

What you’ll learn

Four ideas, one module

01

The tool loop

Describe, request, execute, return: who does each step.

02

Tools are ordinary code

Search, code execution, databases and APIs, run by your app.

03

Permissions by risk

Read, write, irreversible, never exposed: and the control for each.

04

MCP without the magic

An open protocol for connecting apps to tools and data.

Applied exercise

Design a travel assistant’s tools

Design the tool surface of a travel assistant and decide which capabilities should never be exposed directly.

  • Read tools
  • Write tools
  • Needs human confirmation
  • Never exposed to the model

Cheat sheet

The model only asks. Your code decides what runs, and with whose rights

One page you keep: the questions to ask on every project, the rules of thumb, and a checklist you can use on your own product. All ten come with The Book.

Leave at the door

Five myths this module breaks

MythWhat’s actually true
“The model runs the API call.”Your application runs it. The model only asks.
“With tools, it can reach anything.”Only the tools you define, within your limits.
“A valid call is a correct call.”Well-formed arguments can still be wrong values.
“The prompt says don’t, so it won’t.”Instructions aren’t permissions. Enforce in code.
“MCP makes the model smarter.”It standardizes connections. The model is unchanged.

Before you move on

Can you call this one?

A travel assistant booked a hotel the user only asked about.

Name three places this could have gone wrong. Which fix works even if the model errs?

Portrait of Zane Imani

The Action Protocolist

Zane Imani

investigates the boundary where AI stops generating words and starts making things happen.

Episode 07 · How models interact with the real world

Included with the course.

Coming soon · an AI character from the show, not a real researcher.