Skip to main content
Glama

Get PubMed abstract

get_pubmed_abstract
Read-onlyIdempotent

Retrieve the title, abstract, authors, journal, DOI, and MeSH terms for one PubMed article by PMID so you can read what a paper reports and cite it.

Instructions

Fetch the title, abstract and key metadata of one PubMed article by its PMID.

Use after search_pubmed to read what a paper actually reports. Returns the abstract (with structured-abstract section labels; very long abstracts are truncated), authors, journal, date, DOI, MeSH terms and keywords, the PubMed URL to cite, and a PubMed Central link when free full text exists.

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": {
      "pmid": "<pmid>"
    },
    "name": "get_pubmed_abstract"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidYesPubMed ID, e.g. '34265844'. A 'PMID:' prefix is accepted.

Output Schema

NameRequiredDescriptionDefault
doiYes
urlYesPubMed page to cite.
pmidYes
pmcidYes
titleYes
sourceNoPubMed
authorsYesUp to 12 authors in byline order.
journalYes
abstractYesAbstract text; structured section labels kept.
keywordsYes
pub_dateYes
mesh_termsYes
author_countYes
full_text_urlYesFree full text in PubMed Central, if any.
publication_typesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: structured-abstract section labels, truncation of very long abstracts, and a PMC link only when free full text exists — all of which affect how an agent should interpret results.

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 core action in the first sentence, then usage and return content. Slightly padded by enumerating return fields that the output schema already defines, but every remaining sentence is short and purposeful.

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 single-parameter, idempotent read tool with full annotations and an output schema, the definition covers action, when to reach for it, and the notable output caveats. Nothing an agent needs in order to call it correctly is missing.

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 documents the string-or-integer type and the accepted 'PMID:' prefix. The description only restates that the lookup is by PMID, adding no format or validation detail beyond the schema, so the baseline of 3 applies.

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: fetch the title, abstract and key metadata of one PubMed article by its PMID. The singular-article, PMID-keyed scope cleanly separates it from the search_* siblings without requiring the reader to open a schema.

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 `search_pubmed` to read what a paper actually reports" gives an explicit sequencing rule and names the alternative tool. It stops short of stating when not to use it (e.g., when full text rather than abstract is needed), so it is clear context without full exclusions.

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