Skip to main content
Glama

extract_content

Extract content from URLs and files such as web pages, PDFs, Word docs, and YouTube transcripts, with no API key required for most sources.

Instructions

Extract content from a URL or file. Does not require an API key for most sources (web pages, PDFs, documents, YouTube transcripts). API key is only needed for audio/video transcription.

Args: url: URL to extract content from (web page, YouTube video, PDF link, etc.) file_path: Local file path to extract content from engine: Optional extraction engine override (firecrawl, jina, crawl4ai, simple, docling) formulas: Enable formula extraction via Docling (requires engine=docling) pictures: Enable image description + chart data extraction via Docling (requires engine=docling) no_ocr: Disable OCR in Docling (requires engine=docling)

Returns: Extracted text content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
engineNo
no_ocrNo
formulasNo
picturesNo
file_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that API key is needed for some sources, describes engine override options, and explains the effects of flags like formulas and pictures. It does not mention rate limits or error handling, but still adds significant value.

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?

The description is well-structured with a clear intro, bulleted argument list, and return type. It is relatively concise, though the argument list could be slightly more compact without losing clarity.

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 the tool has 6 parameters, no required ones, and an output schema, the description covers all parameters and return type, and provides context on API key requirements. It does not document error cases or additional behavior, but the output schema likely covers structure.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It explains all 6 parameters (url, file_path, engine, formulas, pictures, no_ocr) with details on their usage and effects, going far beyond what the JSON schema provides.

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?

The description clearly states the tool extracts content from a URL or file, specifies supported sources (web pages, PDFs, YouTube transcripts), and distinguishes itself from the sibling tool 'summarize_content' by its action of extraction.

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

Usage Guidelines4/5

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

The description provides clear context on when to use the tool, noting that an API key is not needed for most sources but is required for audio/video transcription. However, it does not explicitly state when not to use it or how it compares to the sibling tool beyond the action.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lfnovo/content-core'

If you have feedback or need assistance with the MCP directory API, please join our Discord server