Let an agent book the appointment, and nothing more.
An agent is only as safe as the tools it holds. In Volvel its tools are your scripts, checked by their schemas and limited to what its service account may run. Whatever it does is in the audit log.
One phone call, three tools.
A caller asks Fernhill's phone assistant whether they can bring their dog in on Tuesday. The agent finds the client, asks for free times, and books the one the caller picks, each through a script your team wrote.
- The booking goes through the same script the front desk uses, so opening hours, rooms and vets are checked the same way.
- If the time was taken in the meantime, the refusal comes back in words the agent can repeat to the caller.
- Each call can carry an idempotency key, so an agent that retries doesn't book twice.
Two agents from the examples.
Each is a service account bound to a handful of scripts. Neither can reach anything else.
| Agent | Its tools | What it can't do |
|---|---|---|
| Fernhill's phone assistant | Find a client, see a clinic's day, list low stock, see free times, book a visit, and start a stock reorder | Decide the reorder. It can see that one waits, but the step names practice managers, and it isn't one |
| Lakeshore's help-desk assistant | Look up a student, check what's free to borrow, see the desk's queue, file a request for a student, and cancel one | Approve a request, hand a device out or take one back. Those stay with the Tech Desk |
What it may do is written down.
The phone assistant's access is a handful of bindings in the repository, reviewed like any other change. Adding a tool is a line, and so is taking one away.
- Connecting at all needs read access to the workspace, given on its own.
- Each tool is a binding to one script or one flow.
- It may list approvals, but deciding one still needs a place among that step's approvers.
const AGENT = { type: "service_account", key: "phone-assistant" };
defineBinding({ path: "access/agent-find-client",
role: runsScript, principal: AGENT, resource: findClient });
defineBinding({ path: "access/agent-book",
role: runsScript, principal: AGENT, resource: bookAppointment });
defineBinding({ path: "access/agent-reorder",
role: startsFlow, principal: AGENT, resource: reorder });
// It may see approvals. The reorder step names who may decide,
// and the agent is not among them.
defineBinding({ path: "access/agent-approvals",
role: decidesApprovals, principal: AGENT }); Shortened from examples/fernhill.
Why it's safe to let it try.
An agent will call tools wrongly sometimes. Each of these makes a wrong call cheap.
- Checked before it runs
- Every call is checked against the script's input schema. A malformed date is refused with "must be a date and time in ISO 8601", not a stack trace.
- Refusals it can explain
- A failed run comes back as an error result with its message, so the agent tells the caller why instead of guessing.
- Rows it can't see
- A script reading as the person who asked gets only their rows. The agent's account gets only what its bindings allow.
- People stay in charge
- A flow with an approval step still waits for a person, whoever started it.
- On the record
- Every call is in the audit log, marked as made through MCP, and every run says the account that started it.
- Tried before it's live
- Run any of the agent's tools from the console, as its account, before you connect the agent.
Volvel doesn't run the agent or the model. You bring the agent; Volvel gives it tools, over the Model Context Protocol.
Related
Give your agent real work, and limits.
Scripts as tools, scoped by permission and audited, in open-source Volvel.