Tool Governance
Tool Governance decides, for each surface, which tools Qubit and your automations may run, which need approval and which are denied, and it lists standing approvals and recent tool calls.
Last updated 25 days ago
Tool Governance decides what Qubit and your automations may do with tools. For each surface and each tool, a rule says Allow, RequiresApproval or Deny. It covers QuantumOps's built-in tools and every MCP source, not only StackJack. The same card lists everyone's standing approvals and the most recent tool calls.
Only an Administrator can open it. It is a card called Tool Governance at the bottom of MCP Sources. On that page, choose Tool governance at the top to jump to the card.
The card is always there for an Administrator: it governs QuantumOps's own tools as well as every source, so it does not wait for a source to be added. It used to sit on the StackJack Integration page, which is gone; the old address opens MCP Sources.
Surfaces and defaults
A surface is the place a tool call comes from. When no rule matches a tool, the default for its surface applies.
The Copilot surface is not the Copilot card on the Ticket Dashboard; it covers only outside AI clients.
On Pipeline nobody is there to approve anything, so a rule with the effect RequiresApproval acts as Deny.
On Autopilot an approval can be answered. It goes to the approvers chosen on Autopilot settings, who decide it in the browser extension or on a Slack or Teams card; see Approving Autopilot steps. Rules for Autopilot can apply to everyone, to a role or to one person. A rule for a person beats one for a role, which beats one for everyone, except that a Deny for everyone cannot be loosened. Role and person rules are made on Autopilot settings, where Allow, RequiresApproval and Deny read Pre-allowed, Needs approval and Blocked. A rule you make on this page for Autopilot applies to everyone. Playbooks add two built-in steps that rules can name, written quantumops:escalate_to_dispatch and halo_actions:update_priority. Both are changes, so the mode decides whether they wait for a click, and a rule can pre-allow, hold or block them. See Built-in steps for playbooks.
Read tools and changing tools
QuantumOps decides whether a tool only reads or changes something in this order:
- The Classification of the rule that matches the tool, when you set one.
- What the server says about the tool. A tool marked destructive, or not read-only, counts as a change. By default, a read-only mark from another server does not make a tool count as a read.
- The words in the tool's name. Verbs such as list, get, search or describe mean a read. Verbs such as create, update, delete, run or send mean a change.
- Otherwise it counts as a change.
How rules are applied
- Only rules that are switched on count.
- A rule that matches a tool decides, in either direction. You can allow a changing tool for AgentRunner, or deny a read tool in Chat.
- When several rules match, the most specific pattern wins. That is the one with the most characters other than wildcards. If two are equally specific, the stricter one wins: Deny, then RequiresApproval, then Allow.
- A source whose Destructive tools always need approval box is checked turns an Allow into an approval request for any tool the server marks as destructive.
- A Deny rule beats any standing approval.
Built-in rules
Below the rules you can edit, the card lists Built-in rules. They are fixed rows marked "Built in, cannot be changed", with the Surface, Tool pattern, Effect and Source like any rule, but nothing on them can be switched off, edited or deleted.
They protect passwords. On Pipeline, a tool whose name or description says it reads a password, credential, secret, one-time password, MFA code or API key is Deny, whatever your own rules say and whatever the tool's server says about it. The rows name the words that are matched inside a tool's name, the whole words that are matched, and the known credential tools of IT Glue and Hudu. The same applies to every tool a pipeline source offers, on any surface. Chat is not affected: a person's own chat tools follow your rules.
On Autopilot, the rows apply to a tool that reads such a value, for example a password lookup. A step a person approved that changes one, such as resetting a password or an MFA method or revoking a token, is a change, not a read, and follows your Autopilot rules and the approval you set.
Create a rule
The screen calls a rule a policy.
- Choose New Policy. The editor opens with Surface set to AgentRunner, Effect set to Allow and Enabled checked.
- Choose the Surface: Chat, Copilot, AgentRunner, Pipeline or Autopilot.
- Choose the Effect: Allow, RequiresApproval or Deny.
- Enter the Tool pattern. A
*stands for any run of characters and a?for one character. Matching ignores capital letters, and a leadingsj_is ignored on both sides. - Choose the Classification: Auto (name heuristic), Force read or Force mutating.
- Optionally add Notes (optional) that say why the rule exists.
- Choose Save. The page shows "Policy saved."
A tool from an MCP source is written as the source's alias, a colon and the tool's name. This is also how the audit list shows it.
StackJack can run a connector's tool through a general tool, such as its read-only runner. The rule is checked for the tool that is actually run as well: a rule for stackjack:itg_list_documents applies when the runner is asked to run it, and a rule for the runner itself still applies. A tool that would need approval is denied there unless the call itself was approved.
The table lists each rule with its Surface, Tool pattern, Effect, Class and Enabled state. Choose On or Off to switch a rule on or off, the pencil to edit it and the bin to delete it. Before you add the first rule, the table reads "No tool policies defined. The Agent Runner surface stays default-deny until you add Allow rules."
The name check reads only the tool's name. A tool whose name sounds like a query can still change something. Before you allow a tool broadly, set Force read or Force mutating on the rule so the decision does not depend on the name.
Starter rules for AgentRunner and Pipeline
When AgentRunner, Pipeline or Autopilot has no rules at all, QuantumOps adds a starter set the next time it needs one. If you delete every rule for a surface, the starter set is added again. The first three items below are the set for AgentRunner and Pipeline. Autopilot has its own, in the last item.
- Allow for QuantumOps's own read tools. These are the HaloPSA lookups, searches of the support memory, the analytics reads, the documentation lookups, the QBR lists and reads, and the file tools that add a chart or file to a run's own conversation.
- RequiresApproval on AgentRunner and Deny on Pipeline for saving a fact to the support memory, and for the requests that ask HaloPSA to add a note or update a ticket.
- Deny on both surfaces for forgetting a fact in the support memory.
- Autopilot gets Allow for QuantumOps's own read tools, Deny for forgetting a fact in the support memory and for the requests that ask HaloPSA to add a note or update a ticket (Autopilot makes its HaloPSA changes with steps of its own), and RequiresApproval for the tools of StackJack. A StackJack read still runs under that rule, and only a change waits for an approver.
Review and revoke standing approvals
When someone approves a tool in chat, they can approve it for that conversation or always. Standing approvals from chat lists those answers with the User, Tool, Scope, Granted (UTC) time and an Actions column. A scope of thread covers one conversation, and always covers every conversation of that person. The User column shows the person's sign-in identifier, not a name.
A standing approval only satisfies a RequiresApproval decision. A Deny rule still wins, and a tool the server marks as destructive always asks.
To revoke one, choose Revoke on its row. It stops applying on that person's next message. When the list is empty it reads "No standing approvals."
See Approving Qubit's actions for what the person sees.
Generate Allow rules for a runner
AgentRunner denies everything by default, so a saved runner cannot act until its tools have Allow rules. Auto-provision AgentRunner rules creates them from the runner's own tool allowlist. It appears once at least one runner exists.
- Choose the runner in the list.
- Choose Generate Allow rules.
QuantumOps creates an Allow rule on AgentRunner for every pattern in the allowlist that does not already have a rule on that surface. The page tells you how many it created, or that every pattern already has one, or that the runner has no patterns. Each new rule is as broad as the pattern it came from, so review them afterwards.
Read the audit list
Recent tool invocations shows the 50 most recent tool calls, newest first. Choose Refresh to reload it.
The list does not show what a tool was given. An empty list reads "No tool invocations recorded yet."
Where approvals are decided
A call that needs approval waits for a person. Approving Qubit's actions lists where each kind of request is decided. On Autopilot the approvers chosen on Autopilot settings decide it, not any Administrator.
Related pages
- Approving Qubit's actions: what the person sees when a tool needs approval.
- Agent Runners: the surface that is denied by default.
- MCP sources: the sources whose tools these rules govern.
- StackJack: the source whose tools most rules govern.
- Approvals tab: where runner approvals are decided.
- Autopilot settings: the role and person rules, and the approvers, for the Autopilot surface.
- Connecting external AI clients over MCP: the outside clients that use the Copilot surface.
Was this helpful?
More in Qubit and AI
Chat with QubitWhat Qubit can use: tools and sourcesApproving Qubit's actionsFiles and charts in chatStill need help? Ask the team