Skip to main content
Glama

Pubmed Get Related Articles

pubmed_get_related_articles
Read-onlyIdempotent

Find papers SIMILAR to a given article, NIH PubMed's own computed 'related articles' (pubmed_pubmed neighbors), ranked by relevance using shared terms/MeSH/citations. Pass one PMID; returns the top related papers with full citation metadata (title, authors, journal, date, DOI). Use for "more papers like this", building a reading list from a seed paper, or broadening a literature search beyond keyword matches. Distinct from pubmed_get_citations (which finds papers that cite this one).

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": {
      "pmid": "24025838",
      "limit": 5
    },
    "name": "pubmed_get_related_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidYesA single PubMed ID to find neighbors for (e.g., "24025838")
limitNoNumber of related articles to return (1-50, default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds real value beyond that: it explains the ranking signal (shared terms/MeSH/citations) and what the response contains (full citation metadata: title, authors, journal, date, DOI), which shapes how an agent should interpret and reuse results. It stops short of covering failure cases such as invalid or unknown PMIDs.

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?

The first sentence establishes what the tool does and how results are ranked; the second covers input and output; the third covers use cases and the sibling boundary. It is dense but front-loaded, and no sentence is filler.

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?

There is no output schema, and the description compensates by enumerating the returned citation fields. For a two-parameter read tool with full annotation coverage and full schema coverage, nothing an agent needs in order to invoke 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%, so both pmid and limit are already documented with type, range, and default. The description reinforces the key constraint ("Pass one PMID") but adds no syntax, format, or edge-case 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?

The description opens with a specific verb+resource ("Find papers SIMILAR to a given article") and pins down the exact data source: NIH PubMed's own computed related-articles / pubmed_pubmed neighbors. It explicitly distinguishes itself from pubmed_get_citations, so an agent can route between them without reading 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?

It gives three concrete usage scenarios ("more papers like this", building a reading list from a seed paper, broadening a search beyond keyword matches) and names the alternative it is not (pubmed_get_citations, which finds citing papers). Both when-to-use and when-not-to-use are stated.

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.