Home / Token cost / Heista

The Heista MCP server costs 29,371 tokens before the first call.

Connect Heista and its 69 tool definitions are loaded into the model's context on every request — 15% of a 200k window spent before your agent does anything.

QUICK ANSWER The Heista MCP server's tool definitions consume 29,371 tokens — 15× the median MCP server (1,905 tokens). A scoped grant exposing only the tools you use cuts that roughly in proportion.

MEASURED FROM SCHEMAS 69 tools · 29,371 tokens · 15% of 200k · 2.9% of 1M Method →

What that buys before your agent starts working.

Tool definitions are overhead: they occupy context on every request and compete with your code, documents and conversation history for the same window.

200K WINDOW 15%
1M WINDOW 2.9%

Corpus context: Heista ranks #28 of 3,213 measured MCP servers by definition cost. The median is 1,905 tokens, p90 is 7,952, and the heaviest (Fusionauth) is 183,337 — 92% of a 200k window on its own.

Where the 29,371 tokens go.

Each row is one tool definition as a tools/list entry — name, description and input schema — counted with o200k_base. Average: 426 tokens per tool.

ToolCategoryTokens% of server
call_creative_worlds Write 1,241 4.2%
save_asset Write 1,021 3.5%
generate_adscript Write 1,000 3.4%
create_powersource_docs Write 989 3.4%
create_powersource_full Write 806 2.7%
chat_with_creative_worlds Execute 783 2.7%
list_saved_assets Read 781 2.7%
decoder_intelligence Write 671 2.3%
adformula_intelligence Read 658 2.2%
create_powersource_url Write 652 2.2%
list_brand_assets Read 584 2.0%
list_brand_documents Read 552 1.9%
dispatch_qualitative_researcher_async Read 546 1.9%
dispatch_quantitative_researcher_async Read 525 1.8%
dispatch_desk_researcher_async Read 524 1.8%
dispatch_trend_researcher_async Read 521 1.8%
dispatch_social_listening_researcher_async Read 519 1.8%
dispatch_market_analyst_async Read 508 1.7%
get_hook_intelligence Read 485 1.7%
dispatch_qualitative_researcher Read 474 1.6%
perplexity_search Read 457 1.6%
search_community Read 455 1.5%
dispatch_quantitative_researcher Read 453 1.5%
dispatch_desk_researcher Read 452 1.5%
dispatch_trend_researcher Read 449 1.5%
get_powersource Read 448 1.5%
dispatch_social_listening_researcher Read 447 1.5%
dispatch_market_analyst Read 436 1.5%
list_creative_director_playbook_presets Read 416 1.4%
get_strategy Read 411 1.4%
dispatch_head_of_research Execute 409 1.4%
list_skills Read 396 1.3%
list_creative_agent_presets Read 395 1.3%
list_decoded_ad_presets Read 387 1.3%
list_visual_style_presets Read 382 1.3%
list_visual_preset_presets Read 377 1.3%
list_image_ad_scan_presets Read 372 1.3%
get_decode Read 371 1.3%
list_ad_formula_presets Read 369 1.3%
decode_ad Read 362 1.2%
list_saved_visual_idea_presets Read 362 1.2%
search Read 362 1.2%
search_research Read 338 1.2%
list_strategies Read 323 1.1%
get_dispatch_result Read 292 1.0%
read_brand_document Read 289 1.0%
get_saved_assets_batch Read 285 1.0%
add_brand_asset Write 284 1.0%
fetch_url Read 281 1.0%
list_strategy_audiences Read 281 1.0%
list_strategy_tones Read 266 0.9%
load_skill_reference Read 247 0.8%
list_brands Read 237 0.8%
check_balance Read 236 0.8%
favorite_saved_asset Write 236 0.8%
delete_saved_asset Destructive 235 0.8%
retag_brand_asset Execute 235 0.8%
get_brand Read 225 0.8%
get_saved_asset Read 217 0.7%
get_creative_director_playbook_preset Read 210 0.7%
delete_brand_asset Destructive 209 0.7%
get_saved_visual_idea_preset Read 207 0.7%
get_creative_agent_preset Read 205 0.7%
get_decoded_ad_preset Read 205 0.7%
get_image_ad_scan_preset Read 205 0.7%
get_ad_formula_preset Read 204 0.7%
get_visual_preset_preset Read 204 0.7%
get_visual_style_preset Read 204 0.7%
load_skill Read 203 0.7%

Most agents use a handful of these tools. They pay for all 69.

A PolicyLayer grant exposes only the tools you allow — ungranted definitions are filtered out of the tool list, so they never enter the context window. Estimates below assume typical-weight tools (426 tokens each).

Grant scopeDefinition costReduction
All 69 tools (no gateway) 29,371 tokens
3 granted tools ~1,277 tokens −96%
5 granted tools ~2,128 tokens −93%
10 granted tools ~4,257 tokens −86%

Heista token-cost questions.

How many tokens does the Heista MCP server use?+

Its 69 tool definitions total 29,371 tokens — 15% of a 200k context window — measured with tiktoken o200k_base over the serialised tools/list payload. Exact counts vary slightly by client and model.

Why does Heista consume tokens before I send a message?+

MCP clients load every connected server's tool definitions — name, description, and input schema — into the model's context so it knows what it can call. That payload is charged against your context window on every request, whether or not a tool is used.

How do I reduce Heista's token usage?+

Expose fewer tools. A PolicyLayer grant scopes Heista to only the tools you allow — ungranted definitions are filtered out of the tool list, so they never enter the context window. A grant of 3 typical tools costs roughly 1,277 tokens, a 96% reduction.

Does deferred tool loading fix this?+

Partially, in some clients. Claude Code defers MCP tool schemas behind a tool-search step by default, and VS Code has experimental grouping — but you still pay tokens per search and reload, and Cursor, Windsurf and Gemini CLI load definitions upfront. Reducing the exposed tool set cuts the cost in every client.

How these numbers were measured.

01
Serialisation

Each tool is serialised as a tools/list entry — name, description, input schema — from the schemas in the PolicyLayer scan database. Clients differ slightly in framing, so treat counts as close estimates.

02
Tokeniser

tiktoken o200k_base (GPT-4o/o-series). Anthropic's current tokeniser isn't published, so Claude's exact counts will differ; for English text and JSON schemas the totals are close enough to treat these as estimates.

03
Deferred loading

Some clients now defer schema loading (Claude Code's tool search; VS Code experimental grouping). You still pay per search and reload — and Cursor, Windsurf and Gemini CLI load everything upfront.

Computed 07-06-2026 from the PolicyLayer scan database over all 69 catalogued Heista tools. Counts refresh with every site build.

Expose only the tools you use — the rest never enter your context.

A PolicyLayer grant scopes Heista to the tools you actually allow. Ungranted definitions never load, and every call that does run is checked against policy first.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.