Skip to main content
Glama

content_analyze

Analyze files, URLs, or text to extract insights, summarize content, or identify key information using customizable instructions and structured JSON output.

Instructions

Analyze content (file, URL, or text) with any instruction.

Provide exactly one of file_path, url, or text. Uses Gemini's structured output for reliable JSON responses. Pass a custom output_schema to control the response shape, or use the default ContentResult schema.

Args: instruction: What to analyze or extract from the content. file_path: Path to a local PDF or text file. url: URL to fetch and analyze. text: Raw text content. output_schema: Optional JSON Schema dict for custom output shape. thinking_level: Gemini thinking depth.

Returns: Dict matching ContentResult schema (default) or the custom output_schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instructionNoWhat to analyze — e.g. 'summarize key findings', 'extract methodology', 'list all citations'Provide a comprehensive analysis of this content.
file_pathNoLocal file path (PDF or text)
urlNoURL to analyze
textNoRaw text content
output_schemaNoOptional JSON Schema for the response. If omitted, uses default ContentResult schema.
thinking_levelNomedium

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/Galbaz1/video-research-mcp'

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