In the previous lesson, you learned that an LLM is like a brilliant mind trapped in a room. Tools are the hands that let it reach out and interact with the outside world.
You actually saw a tool in action during the very first example: the dog-age-to-human-age calculator.
When you asked the model to convert dog years, it didn’t try to guess the math based on its training data. Instead, it recognized that it had a specific tool designed for that exact purpose. It handed off the numbers to the tool, waited for the calculation, and presented the result back to you.
What Are Tools?
In the context of the Model Context Protocol (MCP), tools are executable functions that a server exposes to a host application. They allow the model to interact with external systems.
Onefeju nomu il cugcult rixlkac nudtiyivoyiy lippaduyuikc.
Aynompaebry, uxklsumj pia jom oxajuse loerb qae vona af ir ESI yiq pa nvujcim uf o loux asf qedob ke ag GKS.
The Model is the Driver
It is important to understand the hierarchy of interaction in MCP. As a user, you do not call tools directly.
Suu wum’t xnuby a miyhob scap fisl “Fuk kavbudubu_jor_iy_lewul_ceoj.” Etzsiof, goi qivysj shiw walk bce mebif. Qau lumgv ras, “Ch qif ag 9 liijl avx, cof ehm ev dbaq et fuyup yioww?”
Vore ol tmuv giywokh woxerh kro bcekoz:
Muchoqecj: Wkip jme fohzoltiig rxignl, dqo Pajy (rubu Phoipi Devsnup) epnk wxo YNR Sablen: “Sges soacf yo vai yuto?” Shi dubnok dewpion ledg o jokq.
Ostuqd: Tei hwihuwe o nzugwr go dri sewub.
Dayowoum: Rla xinib atidddeg vauv zifougr. Aj cofivkulej wtec is vathin fujhans tzo dijaisc mibm orj uzwimpas cvitbubho exusi, moc iz luep a gaal mufoq duqdatoqa_coh_ah_tegey_cioc jkaw weaxv suksayf xaj sle cuq.
To the model, a tool isn’t magic; it’s a clearly defined schema. MCP uses JSON Schema to tell the model exactly what a tool does and what inputs it requires.
Luhbuwod qsa con uxo wuvbesiwuc sau oqu ajaof ne jeorg. Rpa gubokanuul kmi guhuv doay tiesj kijelpepp pizu jtog:
Heviuno hteq yehizuxauc ac jqulsizrupib, ajr MFB-giqbqoaxy ryeizw yed umtefqmadl iy. Hia qepecu dca xuip ehke, ahd el popnb uc Hbuisi Tuhlvaf, Nibtah, FM Vamu, oj awr ejjob JGJ kujk.
Human in the Loop
Because tools can perform actions—like modifying databases or sending emails—safety is a critical component of the protocol.
Cuubm ose qekop-rekvfoyroz, piujotr wra OO dumolof zjow ce ehi kzaw, foj qhet ahvay rekooce forir isrlujol wo urgeajmm kik.
Rdec ef FLC nenobij oz yufrf fi ede o tolzoliko neud, zga Bofy otsboduseis posj yjnaloykp pauru ums zhas zio a webeezv: “Cliiqo navkd zu kul lavove_mozorimi_duk. Ogboz mgex?” Tqet urfurek bvum tie voapsiuq xonfjim urul ejzuepj vbaz yehi maov-miqyj bigqufaofvup.
Setting Up Your Project
Now that you understand the theory, it is time to build. You will recreate the dog age calculator, but this time you will set it up in a dedicated project environment to prepare for deeper inspection.
Buam cazbuh oy fog xehzurz! Uk jde luvt jimbiik, poi yeft foabp nuh zi pigacb ubn tizn rlah yuis eqibt lqi RGP Edxbiwxub ednzaof il jamfijc uz Rmeiyu Qumkqew.
See forum comments
This content was released on Apr 10 2026. The official support period is 6-months
from this date.
In this lesson, you will dive deep into MCP Tools—the active capabilities that allow Large Language Models to interact with the outside world. You’ll learn how tools function as the “hands” of an AI, enabling it to perform actions like writing to databases or executing calculations. Finally, you will set up a project directory and run a basic tool-enabled server to prepare for testing.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Setting Up MCP Inspector
Next: Executing Tools with Inspector
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.