# Reduce token usage in Glean

> Glean already does 2 of the fixes for you. Agent type: using an enterprise assistant. From Use Fewer Tokens, by StackOne.

Last checked: 30 Nov 2026, against the vendor's own pages.

## What Glean already does
- **Load tools when needed**: Tool search hands agents a small set of the MCP tools that fit each request. ([source](https://www.glean.com/blog/mcp-mar-drop-2026), read 30 Nov 2026)
- **Prompt caching**: Glean caches the stable part of the prompt itself.

## With StackOne
- **Load tools when needed**: Add https://mcp.stackone.com/mcp; it exposes 2 tools and finds the rest
- **Deep Query**: Add https://mcp.stackone.com/mcp as one MCP server
- **Ask for fewer fields**: source on any _s1query call
- **Keep live questions live**: Keep the live action next to the _s1query tool
- **Tool Policies**: Tool Policies on the project

## Other techniques for enterprise assistants
- [Turn off tools you don't use](https://usefewertokens.com/techniques/fewer-tools/): fits. Copilot Studio and Gemini Enterprise cap tools per agent.
- [Prompt caching](https://usefewertokens.com/techniques/prompt-caching/): partly. The vendor caches for you.
- [Clear old tool results](https://usefewertokens.com/techniques/context-editing/): partly. Handled by the vendor.
- [Read web pages as text](https://usefewertokens.com/techniques/browser-snapshots/): partly. The vendor's browsing tool decides.
- [Keep instruction files short](https://usefewertokens.com/techniques/instruction-files/): partly. Keep agent instructions short.
- [Let the agent run code over results](https://usefewertokens.com/techniques/code-execution/): not available. Not offered in enterprise assistants.
- [Cap tool output](https://usefewertokens.com/techniques/output-caps/): not available. No setting exposed.
- [Run side tasks on a smaller model](https://usefewertokens.com/techniques/smaller-subagents/): not available. The vendor picks the model.
- [Measure what fills the window](https://usefewertokens.com/techniques/audit-commands/): not available. No per-request view.
- [Lower the effort setting](https://usefewertokens.com/techniques/effort/): not available. The vendor picks.
- [Batch scheduled jobs](https://usefewertokens.com/techniques/batch/): not available. Interactive.

## Links
- Optimizer set to Glean: https://usefewertokens.com/harnesses/glean/
- Connect Glean to StackOne: https://www.stackone.com/platform/mcp/ai-agent/glean/
- How to reduce AI agent token usage: https://www.stackone.com/blog/reduce-ai-agent-token-usage/
