Skip to main content
Glama
med-research-mcp
by emilkrebs

Fetch full text for a scientific article (multi-database)

literature_fulltext
Read-only

Fetches an article's full text for detailed evidence review when the abstract is insufficient, via DOI, Europe PMC, Unpaywall, or institutional access; returns the abstract if unavailable.

Instructions

Fetches an article's full text as markdown (plain text when format is pdf) via Europe PMC (a PMCID or PPR preprint), Unpaywall (open access), institutional proxy (if configured) and direct DOI access; chinaxiv and russiarxiv records come from ChinaRxiv as a machine translation (check originalUrl before relying on a number). The warning opens with RETRACTED, NOTICE or EXPRESSION OF CONCERN when the record has that flag (see literature_search); a retracted paper is no evidence. Without the text it says what each location answered, and the abstract is returned. A long text comes in parts: see truncated, totalChars, offset. Use when the abstract isn't enough (dosage, sample sizes, methods).

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": {
      "id": "<id>"
    },
    "name": "literature_fulltext"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA literature_search result's id: a PMID, a PMCID (PMC…, a record's pmcid), an id of Europe PMC (PPR…, CBA:… with its prefix, IND…) or a chinaxiv or russiarxiv id (chinaxiv-…, ru-…). Each works alone; doi is for any other id.
doiNoThe record's doi (10.… or a https://doi.org/ link), from a search result's doi field; a url or originalUrl is not one. Needed only for an id outside those above. With a PMID it saves the id→DOI lookup; a Europe PMC id without it uses the doi of Europe PMC's record.
offsetNoCharacter position to read the full text from: the nextOffset of the previous call. Default 0.
maxCharsNoReturn at most this many characters; the server's limit (default 50,000) is the most.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses multi-source fallback order, the failure path ("what each location answered, and the abstract is returned"), warning prefixes RETRACTED/NOTICE/EXPRESSION OF CONCERN, machine-translation provenance for chinaxiv/russiarxiv with the originalUrl caveat, and partial-return behavior. That is substantial behavioral context the annotations do not carry.

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?

Single front-loaded paragraph where every clause carries information — sources, format, retraction flags, fallback, pagination, trigger. It is dense and heavily semicolon-chained, which costs some parseability, but there is no filler to cut.

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?

With no output schema, the description must explain returns — and it does: markdown vs plain text for pdf, truncation fields and offset paging, the abstract fallback, and warning-prefixed text. Nothing an agent needs to call and interpret this tool correctly 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 is 3, but the description adds meaning beyond it: it explains that paginated output is governed by truncated/totalChars/offset fields (which the schema cannot describe without an output schema) and clarifies id-family precedence versus doi. Minor value-add, but real.

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 ("Fetches an article's full text as markdown") and names the resolvers it spans (Europe PMC, Unpaywall, institutional proxy, direct DOI), so the agent knows this is the full-text resolver rather than a metadata search. The closing "Use when the abstract isn't enough" cleanly separates it from literature_search results.

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?

Gives an explicit trigger ("when the abstract isn't enough (dosage, sample sizes, methods)") and an implicit exclusion (if the abstract suffices, don't call it). It also routes to literature_search for retraction-flag semantics and states which id forms each work with, so selection and input choice are both covered.

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