Skip to main content
Glama

parse_pdf_to_markdown

Parse an arXiv PDF and convert it into Chinese Markdown with LLM translation, optionally adding paper metadata for readable notes or articles.

Instructions

解析 PDF 并返回 LLM 翻译后的中文 Markdown 文件

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": {
      "arxivId": "<arxivId>"
    },
    "name": "parse_pdf_to_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
arxivIdYesarXiv 论文ID
paperInfoNo论文信息(可选,用于添加论文元数据)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a genuinely non-obvious behavior — the output is machine-translated into Chinese Markdown, implying language conversion and likely LLM latency/cost. However, it omits whether a file is written to disk, where it lands, whether existing files are overwritten, and whether the translation can lose fidelity.

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?

A single compact sentence with the action front-loaded and no filler. It is efficient, though the phrase describing the LLM-translated output could have been split to also convey destination or format details without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and a nested optional parameter, the description should explain the return artifact — file path vs. inline content — and the workflow dependency on having the PDF available. It states only that a Markdown file is returned, leaving key operational questions unresolved.

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%, with arxivId and the nested paperInfo object fully documented in the schema, so the baseline is 3. The description adds no extra meaning about the parameters, such as whether paperInfo metadata is embedded into the generated Markdown front matter.

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: parse a PDF and return an LLM-translated Chinese Markdown file. The mention of translation into Chinese Markdown implicitly distinguishes it from parse_pdf_to_text, though it never names that sibling. The core action is unmistakable.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no reference to alternatives such as parse_pdf_to_text or process_arxiv_paper. It also says nothing about prerequisites, e.g. whether the PDF must first be fetched via download_arxiv_pdf or whether arxivId alone is sufficient. Usage must be inferred entirely.

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