MCP Course Three: Your First Tool

Write a real tool: describe its arguments with a schema, validate them, run it and report problems in a way a model can fix.

⏰ 1 weeks🎯 Standard🧩 Capstone🖥 Any device · our GPUs
Generated from this course

🎯 About this course

Write a real tool: describe its arguments with a schema, validate them, run it and report problems in a way a model can fix. Every lesson has a short reading, a video of at most five minutes and hands-on exercises that run in your browser; the lab is checked by tests and the course ends with a gamified quiz with sounds, badges and feedback. Practice runs on plain Python and test messages: there is no real AI model or MCP library in the labs.

By the end you will be able to

  • Write an input schema with types, required arguments and an enum.
  • Build correct tools/call results and choose between protocol errors and tool errors.
  • Write a validator and error messages that name every problem.
  • Write a tool server that passes nine tests.
Curriculum

Topics covered

Your First Tool 4 topics

  • Lesson 1: Describing arguments with a schema
    The parts of an input schema and a safe type check.
  • Lesson 2: Running a tool, tools/call and its result
    The tools/call request, the result shape and the two kinds of failure.
  • Lesson 3: Checking arguments and failing helpfully
    Validate arguments and write error messages a model can use.
  • Lab: A temperature tool that checks its arguments
    A complete small tool: schema, validator and conversion, nine tests.
Course at a glance

See how this course is built

Where the time goes

Longer spokes mean more hours on that module.

Course roadmap click a step

Try a lesson0 / 3

Sample questions from this course. Your progress is kept only in your browser.

Week by week

Drag the slider, or press play, to walk through the course and see what you will have built by each week.

Week 1 of 1
Wk 1

Self-paced

About 90 minutes: lessons with short videos, one lab and a quiz. Work at your own pace.

What you'll build

A validated tool server

A Python file with a described tool, a validator and a safe conversion.

Why take this course

  • Learn by doing in the browser
  • Short videos, no installation
  • Checked by tests, not guesswork

You will build

  • A validated tool server

What you can do afterwards

  • Write an input schema with types, required arguments and an enum.
  • Build correct tools/call results and choose between protocol errors and tool errors.
  • Write a validator and error messages that name every problem.
How to take it

💳 Delivery & fees

One course, four ways to attend. Fees are per course, in rupees excluding 18% GST (the GST-inclusive amount is shown too).Fees are per course, in Canadian dollars, before applicable GST/HST.Fees are per course, in US dollars, before any applicable local taxes. Bulk and institutional volume pricing is available.

Self-paced

₹21,500

+ 18% GST · ₹25,370 all-in

Buy this course

CA$350

per course, before applicable GST/HST

Buy this course

US$250

per course, before any applicable local taxes

Buy this course

  • Full recorded library
  • Browser GPU lab
  • All project briefs
  • Mentor review add-on

Bulk and institutional pricing. Volume discounts are available for institutions, campuses, companies and groups enrolling several learners. Ask for a group quote →

Your fee includes our GPU lab infrastructure — no cloud credits to buy. See how we compare, with sources →

Ready when you are

Apply for this course

Tell us the format you prefer and we'll confirm the next cohort date and your fee on a short call.

Apply for this course