Skip to main content
Glama

parse_research_paper

Extract text and formulas from scientific PDFs using OCR. Converts tables and multi-column layouts to clean Markdown for further processing.

Instructions

Highly accurate OCR for academic papers and scientific PDFs using Meta's Nougat model. Converts visual structures like tables, formulas, and multi-column layouts into clean Markdown.

Args: file_path (str): The absolute path to the PDF file on the local system. output_format (str): "default" uses settings.json preferences. "mmd" returns raw Nougat output. "md" converts math delimiters for broader Markdown renderer compatibility.

Returns: str: The extracted text in the requested markup format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
output_formatNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses use of Meta's Nougat model and conversion of visual structures, but lacks details on error handling, performance, or file size limits. The Returns section provides some clarity.

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: a clear purpose sentence followed by argument and return descriptions. It is appropriately sized but could be slightly more concise by removing redundant phrasing.

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 presence of an output schema (not shown but noted), the description adequately covers input parameters and return format. It does not discuss errors or edge cases, but is generally complete for a straightforward parsing tool.

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

Parameters4/5

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

Schema coverage is 0%, so the description must explain parameters. It clearly describes 'file_path' as absolute path and elaborates on 'output_format' enum values: 'default', 'mmd', and 'md' with their behaviors. This adds meaningful context beyond the schema.

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's purpose: high-accuracy OCR for academic papers and scientific PDFs, converting visual structures to Markdown. It distinguishes itself from the sibling tool 'get_output_settings' by being a parsing tool rather than a settings retrieval tool.

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 guidance on when to use each output format option and mentions the 'default' utilizes settings.json. However, it does not specify prerequisites (e.g., file existence) or when to avoid using this tool.

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/svretina/nougat-mcp'

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