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

Fetch scientific articles (multi-database)

literature_fetch
Read-only

Fetch full metadata and abstracts for one or more database-specific IDs, including study grading, MeSH headings, and retraction/correction links, to inspect papers found via search.

Instructions

Fetch full metadata and the whole abstract for one or more ids from a specific database. Each article is graded as in literature_search (studyType, designTier, flags) and, for pubmed and europepmc, carries MeSH headings and retraction/correction links. Ids that could not be fetched are listed in missing. Use after literature_search to drill into specific papers.

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": {
      "ids": "<ids>",
      "database": "<database>"
    },
    "name": "literature_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesDatabase-specific ids to fetch, each a literature_search result's id: PMIDs for pubmed; PMIDs, PMCIDs or prefixed ids (e.g. CBA:644599, PPR… preprints) for europepmc; the ids literature_search returned for chinaxiv and russiarxiv.
databaseYesWhich database the ids belong to: pubmed, europepmc, chinaxiv, russiarxiv.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial behavioral detail — per-article grading fields (studyType, designTier, flags), MeSH headings and retraction/correction links only for pubmed/europepmc, and that unfetchable ids surface in 'missing'. It does not mention batch limits or response shape, but the disclosed per-database variance is well beyond what the annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each carrying distinct information: purpose, return contents, error handling, and usage ordering. Purpose is front-loaded and there is no filler or repetition of the schema.

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?

With no output schema, the description does the work of explaining returned fields, per-database differences, and the 'missing' list — enough for an agent to call and interpret results. Minor gaps remain around exact response structure and handling of the 50-id cap.

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 coverage is 100%, and the schema already explains id formats per database and the enum values. The description only restates that ids belong to 'a specific database', adding essentially nothing beyond the structured field descriptions, so baseline 3 applies.

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?

States a specific verb ('Fetch') and resource ('full metadata and the whole abstract') plus scope ('one or more ids from a specific database'). The phrase 'whole abstract' implicitly separates it from literature_fulltext, but no sibling is named as an alternative, so differentiation is only partial.

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?

'Use after literature_search to drill into specific papers' gives a clear sequencing condition and establishes that ids come from a prior search. It stops short of stating when NOT to use it (e.g. when full text is needed, use literature_fulltext).

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