How agents use tools
What happens between a prompt and a tool call, and how to shape the tools you expose so agents pick the right one.
mcpworkflows8 min
What you will learn
- How an agent decides which tool to call
- Why tool descriptions matter more than tool names
- How to keep a tool surface small enough to stay reliable
- Reading a trace to see why the wrong tool was chosen
About this lesson
What happens between a prompt and a tool call, and how to shape the tools you expose so agents pick the right one. This lesson is part of Core concepts, lesson 3 of 3. Work through the series in order if you are new to MagOneAI, or jump straight here if you already know the basics.