Why does giving an agent a tool not authorise every use of it?
Why does giving an agent a tool not authorise every use of it?
If you give an agent a tool, have you also approved every use of it? Consider a procurement assistant that needs supplier records to compare quotes. Reading a record and changing it might be exposed through closely related tools, but the business does not treat those actions alike. A skill answers which capability belongs in the agent’s working set. A policy asks whether a particular call should proceed under particular conditions. Collapsing the two into one setting hides where permission is actually decided.
Imagine a request to update a supplier record arriving alongside a proposal document. The document might contain instructions of its own. This is a hypothetical workflow, not a customer case. The fact that the agent can see an update tool should not turn words in an external document into permission to make a change. The team must decide what the job requires, then decide where an individual action should be stopped or reviewed. Those are decisions made at different times and at different levels of detail.
A skill narrows the work surface
The agentic-organization guide describes a company skill library: define a capability once and link it to selected agents. A skill has a name, description, type, instructions, configuration and active state. The implementation in backend/api/skills.py has separate routes to create, update and assign it. The technical guide distinguishes built-in, MCP, HTTP, function and database skills. They do not share a single risk profile. Searching for information, sending a request to an external API and querying a database have different consequences even if they all appear to the model as tools.
In backend/services/agent_runtime.py, only active skills are included in the tool definitions shown to the model. When a call arrives, the executor finds the named skill before running it. Those checks help keep an agent’s available tools aligned with its job. They do not establish that every argument is appropriate or that a particular session has a legitimate reason to use the tool. An HTTP capability can be called with very different inputs. Tool availability and permission for a specific call should therefore remain separate questions.
One alternative is to give the model no tools at all. That works for drafting, but cannot carry out work involving records and services. Another is to grant every agent broad access and rely on an instruction that says to use tools sparingly. That leaves a large action surface governed mainly by the model’s interpretation. The skill library offers a way to reduce the surface first: which tools belong to this agent? Policy checks then address what happens inside that selected surface.
The decision is made at call time
The policy guide distinguishes readable Markdown from executable rules. The agent’s instructions include policy names; prose in a policy does not automatically become a tool gate. Properly structured blocks marked policy, yaml or json can be read by the policy engine to evaluate a tool call and its arguments. backend/services/policy_engine.py gathers active policies at company, ancestor department, current department and agent scope. The last matching rule wins. That ordering matters: authors must test overlapping general and specific rules rather than assume the stricter looking sentence always wins.
Before a matched skill executes in the backend, policy_gate makes a decision and attempts to record it in the audit chain. In enforce mode, an applicable deny or ask blocks execution at that boundary. The default is dry_run, where a clean matched deny or ask is logged but not applied. A fail-closed verdict for a broken policy, or an audit write failure, still blocks through this backend path. There is no policy-mode control in the current interface; enabling enforcement requires the API. The existence of a policy record is not evidence that a specific call was blocked.
ADR-0005 explains why the architecture does not rely on instructions alone. A prompt-only rule is susceptible to misinterpretation or conflicting input. At the other extreme, a separate general-purpose policy system could add a heavy authoring burden while distancing rules from the documents people actually discuss. The chosen approach keeps human-readable policy and structured call-time rules together. That does not make them interchangeable. The prose explains the boundary; a rule must express a testable match. The code’s default effect for a call that matches no rule is allow, so missing coverage is a real operational question.
One capability, several departmental decisions
Production may need an agent to read maintenance notes for a shift summary while treating edits to those notes separately. Procurement can compare offers without being granted an unchecked path to create orders. Finance may allow reporting queries but review payment initiation. HR should distinguish summarising an internal document from sending personnel data to an outside service. IT has to check both who configures a connection and which arguments the agent can send through it. These are examples of questions for each organisation, not policies installed by default in the product.
Putting a warning only in the skill description does not create a technical gate in front of the tool. Conversely, a rule without a readable explanation leaves colleagues guessing why their work is blocked. A workable starting point is a short inventory of tools, intended calls and calls that should not proceed. Identify the argument or scope that separates the two. Test examples in dry_run, review the recorded decisions and verify an intentional switch to enforce if actual blocking is needed. Test for unexpected allows as carefully as unexpected denials.
There are limits that deserve equal attention. The function skill executes restricted Python code, but the technical guide says it is not a real isolated sandbox; untrusted code must not be treated as safe because the skill exists. ADR-0017 also describes a larger policy lifecycle, including document import, Git as the policy source of truth and output behaviour checks. Its acceptance note says these pieces are planned rather than built. A rule evaluated before a tool call does not verify the correctness of a final answer, and it does not cover every way information might be disclosed. The boundary should be described as the boundary it actually is.
For a team configuring an agent, two questions are worth writing down separately: why does this job need the tool, and which concrete calls should be denied or held for review? The first shapes the agent’s assigned skills; the second needs a tested policy rule and an understood enforcement mode. ADR-0005 and ADR-0017 in agentic-organization show both the present tool-call decision and the unfinished wider policy lifecycle. That distinction helps any organisation resist the comforting but inaccurate idea that a tool assignment is also a complete permission model.
Verification note: This article was checked against docs-site/docs/guide/skills-and-policies.md, docs-site/docs/developer-notes/known-limits.md, ADR-0005, ADR-0017 and backend/api/skills.py, backend/services/agent_runtime.py and backend/services/policy_engine.py. The department workflows are illustrations, not claims about customer deployments or built-in rules.