Using an enterprise assistant
Reduce token usage in Gemini Enterprise
Gemini Enterprise already does one of the fixes for you, and one setting cuts more. Each setting below links to the page it was read on.
Try it on one of your agent's tasks
The optimizer is set to Gemini Enterprise. Describe a task, and the fixes come back ranked for this harness.
StackOne agentFixing your agent
Example result
Gemini Enterprise
Humaans List all people
Your agent answers in 0.6 s, not 2.4 min
Same question, answered from a synced copy of your Humaans data: 50 live calls become 2 reads.1,2
Share
| Switch | Setting | Today | With fixes |
|---|---|---|---|
| Deep Query | 50 live calls · 2.4 min | 2 reads · 0.6 s | |
| Load tools when needed | 117 tools · 29K tokens | 2 tools · 6.3K tokens | |
| Unused tools | Loaded | Switched off |
The fixes, biggest saving first
Deep QueryStackOne50 → 2 calls1
Data Sync keeps a copy of Humaans List all people, so 5,000 records take 2 reads instead of 50 live calls.
The live API returns 100 a page, assumed.
Waiting 2.4 min → 0.6 s at production averages; 33% to 74% fewer tokens per connector on 1,345 benchmark tasks.2
Data Sync on Humaans List all people
list_people_s1querywith filter, source and aggsLoad tools when neededStackOne117 → 2 tools3
117 tools from Humaans; one Tool Gateway MCP server exposes 2 and finds the rest per task. Gemini Enterprise allows 100 enabled actions on a custom MCP server.
Tool Search was 3.8x cheaper per request than loading every tool across 824 tasks. Anthropic reported over 85% fewer tool-definition tokens with its own tool search.4
StackOne
Add
https://mcp.stackone.com/mcp; "Load tools when needed" is on by default (Project Settings, General, MCP Settings, or ?tool-mode=search_execute)Turn off tools you don't use
Each enabled tool is one more definition to load and one more to choose between.
Gemini Enterprise allows 100 enabled actions on a custom MCP server.5
Gemini Enterprise
Enable only the actions the agent uses
Keep live questions liveStackOne
Keep the live action for questions about one record or the provider's state this minute.
Your agentKeep the live action next to the
_s1querytoolTool PoliciesStackOne
Narrow which actions and fields the agent can use, per project.
No token figure: it's a control.
StackOne
Tool Policies on the project
7 more we checked
- Doesn't fitPrompt cachingGemini Enterprise caches the prompt for you; there's no setting to change.
- Doesn't fitLet the agent run code over resultsGemini Enterprise doesn't run code for the agent.
- Doesn't fitClear old tool resultsHandled by the vendor
- Doesn't fitCap tool outputGemini Enterprise doesn't expose a setting for it.
- Doesn't fitRead web pages as textYour task doesn't browse the web.
- Doesn't fitLower the effort settingThe vendor picks
- Doesn't fitBatch scheduled jobsYour agent answers people live.
Sources
- Arithmetic on your inputsEstimated from your inputs
- StackOne production averageMeasured by StackOne
- StackOne docsPublished by the vendor or in our docs
- StackOne benchmarkMeasured by StackOne
- Vendor-reportedPublished by the vendor or in our docs
How we worked this out
This result
- Humaans: 117 actions; matched List all people (
list_people, Data Sync available). - Records: 5,000, you gave. Runs: 1,000 a month.
- Calls: 50 live calls at 100 records a page, assumed, 2.9 s each in production. Deep Query: 2 reads at 0.3 s.
- Tool definitions: 29K tokens with every tool loaded, 6.3K with tool search, from our benchmark or its median per tool.
- Matched by rules over the catalogue. Rules do every calculation.
How every result is worked out
- Matching
- Your question is matched to connectors and list actions in StackOne's catalogue of 770+ connectors, and to the list actions Data Sync can copy. An action has to share a word with your question, so no match is shown rather than an unrelated one.
- Live calls
- A list action pages through every record a question covers, at the page size its config sets, or 100 when it doesn't say, and the result says which. Each live call takes 2.9 s, the production average over two weeks of traffic.
- Deep Query
- Two reads, 0.3 s each on average in production: the queryable fields, then the query. Tokens are 33% to 74% lower per connector across 1,345 benchmark tasks. On a single page, the optimizer makes no Deep Query claim.
- Tool definitions
- Input tokens per request with every tool loaded and with Tool Search are measured per connector on our benchmark of 47 connectors. For other connectors we multiply the action count by the median, about 346 tokens per tool, and mark it as an estimate.
- Ranking
- Rules decide which fixes apply and do every calculation, in your browser. Fixes with a sourced number show it; fixes without one say why they apply and show no number. Vendor figures are labelled as the vendor's own.
Benchmark and production figures are explained on the Deep Query page and the Tools Discovery page. Your own systems will differ.
Want us to look at your agent with you?
Go through your harness, your apps and these numbers with our engineers.
What Gemini Enterprise already does
These are on by default, so there's nothing to change.
-
Prompt cachingDone for you
Gemini Enterprise caches the stable part of the prompt itself, so there is no setting to change.
-
A cap of 100 toolsLimit
Gemini Enterprise allows 100 enabled actions on a custom MCP server.
Read on the vendor's page
Settings that cut more in Gemini Enterprise
Off until you turn them on. The ones that matter most for enterprise assistants come first.
-
Enable only the actions the agent uses
docs.cloud.google.com, read 30 Nov 2026
With StackOne
What changes when Gemini Enterprise reaches your business apps through StackOne's Tool Gateway MCP server, which connects to it as one MCP server.
-
Add
https://mcp.stackone.com/mcp; it exposes 2 tools and finds the rest3.8x cheaper per request than loading every tool, across 824 tasks; Anthropic reported over 85% fewer tool-definition tokens with its tool search. How it was measured
-
Add
https://mcp.stackone.com/mcpas one MCP server33% to 74% fewer tokens per connector across 1,345 benchmark tasks; 0.3 s per read against 2.9 s per live call in production. How it was measured
-
Source on any
_s1querycallOne benchmark list went from 1.33M tokens to 18.9K for the same correct answer. How it was measured
-
Keep the live action next to the
_s1querytool -
Tool Policies on the project
Other techniques for enterprise assistants
How well each one fits this kind of agent. Open one for the setting in every harness that has it.
-
Prompt cachingPartly
The vendor caches for you.
-
Clear old tool resultsPartly
Handled by the vendor.
-
Read web pages as textNot confirmed
The vendor's browsing tool decides.
-
Keep instruction files shortPartly
Keep agent instructions short.
-
Let the agent run code over resultsNot available
Not offered in enterprise assistants.
-
Cap tool outputNot available
No setting exposed.
-
Run side tasks on a smaller modelNot available
The vendor picks the model.
-
Measure what fills the windowNot available
No per-request view.
-
Lower the effort settingNot available
The vendor picks.
-
Batch scheduled jobsNot available
Interactive.