Skip to main content

Run tools without user confirmation

By default, write tools in Glean require explicit user confirmation before execution. Glean proposes the tool, the user approves it, and then the tool runs.

However, for background agents and scheduled agents, this confirmation step blocks execution because no user is present to approve the tool. Enabling the Run without user confirmation setting removes this blocker for automated contexts.

What this setting controls

When you enable this setting for a tool, Glean executes write tools in the background without waiting for user approval if:

  • The tool is invoked by a scheduled agent running on a timer.
  • The tool is invoked by a background agent triggered by an event such as a new Slack message or a webhook.
  • The agent is running in auto mode without an active user session.
note

When the same tool is invoked interactively, meaning a user is present in Glean or in an active agent session, the confirmation prompt still appears as normal, regardless of this setting.

Configuration steps

  1. Go to the Glean Admin Console.
  2. Navigate to PlatformTools.
  3. Select the tool you want to configure and open the Configuration tab.
  4. Click Edit settings under the Enable tools section.
  5. Click Agents and set Run without user confirmation to Yes.
  6. Click Save.
note

This setting applies to all tools from this connector, not to individual tools within it. If you want to allow background execution for only specific tools, you'll need to enable or disable individual tools accordingly.

Security considerations

Enabling this setting allows write operations such as creating tickets, posting comments, or updating records to occur automatically without human review. Before enabling this feature, ensure you:

  • Test thoroughly: Verify the instructions of the agent are tightly scoped and tested in an interactive session first.
  • Restrict visibility: Limit the visibility scope of the tool to only the specific users or service accounts the agent runs as.
  • Disable destructive tools: Use the per-tool enable or disable toggle to turn off any destructive tools, for example, delete, close, archive.

Run without user confirmation vs. Inline execution

Both settings live in the same Edit settings panel per tool. They operate independently and you can require user confirmation for interactive use while simultaneously allowing background execution for automated workflows.

SettingContextBehavior
User Confirmation (Default)Interactive sessionsThe user must review and approve a confirmation card before each write tool.
Run without user confirmationAutomated sessionsBackground and scheduled agents execute write tools automatically.

For more details on interactive confirmation behaviors, see Allowing in-line execution of write tools.

If you need help, contact the Glean support team.