Skip to Content
ResourcesIntegrationsSearch ToolsGlean

Glean

Glean icon
Arcade OptimizedBYOC

Arcade MCP server exposing Glean Client API search over custom OAuth2.

Author:Arcade
Version:0.2.0
Auth:User authorization
1tools
1require secrets

Glean Toolkit

The Glean toolkit connects Arcade to a Glean enterprise deployment, exposing the Glean Client API so authorized users can search their organization's indexed content directly from Arcade workflows.

Capabilities

  • Enterprise search: Query the user's Glean index and retrieve permission-filtered, ranked results scoped to the authenticated user.
  • Paginated results: Page through results using offset and limit; has_next_page signals additional pages, with offset paging supported up to ~2 000 results (roughly 20 pages × 100 items).
  • Fail-loud safety: Raises errors rather than returns misleading partial or empty pages — enforced when the fetch budget is exhausted before the requested window is filled or when offsets exceed the supported depth.
  • Result trimming with transparency: When individual result items are large, the result list is trimmed to a size budget; truncated flags this condition and has_next_page remains true so callers can page forward or narrow the query.

OAuth

This toolkit uses OAuth 2.0. The provider is custom/self-hosted Glean (provider ID not registered with a standard Arcade provider page), so no standard Arcade provider docs link applies. OAuth credentials and the authorization flow are managed through your Glean enterprise deployment.

Secrets

  • GLEAN_API_URL: The base URL of your organization's Glean API endpoint (e.g., https://<your-company>-be.glean.com). This URL is specific to your Glean enterprise instance. Obtain it from your Glean administrator or by locating your deployment's backend host in the Glean Admin Console. It is typically documented alongside other API integration details under your company's Glean deployment settings. This is required so the toolkit can route requests to the correct tenant rather than a shared Glean endpoint.

For guidance on configuring secrets in Arcade, see the Arcade secrets docs. Secrets can also be managed at https://api.arcade.dev/dashboard/auth/secrets.

Available tools(1)

1 of 1 tools
Operations
Behavior
Tool nameDescriptionSecrets
Search the user's Glean enterprise index and return ranked results. Results are permission-filtered to the authorized user. Use 'offset' with 'limit' to page; 'has_next_page' indicates more results remain. Offset paging is supported up to roughly 2000 results (20 pages x 100 items); deeper offsets raise an error rather than return a misleading empty page. When the fetch budget is exhausted before the requested window is filled, the tool raises rather than return a partial page (fail loud over mislead). The result list is trimmed to a size budget when items are large; 'truncated' flags it and 'has_next_page' stays true so the caller can page or narrow the query.
1

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

Glean.Search

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
MCP behavior
Yes

Reads data without modifying any state in the target system.

No

May permanently delete or overwrite data in the target system.

Yes

Repeated calls with the same inputs produce no additional effect.

Yes

Communicates with external APIs, databases, or other services.

Search the user's Glean enterprise index and return ranked results. Results are permission-filtered to the authorized user. Use 'offset' with 'limit' to page; 'has_next_page' indicates more results remain. Offset paging is supported up to roughly 2000 results (20 pages x 100 items); deeper offsets raise an error rather than return a misleading empty page. When the fetch budget is exhausted before the requested window is filled, the tool raises rather than return a partial page (fail loud over mislead). The result list is trimmed to a size budget when items are large; 'truncated' flags it and 'has_next_page' stays true so the caller can page or narrow the query.

Parameters

ParameterTypeReq.Description
querystringRequiredNatural-language search query to run against the user's Glean index.
limitintegerOptionalMaximum number of results to return (1-100). Defaults to 10.
offsetintegerOptional0-indexed position of the first result to return. Defaults to 0 (first result).

Requirements

Secrets:GLEAN_API_URL

Output

Type:jsonRanked Glean results plus pagination metadata. 'has_next_page' is true when more results are available (page with a larger 'offset'); 'truncated' is true when the result list was trimmed to fit a response-size budget.
Last updated on