Glean
Arcade toolkit · docs.arcade.dev
Arcade toolkit that exposes the Glean Client API, enabling search over a company's Glean enterprise index with results permission-filtered to the authenticated user.
Capabilities
- Enterprise search: Query the Glean index and retrieve ranked, permission-filtered results scoped to the authorized user.
- Pagination: Page through results using
offsetandlimit;has_next_pagesignals additional pages. Offset paging is supported up to ~2 000 results (e.g. 20 pages × 100 items); deeper offsets raise an error instead of returning a misleading empty page. - Result trimming and transparency: When the fetch budget is exhausted before the requested window is filled, or when result items are large and the list is trimmed to a size budget, the tool raises or sets
truncated: trueand keepshas_next_page: true— failing loud rather than silently returning incomplete data.
Tools1
Glean_Search
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.