Skip to main content
Glama

Pubmed Get Abstract

pubmed_get_abstract
Read-onlyIdempotent

Full abstract text for one PubMed article by ID. Returns the abstract with structured sections (background, methods, results, conclusions) when the journal published it that way, otherwise the unstructured abstract. Use when summarizing a single paper or answering "what does paper X actually say". For batch citation metadata use get_summary; for finding papers use search_pubmed.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "33579999"
    },
    "name": "pubmed_get_abstract"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA single PubMed ID (e.g., "33579999"). `pmid` is accepted as a synonym.
pmidNoSynonym for `id`, the other PMID-taking tools in this pack spell it this way.

Output Schema

NameRequiredDescriptionDefault
urlYesPubMed article URL
pmidYesPubMed ID
titleYesArticle title
abstractYesFull abstract text with structured sections

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pmid / description
      Previous value: -"Synonym for `id` — the other PMID-taking tools in this pack spell it this way."New value: +"Synonym for `id`, the other PMID-taking tools in this pack spell it this way."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive, so the safety profile is settled. The description adds genuinely new behavioral detail beyond that: abstracts come back split into background/methods/results/conclusions when the journal published them that way, otherwise as a single unstructured block. It does not discuss failure modes for an invalid ID or rate limits, which is the only remaining gap.

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?

Three short sentences ordered as purpose, return shape, then usage routing. No filler, no restatement of the title, and the most decision-relevant information comes first.

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?

Output schema exists so return values need no prose treatment, annotations carry the safety profile, and parameters are fully described in schema. What remains — when to call it and what shape the payload takes — is exactly what the description covers.

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% and both `id` and the `pmid` synonym are fully documented in the schema itself. The description adds no syntax, format, or validation detail beyond calling it 'ID', so baseline 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?

Opens with a specific verb and resource: full abstract text for one PubMed article by ID. The scope ('one ... by ID') immediately separates it from any list-oriented sibling, and the structured-vs-unstructured return shape is stated up front.

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 both an affirmative trigger ('summarizing a single paper', 'what does paper X actually say') and two explicit routing rules: get_summary for batch citation metadata, search_pubmed for discovery. An agent does not need to infer when to pick this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.