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 the Glean Client API, enabling enterprise search over a company's indexed content with results scoped to the authorized user's permissions.

Capabilities

  • Enterprise search: Query the Glean index and retrieve ranked, permission-filtered results via Glean.Search.
  • Offset pagination: Page through results using offset and limit; has_next_page signals additional pages. Supported up to ~2,000 results (20 pages × 100 items); deeper offsets raise an error to prevent silent data gaps.
  • Result-size safety: When results exceed a size budget, the response is trimmed and flagged via truncated, with has_next_page preserved so callers can page or narrow the query.
  • Fail-loud guarantees: Partial pages are never silently returned — the tool raises an error rather than mislead when the fetch budget is exhausted before the requested window is filled.

OAuth

This toolkit uses OAuth 2.0 with a custom/unknown provider (Glean's enterprise OAuth). Configure the OAuth provider in Arcade per your organization's Glean OAuth application settings. See Arcade auth-provider docs for integration details.

Secrets

  • GLEAN_API_URL — The base URL for your organization's Glean API endpoint (e.g., https://<your-org>.glean.com/api). Glean instances are tenant-specific, so this URL differs per deployment. Obtain it from your Glean administrator or the Glean admin console under your tenant's API settings. Glean API documentation may also reference the correct base URL format for your deployment.

Store secrets via the Arcade secrets guide or directly 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