Skip to main content
Glama
academic-tools-mcp

academic-tools-mcp

get_paper_markdown

Read-onlyIdempotent

Read a paginated slice of a converted paper’s full Markdown to access the whole document in one call, with offsets and token counts for paging.

Instructions

Read a slice of a converted paper's full markdown document.

Alternative to get_paper_section when you want the whole paper in one call rather than reading section-by-section (check total_approx_tokens from convert_paper or get_paper_sections first; for long papers or targeted lookup, prefer find_in_paper and get_paper_section).

Returns: {content, offset, chars_returned, total_chars, approx_tokens, has_more, next_offset}. total_chars and approx_tokens describe the full markdown document, not the slice.

Errors: not yet converted → guidance to run convert_paper. Offset beyond document length → {error}. Markdown with no readable text → {error, suggestion, retryable: False}.

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": {
      "identifier": "<identifier>"
    },
    "name": "get_paper_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoStart character offset (pass next_offset to page).
max_charsNoMax characters to return (~4 chars/token).
identifierYesPaper identifier: arXiv ID, bioRxiv/medRxiv DOI, ACL Anthology ID/URL, DOI, PMID, PMCID (PMC...), or OpenAlex work ID (W...). Pipeline tools also accept freeform import labels.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2026.11.21

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description still adds real context beyond them: a conversion prerequisite, paging via next_offset, and explicit error shapes for unconverted papers, out-of-range offsets, and unreadable markdown with retryable: False.

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?

Front-loaded with the purpose, then cleanly segmented into alternative, returns, and errors. The Returns block repeats field names that an output schema likely already exposes, but the clarification that totals describe the whole document earns most of its space.

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

Completeness5/5

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

For a paging read tool with an output schema, annotations, and full parameter coverage, this covers the remaining gaps an agent needs: the conversion precondition, how to iterate offsets, and the failure modes. Nothing material is missing.

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 100%, so the baseline would be 3, but the description adds meaning the schema lacks: offset paging is driven by next_offset, max_chars is roughly 4 chars/token, and total_chars/approx_tokens describe the full document rather than the returned slice — a distinction that prevents misuse of the response fields.

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?

States a specific verb and resource with scope: 'Read a slice of a converted paper's full markdown document.' It immediately frames the tool relative to get_paper_section, so an agent can tell the whole-document pager apart from section-level reads without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing guidance: use this when you want the whole paper in one call, check total_approx_tokens from convert_paper or get_paper_sections first, and prefer find_in_paper or get_paper_section for long papers or targeted lookup. Both the when-to-use and the when-to-use-something-else cases are named.

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