Skip to main content
Glama

Firecrawl file parsing

firecrawl_parse
Read-only

Parse one supported document into markdown, HTML, links, summary, targeted answers, or JSON matching a schema. Supported inputs include common HTML, PDF, Word, RTF, OpenDocument, and spreadsheet files; PDF parsing can be bounded with pdfOptions.maxPages.

Local MCP reads filePath from the server filesystem. Hosted MCP uses two calls: first provide filePath to receive upload instructions, upload locally, then call again with the returned uploadRef; do not send both fields together. Remote web URLs belong in firecrawl_scrape.

Set redactPII to request redaction of personally identifiable information in the returned content. zeroDataRetention requires an eligible authenticated account; omit it for anonymous keyless use. Returns upload instructions for hosted phase one or parsed document content for the final call. Authenticated final responses can include a data.metadata.scrapeId for optional parse feedback.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "firecrawl_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
proxyNo
maxAgeNoIgnored: parse never reuses or stores indexed content.
formatsNo
parsersNo
filePathNoPhase 1 only: path to the local file on the caller/harness machine. Hosted MCP will not read or stat this path; it is used only to produce upload instructions.
objectiveNoThe user's underlying goal in one sentence, not a restatement of this call's arguments. Reuse it across related calls. Firecrawl uses it to learn what agents need and improve its results. No personal data, secrets or the user's exact words.
redactPIINo
uploadRefNoPhase 2 only: short-lived upload reference returned by phase 1 after the local PUT upload completes.
pdfOptionsNo
contentTypeNoPhase 1 MIME type override. If omitted, the server infers it from the file extension without reading the file.
excludeTagsNo
includeTagsNo
jsonOptionsNo
queryOptionsNo
storeInCacheNo
conversationIdNoconversationId from any earlier Firecrawl tool result in this conversation; after parallel calls, any one of theirs. Omit only on the first call of a conversation; the result returns one to pass on every later call.
onlyMainContentNo
declaredSizeBytesNoOptional phase 1 size declaration. Hosted MCP does not stat the file; provide this only if the caller already knows it.
zeroDataRetentionNo
removeBase64ImagesNo
skipTlsVerificationNo

Output Schema

NameRequiredDescriptionDefault
rawNoResponse body when it was not JSON.
dataNoParsed document content; can include `data.metadata.scrapeId` for parse feedback.
modeNoWhich phase of the hosted flow produced this response.
errorNoError message or error object when the call did not succeed.
notesNoHosted phase one: constraints on completing the upload flow.
uploadNoHosted phase one: how to upload the local file.
messageNoGuidance for the next call.
successNoWhether the API call succeeded.
warningNoNon-fatal warning about the result.
agent_hintsNoOptional response guidance from the Firecrawl API.
nextToolCallNoHosted phase one: the second `firecrawl_parse` call to make once the upload succeeds, as `{name, arguments}`.
conversationIdNoPass on later Firecrawl calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / objective
      Added value: +{
      +  "description": "The user's underlying goal in one sentence, not a restatement of this call's arguments. Reuse it across related calls. Firecrawl uses it to learn what agents need and improve its results. No personal data, secrets or the user's exact words.",
      +  "maxLength": 5000,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / jsonOptions / properties / schema / additionalProperties
      Previous value: -{}New value: +true
  3. Changed2 schema fields changed
    • addedInput schema / properties / conversationId
      Added value: +{
      +  "description": "conversationId from any earlier Firecrawl tool result in this conversation; after parallel calls, any one of theirs. Omit only on the first call of a conversation; the result returns one to pass on every later call.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversationId
      Added value: +{
      +  "description": "Pass on later Firecrawl calls in this conversation.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / jsonOptions / properties / schema / additionalProperties
      Previous value: -falseNew value: +{}
  5. Changed1 schema field changed
    • removedOutput schema / description
      Removed value: -"Parsed document content, or the upload instructions for the hosted two-call flow."
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description goes further by describing the phase-1 upload-instructions response, the mutual exclusion of filePath/uploadRef, the PII redaction behavior, the entitlement requirement for zeroDataRetention, and the optional data.metadata.scrapeId for feedback. It stops short of describing size/rate limits or what happens on a failed upload, which keeps it from a 5.

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?

Structure is strong: purpose first, then deployment-mode mechanics, then per-flag behavior, all with backticked field names. Sentences are dense with information rather than padded, though the third paragraph mixes several unrelated flags into one block.

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?

Given an output schema exists, the description needn't explain return values, yet it usefully flags the phase-1 upload response and scrapeId. For a 21-parameter tool the main remaining gap is that most options (format selection, tag filtering, JSON/query options) are never characterized, so an agent is left guessing at a substantial part of the surface.

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?

With 21 parameters and only 33% schema description coverage, the description must carry weight, and it does explain the two hardest fields (filePath vs uploadRef) plus redactPII, zeroDataRetention, and pdfOptions.maxPages. However, it says nothing about formats selection, jsonOptions/queryOptions, includeTags/excludeTags, parsers, proxy, onlyMainContent, removeBase64Images, or skipTlsVerification, leaving the majority of parameters without meaning anywhere.

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 specific verb and resource ('Parse one supported document') and enumerates the output shapes (markdown, HTML, links, summary, query answers, schema JSON). It also names the boundary against a sibling: remote web URLs belong in firecrawl_scrape. An agent can distinguish this from firecrawl_scrape and firecrawl_search without opening any 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 explicit mode-dependent instructions: local MCP reads filePath directly, hosted MCP requires a two-call upload dance, and the two fields must never be sent together. It also states the exclusion (remote web URLs → firecrawl_scrape) and the account prerequisite for zeroDataRetention, leaving little to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.