Skip to main content
Glama

Exa Web Search

exa_search
Read-only

Search the web when you lack a URL, using filters for research papers, companies, people, news, X posts, and competitors; return cited synthesized answers or ranked results.

Instructions

Search the web with Exa. Use for discovery when you don't have a URL yet. Covers specialized searches through filters: research papers (category 'publication'), companies (category 'company', optionally subpages), people (category 'people'), news, posts on X (includeDomains ['x.com','twitter.com']), and competitors (describe the business, excludeDomains its own site). Set outputSchema for a synthesized, cited answer; set rerank for Voyage relevance ordering. Use answer_question for a direct answer to one question, code_search for code, web_fetch to read known URLs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "exa_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query
rerankNoRerank with Voyage: fetch extra candidates, score them against the query, return the best numResults with scores. Needs VOYAGE_API_KEY
categoryNoFilter by content category. 'publication' = research papers and academic sources. 'company' and 'people' do not allow date filters or excludeDomains.
subpagesNoAlso crawl up to this many subpages per result (e.g. a company's about/pricing pages)
objectiveNoThe broader goal behind the search, to improve relevance
moderationNoFilter unsafe content
numResultsNoNumber of search results to return (default: DEFAULT_NUM_RESULTS, 3)
searchTypeNoSearch type: 'instant' (lowest latency), 'fast', 'auto' (default), 'deep-lite', 'deep' (multi-step, slower), 'deep-reasoning' (most thorough)
excludeTextNoDeprecated by Exa: words that results should not contain (approximate, word-level matching)
includeTextNoDeprecated by Exa: words that results should contain (approximate, word-level matching)
maxAgeHoursNoContent freshness: 0 = always fetch fresh, -1 = cache only, 1-720 = max cache age in hours. Omit to use cache and fetch live only when nothing is cached.
outputSchemaNoJSON Schema for a synthesized answer grounded in the results. Root type 'text' or 'object' (max 10 properties, 2 nesting levels). Adds ~2s.
summaryQueryNoGuide each result's summary with this question (implies includeSummary)
systemPromptNoExtra instructions for the synthesized output
userLocationNoTwo-letter ISO country code to localize results (e.g. 'US')
includeExtrasNoInclude embedded links and image links from each result
subpageTargetNoKeywords to pick which subpages to crawl (e.g. ['about', 'pricing'])
summarySchemaNoJSON Schema for a structured summary per result (implies includeSummary)
excludeDomainsNoExclude results from these domains (e.g. a company's own domain when looking for its competitors)
includeDomainsNoOnly return results from these domains (e.g. ['x.com', 'twitter.com'] for posts on X; ['example.com'] for one company's site)
includeSummaryNoInclude an LLM-generated summary for each result
highlightsQueryNoPick highlights relevant to this query (implies includeHighlights)
includePageTextNoInclude each result's page text, up to DEFAULT_MAX_CHARACTERS (default 3000) characters. Off by default: results carry highlights instead
endPublishedDateNoOnly results published before this date (ISO 8601)
livecrawlTimeoutNoLive crawl timeout in milliseconds (1-90000, Exa default 10000)
rerankCandidatesNoWith rerank: candidates to fetch before reranking (default 3 x numResults, max 100)
additionalQueriesNoExtra query variations (deep search types only)
includeHighlightsNoInclude key excerpts from each result (default: on unless page text is requested)
textMaxCharactersNoInclude page text up to this many characters per result (implies includePageText)
startPublishedDateNoOnly results published after this date (ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint, so the safety profile needs no restating. The description adds behavioral guidance beyond that by encoding intent-to-filter recipes (describe the business and excludeDomains its own site for competitors; includeDomains for X posts) and by flagging that outputSchema yields a synthesized, cited answer. It does not disclose latency or cost differences across the six searchType values, nor what a bare result contains, so it stops short of full behavioral coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and use condition, then the filter catalog, then the routing sentence — a sensible order for an agent skimming. The middle sentence is long and list-like but each clause maps to a distinct capability, so little is wasted; only the outputSchema/rerank sentence mildly overlaps what the schema already says.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 30-parameter tool the description covers the main intents and the alternative-tool decision, which is the hard part; there is no output schema, but the schema's own field descriptions cover what gets returned (highlights, page text, summaries). What is missing is any statement of return shape or result volume at the top level, and any guidance on the cost of deep search modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% across 30 parameters, so the baseline is 3; the description earns above that by explaining parameter combinations rather than individual fields — pairing category 'company' with subpages, and excludeDomains with a described business for competitor search. It adds combination-level meaning the schema cannot express, though it leaves the large date-freshness, text-extraction, and rerank-candidate families entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search the web with Exa') and immediately scopes it: 'Use for discovery when you don't have a URL yet.' It then names the specialized modes it covers (papers, companies, people, news, X posts, competitors), which is enough for an agent to separate it from web_fetch and code_search without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use condition (discovery, no URL yet) and routes three alternatives by name with their own conditions: answer_question for one direct question, code_search for code, web_fetch for known URLs. It also prescribes when to reach for outputSchema vs. rerank, so the two optional power features have stated triggers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.