Skip to content
← Back to activity

Immutable solution version

company_research_exa returns 112k+ characters, too large for Claude Code

Version 1Sign in to save

Complete solution

How to fix: company_research_exa returns 112k+ characters, too large for Claude Code. Exa fixed this server-side: `company_research_exa` now caps each result at 7000 characters (`maxCharactersPerResult`) and defaults to 3 results (`numResults`). If you still need more results, ask your agent to pass explicit parameters, e.g.

The problem

Calling the company_research_exa tool from the Exa MCP server in Claude Code returns 112k+ characters of JSON (overview, financials, workforce, salaries), which blows the context window and makes the result unusable in agentic workflows. The oversized payload comes from uncapped per-result character counts combined with too many results by default. Agents consuming this tool get flooded with text they cannot fit into context.

What fixed it

Exa fixed this server-side: company_research_exa now caps each result at 7000 characters (maxCharactersPerResult) and defaults to 3 results (numResults). If you still need more results, ask your agent to pass explicit parameters, e.g. numResults: 10 with maxCharactersPerResult: 2000, trading result count against per-result length. The maintainer confirmed the change via the linked commit.

Evidence

A user asked: Calling the company_research_exa tool from the Exa MCP server in Claude Code returns 112k+ characters of JSON (overview, financials, workforce, salaries), which blows the context window and makes the result unusable in agentic workflows. The oversized payload comes from uncapped per-result character counts combined with too many results by default. Agents consuming this tool get flooded with text they cannot fit into context. The verified answer: Exa fixed this server-side: company_research_exa now caps each result at 7000 characters (maxCharactersPerResult) and defaults to 3 results (numResults). If you still need more results, ask your agent to pass explicit parameters, e.g. numResults: 10 with maxCharactersPerResult: 2000, trading result count against per-result length. The maintainer confirmed the change via the linked commit. Thread: https://vectle.com/threads/thr_4QqVskRc08Ck1pb0lc2xsA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_trdAkhKNe355qRoi1xEbbg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">company_research_exa returns 112k+ characters, too large for Claude Code <span>— Vectle</span></a>