An agent without tools is a chatbot with opinions. It can read what you give it, think out loud, and tell you what it would do, but nothing in the world changes. The minute you connect it to your practice software, your calendar, and your email sender, it stops being a conversation partner and starts being a coworker. This chapter is about that connection: which tools your agent actually needs, how it reaches into the systems you already use, and the one rule that keeps the whole arrangement from blowing up in your face.
What a tool is in this world
When someone in the AI world says "tool," they do not mean Routework or n8n or Make, those are the platforms the agent runs on. A tool, in the agent sense, is a real action the agent can take: looking up a patient record in your practice management software, writing a new appointment to your calendar, sending a welcome email from your front-desk address, charging a $50 deposit on a card.
Each tool is one specific thing the agent is allowed to do in one specific system you already own. The way the agent reaches into that system is through the address you give it so it can talk to your CRM, Stripe, Google Drive, and the rest of your stack, the technical term is an API. The address is paired with the password the agent uses to log in to your tool, the technical term is an API key, or, for tools that ask the user to grant access in a browser window, an OAuth token. You do not need to remember those names. You only need to remember that each tool is a door, and behind each door is a system that will do exactly what the agent asks it to. That obedience is what makes tools powerful and what makes them dangerous — the system does not ask whether the request makes sense, it just executes it.
The four kinds of tools
Almost every tool an agent will ever touch lands in one of four buckets. Once you can sort a tool into the right bucket, you can reason about it clearly, what it costs to get wrong, how careful you need to be with the password, what happens when it is slow. The four buckets are read, write, notify, and charge.
| What it does | Dental-practice example | If it fails | Care level | |
|---|---|---|---|---|
| Read | Looks something up. No change to the world. | Pull a patient chart from the practice software. | Agent has a blind spot for one run. | Low |
| Write | Creates or updates a record somewhere. | Add the new patient row to the practice software. | Wrong row written or duplicate created. | Medium |
| Notify | Sends a message to a person or channel. | Email the front desk that a new chart is ready. | Wrong person gets a confusing email. | Medium |
| Charge | Moves money or commits to a contract. | Run the $50 new-patient deposit on a card. | Real money moves the wrong way. | High |
The line that matters most is the one between the first three and the last one. Read, write, and notify are reversible enough that an honest mistake is a Tuesday afternoon problem. Charge is the only category where a mistake is a phone call to a customer and a refund. When you wire a charge tool, you treat it differently, you ask for a confirmation, you log every call, you do not let the agent loop on it. A write that creates a duplicate record takes five minutes to clean up. A charge that runs twice takes a refund, a support conversation, and a note on the customer's account that the practice made a billing error. The downstream cost of charge mistakes is always higher than the transaction amount.
Picking the minimum set
The temptation, once you know the agent can have tools, is to give it every tool you can think of. Resist this. Each tool you add is another door, another password to manage, another system that might be slow or down on the morning you need it most. The right number of tools is the smallest number that lets the agent finish the job. Tools also expand the failure surface: an agent with 12 tools can fail in 12 new ways that have nothing to do with its logic. Most agents we see in production use 3 to 5 tools; the ones with 12 usually use 4 of them regularly and the other 8 are latent tripwires.
The test for whether a tool earns its place is concrete. For every tool you are about to add, ask: does the agent need this to do the real work, or am I adding it because I think the agent might want to look something up someday? If the answer is "someday," cut it. You can always add it later.
For Priya at the dental practice, the minimum set is four tools: read the practice software to check if the patient is already on file, write the new chart if they are not, book the slot in the calendar, and send the welcome email. The agent does not need access to billing yet, the deposit happens when the patient confirms the appointment in a separate flow. Four tools, not nine.
How the agent reaches your systems
Once the tools are picked, the next question is what the wiring actually looks like. The agent does not sit inside your practice software. It sits in the middle, with one foot in your data and one foot in the vendor systems of record, the practice software, the calendar, the email sender. The passwords sit in a separate vault that only the agent runtime can read.
The picture is doing one specific job: it shows that the passwords never leave the agent's side of the line. Your practice software does not get handed a master key to your calendar; the agent holds both keys separately, and neither vendor knows the other one exists. That is the shape you want. If a credential ever needs to be rotated — because a staff member left, or because the vendor flagged unusual activity — you change one key in the vault and the agent picks it up on the next run. Nothing else in the diagram needs to change. It is also the shape that gives you the one rule worth tattooing onto the wall.
In practice this looks like creating a dedicated user inside each system, not your own login, and granting it only the specific actions the agent needs. Most modern SaaS tools let you do this through a settings page called something like "API access" or "Integrations." For a calendar tool, that might mean a service account that can only create appointments on the new-patient calendar — not view your personal schedule, not cancel existing bookings. If a vendor only offers a single all-powerful key, treat that as a sharp edge to plan around, not a fact of life.
When the tool is slow, broken, or lying
The other thing nobody mentions about tools is that they fail. Not often , but often enough that you should expect it. The practice software goes into maintenance on a Sunday night. The email sender hits a cap on how often you are allowed to call it before it blocks you. The calendar returns a 200 status code that says "everything is fine" but the appointment never actually shows up on the schedule.
The first instinct, when a tool call fails, is to have the agent try again. This works about 80 percent of the time and is a disaster the other 20. The disaster looks like this: the agent calls the email sender, the call times out before the response comes back, the agent retries, the email actually went through the first time, and now the new patient gets two welcome emails. Multiply that by a Monday morning batch of 15 intakes and you have a confused front desk and a stack of "did I already get this?" replies.
Most vendors support this out of the box once you know to ask. Stripe has an Idempotency-Key header. Most calendar and email APIs accept a client-side reference ID that they will use to deduplicate. When you wire a write tool for the agent, the first thing you check is whether you can pass one of these, and if you can, you do. If the vendor does not support it, you implement it yourself: before calling the write tool, check a lookup table for the form's unique ID. If it is there, skip the call. If it is not, call the tool and record the ID. That table is the cheapest insurance you can add to a write tool.
The dental practice, fully wired
Putting it together for Priya. The agent's job is to take a new-patient intake form from the website and turn it into a chart, a booked slot, and a welcome email, without Priya having to copy and paste between four screens. Four tools, in this order.
Step 1 fires when the website posts the form to the agent's address. Step 2 reads from the practice software, a low-risk look-up, no change to anyone's chart. Step 3 is the only place the agent does real judgment: same person on file already, or a brand-new patient? Steps 4 through 6 are the writes, create or update the chart, book the slot, send the welcome email. Each write carries its own idempotency key, derived from the form submission's ID, so a retry will not produce duplicates.
- One read tool, the practice software, scoped to the patient table.
- One write tool, the same practice software, scoped to create or update a chart.
- One write tool, the calendar, scoped to book a single appointment kind.
- One notify tool, the email sender, scoped to one template and one sender address.
- Every write carries an idempotency key built from the intake form ID.
That is the whole tool surface. Four doors, each with the smallest key that opens it, each safe to retry. When something goes wrong on a Tuesday, and something will, Priya gets one clean recap email from the agent saying which step failed and why, with the form ID attached so she can finish the job in 30 seconds. The agent never tries to cancel a chart, never touches billing, never reads from the calendar of a doctor who is out that week. It does the four things it was wired to do, and nothing else.
That description is the plan on paper. The picture below is what the plan looks like when it actually runs. Routework keeps a tool-call inspector, the same kind of network panel a web developer sees in their browser, that lists every door the agent opened during a single run, in the order it opened them, with how long each one took and whether it succeeded. When Priya wants to know what the agent did with last Tuesday's 9:14 AM form, this is the screen she opens.
Four rows, one per tool, all green. That is the picture of a clean run. When something fails, and it will, the broken row turns salmon and the recap email Priya gets points straight at that row. She does not need to read the whole log; she reads one row. The inspector is the bridge between the abstract "the agent did its job" and the concrete "here is exactly what it touched, in what order, at what time."
In the next chapter, you will take this same set of four tools and put the limits on top, what the agent is not allowed to do, when it needs to pause and ask Priya, and how the whole arrangement stays inside the rails you draw around it.
- A tool is one specific action the agent can take inside one system you already own.
- Sort every tool into one of four buckets, read, write, notify, or charge.
- Charge tools get more care than the other three combined. Treat them like real money.
- The right number of tools is the smallest number that lets the work finish.
- Each tool gets the smallest password the work needs, never the master key.
- Every write and every charge needs an idempotency key, so a retry never creates a duplicate.
- When a tool fails, the agent recaps to a human and stops, it does not loop.

