Skip to main content
Glama

PubMed Biomedical Literature MCP

Get PubMed citation links

get_citation_links
Read-onlyIdempotent

Retrieve PubMed citing articles (cited_by) and reference lists (references) for a given PMID using NCBI E-utilities elink.

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_citation_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidYesNumeric PubMed ID or PubMed URL (e.g. "22745249").
limitNoMaximum PMIDs per direction (1 to 100). Default 25.
directionNoCitation direction to retrieve ("cited_by", "references", or "both"). Default "both".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the description need not restate safety. It adds useful context by naming the external NCBI E-utilities elink backend, which implies network dependence and possible rate limiting, but it says nothing about pagination, response shape, or failure modes at the limit boundary.

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?

A single dense sentence with no filler; the resource, the identifier, and the data source are all front-loaded. Nothing can be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, three-parameter lookup tool with full schema coverage and annotations covering the safety profile, the definition is minimally sufficient. It lacks any note on how results are ordered or truncated under the limit, and gives no guidance on choosing between this and get_related_articles.

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%, with all three parameters documented including the direction enum and the 1-100 limit with a default of 25. The description adds no meaning beyond the schema, merely restating cited_by and references, 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?

The description names a specific verb (Retrieve), the exact resources (PubMed citing articles and reference lists), and the underlying API (NCBI E-utilities elink), mapping directly to the direction parameter values cited_by and references. It does not explicitly distinguish itself from siblings like get_related_articles, but the citation-link scope is clear enough to separate it in practice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'for a given PMID' plus the direction parameter, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of how it differs from get_related_articles, which is the closest sibling. The agent must infer that this tool is for citation graph traversal rather than similarity-based relatedness.

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.