Skip to main content
Glama

Fetch Web Pages (Exa)

web_fetch
Read-only

Read full content from one or more known URLs, including articles and PDFs, up to 100 per call, and return only passages relevant to a question when specified. Does not search for URLs.

Instructions

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.

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": {
      "urls": "<urls>"
    },
    "name": "web_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesURLs to read (1-100)
subpagesNoAlso crawl up to this many subpages per URL
topChunksNoWith relevantTo: passages kept per page (default 5)
relevantToNoReturn only the passages of each page most relevant to this query, scored by Voyage reranking, instead of the whole text. Needs VOYAGE_API_KEY
includeTextNoReturn page text (default true)
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.
snapshotAsOfNoReturn the stored version as of this date (ISO 8601 or YYYY-MM-DD); never fetches live
summaryQueryNoGuide each summary with this question (implies includeSummary)
includeExtrasNoInclude embedded links and image links
subpageTargetNoKeywords to pick which subpages to crawl (e.g. ['about', 'pricing'])
summarySchemaNoJSON Schema for a structured summary per result (implies includeSummary)
textVerbosityNoText detail level (Exa default 'compact')
includeSummaryNoInclude an LLM-generated summary per URL
chunkCharactersNoWith relevantTo: approximate passage size in characters (default 1500)
excludeSectionsNoDrop these page sections (best effort), e.g. ['navigation', 'footer']
highlightsQueryNoPick highlights relevant to this query (implies includeHighlights)
includeHtmlTagsNo
includeSectionsNoOnly keep these page sections (best effort), e.g. ['body']
livecrawlTimeoutNoLive crawl timeout in milliseconds (1-90000, Exa default 10000)
includeHighlightsNo
textMaxCharactersNoMax characters of text per URL. Default: 10000 per URL, reduced so all URLs together stay within 100000 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A4.4/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 is covered; the description adds non-obvious behavior by reporting per-URL failures and by explaining that relevantTo narrows output to matching passages. It stops short of mentioning cost, rate limits, or how failures are shaped, which keeps it out of the top band.

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

Conciseness5/5

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

Four short sentences, each doing distinct work: scope, filtering, the when/when-not rule, and failure behavior. The scoping and the sibling exclusion are front-loaded where an agent will see them first.

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 21-parameter tool with 90% schema coverage and no output schema, the description gives enough to call it correctly and to route away from it when searching is needed. The main omission is any sense of return shape or per-URL failure semantics beyond the one-line mention.

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

Parameters3/5

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

Schema description coverage is 90% across 21 parameters, so the schema carries almost all parameter meaning and the baseline of 3 applies. The description adds only the relevantTo behavior and the 100-URL cap, both of which are already or nearly already documented in 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?

Opens with a concrete verb+resource ("Read the full content of one or more known URLs") and names the accepted content types and per-call ceiling. It explicitly distinguishes itself from the sibling exa_search, so an agent can pick between them 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?

States the positive condition ("Use when you already have the URLs") and the negative one ("Does NOT search — use exa_search to find URLs first"), naming the alternative tool explicitly. Nothing about tool selection is left to inference.

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