Skip to main content
Glama

steadyline/pdf-document-to-markdown

steadyline--pdf-document-to-markdown
Destructive

This tool calls the Actor "steadyline/pdf-document-to-markdown" and retrieves its output results. Actor description: Convert PDFs, Word DOCX, HTML and text files from URLs into clean Markdown or plain text for LLMs, RAG and search. Headings, lists, per-page output, metadata, chunking with overlap and scanned-PDF detection. $2 per 1,000 documents. By Steadyline Data.

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": {
      "startUrls": "<startUrls>"
    },
    "name": "steadyline--pdf-document-to-markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxPagesNoPages converted per PDF. Longer PDFs are cut and flagged. Example values: 200
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
chunkSizeNoIf > 0, also split the content into chunks of about this many characters (paragraph-aware) for RAG/embeddings. 0 = off.
startUrlsYes**REQUIRED** Public URLs of PDF, DOCX, HTML, TXT/MD/CSV/JSON files. Example values: [{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}]
pdfPasswordNoOptional, for password-protected PDFs.
timeoutSecsNoPer document download. Example values: 120
chunkOverlapNoOverlap between consecutive chunks. Example values: 200
includePagesNoAlso return an array with the content of each PDF page.
outputFormatNoMarkdown keeps headings, lists and links; text is plain. Example values: "markdown"markdown
maxFileSizeMbNoLarger files are skipped (not charged). Example values: 50
maxConcurrencyNoDocuments processed in parallel. Raise memory for big PDFs. Example values: 4

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=true, and the description adds genuinely new behavioral context: cost ($2 per 1,000 documents) and capabilities like scanned-PDF detection. However, most of the remaining feature list (chunking with overlap, per-page output, metadata) simply restates parameters already documented in the schema, and it says nothing about run timing or partial results beyond what the schema covers.

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

Conciseness3/5

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

The first sentence ('This tool calls the Actor ... and retrieves its output results') is boilerplate that earns no place, and the second is a dense comma-spliced feature-and-pricing list. The core purpose is reasonably front-loaded, but the framing wastes space an agent could spend on routing guidance.

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?

With 11 parameters, a full input schema, an output schema and annotations present, the description only needs to establish purpose and cost, both of which it does. Remaining mechanics (async polling via waitSecs, required startUrls) are handled by the schema, so nothing essential is missing.

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 100%, so every one of the 11 parameters is already documented with defaults, bounds and examples. The description adds no format, syntax or interaction guidance beyond those fields, which is the expected baseline when the schema does the heavy lifting.

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

Purpose4/5

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

The description states a specific verb and resource: convert PDFs, Word DOCX, HTML and text files from URLs into clean Markdown or plain text. It also lists distinguishing capabilities (per-page output, chunking, scanned-PDF detection), so an agent knows exactly what it produces. It never names a sibling alternative, so it stops short of full differentiation.

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

Usage Guidelines3/5

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

Usage context is implied only through the target audience phrase 'for LLMs, RAG and search' and the chunking-for-embeddings mention. There is no explicit statement of when to choose this tool over, say, a screenshot or site-discovery sibling, and no prerequisites such as URL must be public.

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.

Resources