Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoEnvironment mode.development
JEV_MODELNoTypeSafe Jev model.jev-latest
LOG_LEVELNoERROR, WARN, INFO, DEBUG.ERROR (production) / DEBUG (development)
JEV_SCREENNoPrompt-injection screen for web_fetch (TypeSafe Jev): off, shadow (score and log only) or warn (warning line on flagged pages). Content is never withheld.off
EXA_API_KEYYesExa API key. Required.
EXA_RETRIESNoRetries for network errors and 5xx responses.3
EXA_TIMEOUTNoRequest timeout in ms (1000-60000).25000
JEV_TIMEOUTNoTypeSafe request timeout in ms.30000
REDACT_LOGSNoRedact sensitive data in logs.true
EXA_BASE_URLNoAPI base URL.https://api.exa.ai
CACHE_ENABLEDNoCache identical requests (skipped when maxAgeHours is 0).true
EXA_USAGE_CSVNoIf set, append one CSV line per tool call to this file.
JEV_AUDIT_LOGNoAppend one JSON line per screened page (url, score or error) to this file.
CACHE_MAX_SIZENoMax cached responses.100
VOYAGE_API_KEYNoVoyage AI key. Required for rerank / relevantTo; those options return an error without it. Nothing else uses Voyage.
VOYAGE_TIMEOUTNoVoyage request timeout in ms.30000
VOYAGE_BASE_URLNoVoyage API base URL.https://api.voyageai.com/v1
TYPESAFE_API_KEYNoTypeSafe key. Required when JEV_SCREEN is not off; the server refuses to start without it when screening is on.
CACHE_TTL_MINUTESNoCache lifetime.5
TYPESAFE_BASE_URLNoTypeSafe API base URL.https://api.typesafe.ai/v1
DOTENV_CONFIG_PATHNoLoad variables from this file. Useful when the MCP client's environment lacks a key. Variables already set take precedence..env in the working directory
DEFAULT_NUM_RESULTSNoResults per search when numResults is omitted.3
VOYAGE_RERANK_MODELNoVoyage reranker (rerank-3 for higher quality).rerank-3-lite
JEV_SCREEN_THRESHOLDNoScore at which warn shows the warning.0.35
DEFAULT_MAX_CHARACTERSNoText characters per search result when includePageText is set.3000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Exa web tools. Choosing a tool:

  • exa_search: find pages when you don't have URLs. Returns highlights by default; filters cover papers (category "publication"), companies, people, news and posts on X. Set outputSchema for a synthesized, cited answer; set rerank to order results by Voyage relevance.

  • web_fetch: read known URLs (1-100 per call). Set relevantTo to get only the passages relevant to a question (needs VOYAGE_API_KEY): far fewer tokens than whole pages.

  • answer_question: one direct answer with citations.

  • code_search: code examples and API usage.

  • find_similar: pages like a given URL.

  • agent_run (if enabled): multi-step research; slow and costs dollars per run. Set effort, and maxCostDollars for effort auto/ultra. action list/cancel/stop manage runs.

  • monitors, websets (if enabled): create resources on the user's Exa account; monitors can delete. Every response ends with Exa's estimated cost.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
exa_searchA

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.

web_fetchA

Read the full content of one or more known URLs (articles, PDFs, any page), up to 100 per call. Set relevantTo to get only the passages that matter for a question. Use when you already have the URLs. Does NOT search — use exa_search to find URLs first. Reports per-URL failures.

answer_questionA

Get a direct answer to a question with cited sources. Use instead of exa_search when you want a synthesized answer, not a list of results. Set outputSchema for a structured answer. For open-ended multi-step research use agent_run.

find_similarA

Find pages similar to a reference URL. Use when you have an example page and want more like it. Requires a URL, not a query. Note: Exa marks /findSimilar deprecated; exa_search with a query describing the page is the long-term replacement.

code_searchA

Search for code examples, API usage, and programming patterns across GitHub, docs, and Stack Overflow. Use instead of exa_search for code-specific queries. Returns token-efficient snippets with source URLs. Does NOT search general web content.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation3/5

Descriptions actively cross-reference each other (web_fetch explicitly says 'does NOT search', answer_question says 'use instead of exa_search'), which helps a lot. However, three tools are effectively specializations of exa_search: answer_question is exa_search with an outputSchema, code_search is a domain-restricted search, and find_similar is flagged as deprecated and replaceable by a descriptive query. An agent can still pick correctly, but the boundaries are narrower than the tool count suggests.

Naming Consistency4/5

Most names follow a verb_noun shape (web_fetch, answer_question, find_similar, code_search) and the intent is readable at a glance. The 'exa_' vendor prefix on exa_search is the one inconsistency, and 'find_similar' is verb_adjective rather than verb_noun, but neither is confusing.

Tool Count4/5

Five tools is well-scoped for a search/fetch server, with each entry mapping to a recognizable use case. The only weak spot is find_similar, which the server itself acknowledges is deprecated, meaning slightly fewer tools would carry the same surface.

Completeness3/5

The core lifecycle (discover via search, read via fetch, synthesize via answer, specialize via code_search) is covered, but the answer_question description directs open-ended multi-step research to 'agent_run' — a tool that is not present in this set, creating a dead end. There is also no coverage for result pagination or research follow-up, so agents will hit a wall on deeper tasks.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues