Skip to content

docs(scrape): disclose maxAge freshness/speed tradeoff and liveness limits#321

Open
hmishra2250 wants to merge 2 commits into
mainfrom
feat/freshness-maxage-descriptions
Open

docs(scrape): disclose maxAge freshness/speed tradeoff and liveness limits#321
hmishra2250 wants to merge 2 commits into
mainfrom
feat/freshness-maxage-descriptions

Conversation

@hmishra2250

@hmishra2250 hmishra2250 commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Why

The MCP scrape tool mentioned the speed benefit of maxAge, but did not explain the freshness tradeoff or how to bypass index reuse. Agents also need to know that a successful page response does not by itself prove that the state represented by the page is current.

What changed

  • Documented maxAge in the scrape and parse schemas.
  • Updated the scrape tool description to explain cache speed vs. freshness.
  • Added a short domain-neutral server instruction telling agents to use maxAge: 0 when freshness matters and to inspect source-specific evidence before making a current-state decision.

This changes tool descriptions and schema metadata only; runtime behavior is unchanged. Shipping the copy still requires the normal npm publish and hosted MCP redeploy.

Related: firecrawl/skills#5, firecrawl/firecrawl-docs#1145, firecrawl/firecrawl#4082.

Validation

  • npm run lint
  • npm test — 9/9 passing

…imits

The firecrawl_scrape description sold cache speed ("500% faster") without
disclosing the freshness tradeoff or how to bypass the index, and the maxAge
param had no describe(). This adds a Freshness-vs-speed line, a Liveness line
(a successful render does not prove a listed item is still active), describe()
text on maxAge in both scrapeParamsSchema and parseOptionParamsSchema, and one
reinforcing sentence in the server instructions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant