Skip to main content

Manage tool access

When you enable tools in Admin console → Platform → Tools, you can restrict access to specific users, departments, Glean groups, or identity provider (IdP) groups. Visibility scoping controls which tools users can invoke in Chat, select or configure in Agent Builder, and access through Glean MCP servers. It also applies to third-party MCP tools that Glean connects to as an MCP Host.

Visibility scoping does not restrict tool execution when an end user runs an already-shared agent. Shared-agent runtime remains subject to configured credentials and downstream permissions.

Two distinct access controls​

Admin configurations control two entirely separate layers of access: who can use the tool versus who can build with it.

SettingWhat it controlsWhere to configure
Visibility scopeDictates which end users can see and invoke the tool within Chat, Agent Builder, or Glean MCP serversAdmin console → Tools → Edit settings → Make available to
Role-based accessDictates which admins and builders can view and add this tool when constructing an agentAdmin console → Tools → Manage role-based access

For builder-level access, see Managing tool access.

How visibility scoping works​

By default, when you enable tools, they are available to everyone in your Glean workspace. You can restrict this to specific users, departments, Glean groups, or IdP groups.

The selected audience applies when users invoke a tool in Chat, select or configure it in Agent Builder, or access it through a Glean MCP server. This includes native tools and tools imported from third-party MCP servers.

Glean MCP server and Glean as an MCP Host​

These terms describe two different connection patterns:

TermWhat it meansHow visibility scoping applies
Glean MCP serverGlean exposes Glean tools to an external MCP host, such as Cursor, Claude, or ChatGPT.Users can access only the Glean tools included in their configured audience.
Glean as an MCP HostGlean connects to a remote third-party MCP server and makes its tools available through Chat, Agent Builder, or Glean MCP servers.The configured audience controls whether users can use the third-party tools on those surfaces. Users may also need to authorize the third-party service.

For more information about connecting third-party servers to Glean, see Connect remote MCP servers to Glean.

Prerequisites for IdP group audiences​

Before you configure an IdP group as a tool audience:

  • You need the admin or super admin role.
  • Your organization must have group-based permissions enabled.
  • The identity provider that contains the group must be configured and syncing groups to Glean.
  • The group must already be available in Glean when you configure the tool.

The supported identity providers are:

  • Azure AD (Microsoft 365)
  • Google Groups (Google Workspace)
  • Okta

See Group-based permissions for provider setup and limitations. The available provider and group options depend on your deployment.

Glean plugin

Tool visibility also applies when users invoke tools through the Glean plugins for Cursor, Claude Code, and Codex. The plugins don't bypass visibility settings, connector permissions, or connector data access rules. See Manage Glean plugin access and security.

Experience outside the visibility scope​

If a user falls outside the visibility scope of a tool, the system behavior depends on the interface:

  • In Glean Chat: The tool is hidden. It does not appear as an available tool, and Glean ignores explicit user requests to invoke it.
  • In Agent Builder: The tool is unavailable, so the user cannot select or configure it while creating an agent.
  • Through Glean MCP servers: The tool is not available to the user when they connect to Glean through an MCP host such as Cursor, Claude, or ChatGPT.

These restrictions do not affect tool execution when the user runs an already-shared agent.

Configure visibility scoping​

  1. Navigate to Glean Admin console.
  2. Click Tools.
  3. Click the tool you want to configure and navigate to the Configuration tab.
  4. Click Edit settings under Enable tools.
  5. Under Make tools visible for all or some teammates, select the surfaces where the tool should be available:
    • Agent
    • Chat
    • Glean MCP Server
  6. Under Access, select the audience for the tool:
    • All teammates
    • A specific department
    • Specific teammates
    • A Glean group
    • An IdP group
  7. If you selected a Glean group or IdP group, search for and select the group. You can add individual teammates and groups to the same audience when those options are available.
  8. Click Save.

Saving the tool configuration updates its visibility scope immediately. Changes to IdP group membership take effect after Glean receives the next identity sync. Depending on the identity integration, membership changes can be near real time or take up to three hours. See Group-based permissions for sync details and the on-demand sync option.

What the audience controls​

The audience setting controls availability in the following surfaces. It does not control tool execution in already-shared agents.

SurfaceResult for a user in the selected audience
ChatThe user can invoke enabled native tools and third-party MCP tools connected to Glean.
Agent BuilderThe user can select and configure enabled tools, including connected third-party MCP tools, when creating an agent.
Glean MCP serverThe user can access enabled Glean tools, including tools from connected third-party MCP servers, through an external MCP host.

To ensure a secure and stable deployment, expand the visibility scope of your tool progressively using the following phased approach:

StageRecommended scope
Initial pilotSpecific users: limit to your test group or IT and ops team
Departmental rolloutSpecific departments: for example, Engineering only for Jira tools
Full rolloutEveryone

Visibility scope and agent sharing​

Visibility scoping determines whether a user can select or configure a tool when creating an agent. It does not prevent users outside the scope from executing the tool in an already-shared agent. Execution remains subject to configured credentials and downstream permissions.

Troubleshooting​

For questions and support, reach out to the Glean support team.