View Categories

Token Budget: Results Sized for Your AI Client, Never Cut Silently

Analyse your data with your AI client · Token budget

Every result reports its ukuran. Nothing is cut silently.

Your AI client can set a size budget for a result. Whole rows are kept until it is spent, and whatever did not fit is reported with a link to the complete result.

Personal Core and up Runs on your Network Agent Hanya baca, selalu
Mengalami kesulitan di suatu titik? Tanyakan saja pada kami. Membuka Dukungan Di Query Streams (menu kanan atas → Dukungan) dan kirimkan pesan kepada kami. Ada orang sungguhan yang membacanya, dan "Saya tidak tahu apa yang diminta layar ini" adalah pertanyaan yang sangat wajar.

What your Network Agent does for you

Query Streams MCP iconYour AI client always knows how much of its context a result will use, and never gets a result that was quietly cut. The budget is resolved for every call: the size the client asks for, otherwise your organization’s setting, otherwise a default for the client in use. Whole rows are kept until the budget is spent, and the rest is reported with a link to the complete result.

An AI client reads every result it is handed. When a result is too large, most clients truncate it, drop it, or stop and ask you to narrow the question, and nobody tells you which rows were lost. With a token budget:

  • Every result says how big it is, in tokens, the unit an AI client’s context is measured in.
  • Your AI client can set a budget for a call. Whole rows are kept in order until it is spent. A row is never cut in half, and at least one whole row always comes back.
  • What did not fit is reported: how many rows were left out, one sentence on how to get them, and a link that opens the complete result in Query Builder.
  • The budget follows a fixed order: the size the client asks for on the call; otherwise your organization’s Result size if an admin set one; otherwise a default for the AI client calling (see Client-aware defaults).
SituasiBeforeWith a token budget
A 2,000-row answer in a chat appThe client reads part of it and you cannot tell which part.The rows that fit, plus how many more there are and a link.
A wide result in a coding toolThe result spills or is dropped, and the client asks again.The result fits the first time.
“How big is this going to be?”Unknown until it arrives.The size is in every answer.

The plan it needs

RencanaThis capabilityCatatan
GratisNot on this planWorks as it always has, with standard results.
Personal Core, Personal PlusTermasukPart of Context management.
Business Core, Business Plus, Business MaxTermasukPart of Context management.
Enterprise Core, Plus, MaxTermasukPart of Context management.

Why it is on paid plans: your Network Agent does the heavy lifting next to your database, so the rows stay in your network and your AI client spends its attention on the thinking. That groundwork is what the paid plans add.

The Free plan works as it always has. Paid plans add the Analytic toolset. Free is a plan you keep: MCP, the REST API, federated queries and alerts, with the same results as before. Plan names and prices are on the halaman harga.

How to ask

You do not call tools yourself. Ask in plain words and your AI client picks the tool. Three asks that bring this capability in:

For people who read tool lists: max_tokens pada qs_jalankan_kueri dan qs_run_saved_query (at least 2,000; a smaller value is raised to the floor). The result reports approx_tokens, budget_tokens, budget_source dan budget_rows_dropped in its diagnostics. See it on the Tools tab.

What comes back

approx_tokens
Roughly how many tokens the result costs in your AI client’s context.
budget_tokens
The budget that applied to this call.
budget_source
Where the budget came from: input (the call itself), org (your organization’s Result size), or client_default (the default for your AI client).
budget_rows_dropped
Whole rows left out to stay inside the budget. When it is above zero the answer also carries a link to the complete result.

What it does not help with

  • It does not make the query cheaper for your database. The query runs the same; only what reaches your AI client is sized.
  • It does not summarise the rows it leaves out. To learn about all of them, ask for a profil.
  • It does not change what Excel, Google Sheets, the REST API or Data Viewer receive. They always get the full result.

Batasan

  • The smallest budget is 2,000 tokens, so a typo can never return an empty result.
  • Your plan’s rows-per-query limit applies first, then the budget.
  • Tokens are an estimate from the size of the result. Your AI client may count slightly differently.
  • Results count against your data allowance the same way as every other client.

Pengaturan

Open the MCP page’s Context tab, card What reaches your AI assistant, group Result size. An admin changes it for the whole organization; changes reach connected AI clients within five minutes.

PengaturanApa fungsinya?Bawaan
Result sizeMobil sizes each result for the AI client in use. Fixed keeps every result under about the number of tokens you enter.Mobil

A budget your AI client sets on a call beats the organization setting, and the organization setting beats the per-client default. Each key can differ: when you create or edit a key on the MCP page, its Result shaping section sets Inherit (follow the organization), Mati atau Strict (a request cannot loosen the organization’s settings), plus the key’s own Result size. Itu What your AI client sees preview on the same tab runs a saved query through your saved settings and shows the size the client would get.

When your AI client says no

When the server refuses, your AI client receives a code and one sentence, and usually relays it. Quoted sentences are the server’s own words; the parts in italics stand for the ids a real message names.

KodeWhat the server saysApa yang harus dilakukan?
MCP_FEATURE_NOT_INCLUDED (Free)Free answers as it always has. Setting max_tokens on Free is refused with the context management sentence below; a call that sets none runs normally.Leave the size to the client, or move up to Personal Core.
MCP_FEATURE_NOT_INCLUDED“Your plan does not include context management; schema by business area, shaped results and a size budget are available on Personal Core.”Your AI client carries on without the input and gives you the plain result. To keep the capability, move up to Personal Core.
MCP_INVALID_INPUTA negative max_tokens. Negative values are never read as omitted.Ask for a positive size of at least 2,000 tokens.

Contoh

“Keep answers small today, I am on my phone.”

Your AI client sets a small budget on each call, gets the first rows plus the count of what was left out, and offers summaries instead of long lists.

“I need all 2,000 rows in a spreadsheet.”

The client points you to the link in the result. It opens the same query in Query Builder, where you can send the full result to Excel or Google Sheets.

Masih bingung? Membuka Dukungan Di Query Streams, beri tahu kami Anda berada di langkah mana dan apa yang Anda lihat. Kami akan menghubungkan Anda.

Facts source

Facts on this page: the Query Streams MCP server and Network Agent as of 19 October 2026, with the server’s own refusal sentences quoted word for word. Table and column names in the examples are made up.

Setup trouble?

  • Agent shows Offline, or Test connection and Browse are greyed out? Check that the Agent is online → Is the Agent online?
Updated on Oktober 18, 2026

Powered by BetterDocs