Skip to main content
Glama
pubmed-mcp-server

pubmed-mcp-server

by cyanheads

Pubmed Fetch Citation Metrics

pubmed_fetch_citation_metrics
Read-only

Fetch NIH iCite citation metrics for PubMed articles—including RCR, citation counts, percentile, APT, and citation rates—to assess research impact and translation potential.

Instructions

Fetch NIH iCite citation metrics for PubMed articles: the Relative Citation Ratio (RCR), NIH percentile, citation count, citations per year, expected and field citation rates, the Approximate Potential to Translate (APT), the human, animal, and molecular/cellular shares of each article's MeSH terms, and how many clinical articles cite it (set includeClinicalCitations for their PMIDs). RCR is a field- and year-normalized citation rate benchmarked to NIH-funded papers, whose median RCR is 1.0; iCite computes none for the most recent papers and marks recent ones provisional. iCite does not flag retractions — a retracted article keeps its metrics — so check pubmed_fetch_articles for retraction notices before relying on a record. Up to 1000 PMIDs per call; the first 200 distinct PMIDs are fetched and the rest returned in overLimit. PMIDs iCite has no record for are listed in unavailablePmids.

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": {
      "pmids": "<pmids>"
    },
    "name": "pubmed_fetch_citation_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidsYesPubMed IDs to look up (e.g. ["23456789"]). The first 200 distinct PMIDs are fetched; the rest are returned in `overLimit`. Leading zeros are ignored, so "00023456789" and "23456789" name one article.
includeClinicalCitationsNoInclude `clinicalCitationPmids`: the PMIDs of the clinical articles citing each record. Off by default because the list is uncapped: a widely used clinical instrument is cited by thousands, at about 11 characters of JSON each — PMID 1202204 (the Mini-Mental State Examination) lists 9,969, adding about 109,000 characters to its record.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoNames the PMIDs iCite had no record for, records not yet scored, records with no RCR or a provisional one, and PMIDs past the per-call limit with how to fetch them. Absent when every record came back final and complete.
recordsNoOne record per fetched PMID iCite knows, in request order.
overLimitNoPMIDs the call named past the per-call fetch limit. Present only when the call named more distinct PMIDs than one call fetches.
unavailablePmidsNoRequested PMIDs within the per-call limit that NIH iCite has no record for, in request order, under the spelling sent. iCite omits a PMID it has no record for without an error, so the absence says nothing about whether PubMed has the article; pubmed_fetch_articles confirms that.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.12.3
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `icite_unreachable`: NIH iCite failed on every attempt the retry budget allowed — a network failure or an HTTP 5xx. `icite_invalid_response`: NIH iCite returned a body that is not its JSON record list on the last attempt the retry budget allowed. `icite_unrequested_record`: NIH iCite answered with a record for a PMID the call did not request, or one whose PMID is not a PMID — the answer it gives this PMID list every time. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `icite_unreachable`: NIH iCite failed on every attempt the retry budget allowed — a network failure or an HTTP 5xx — and the call stopped there: retries ran out, or the next backoff would overrun the deadline. `icite_deadline_exceeded`: The deadline for the NIH iCite call expired before iCite answered successfully — mid-request, during a retry backoff, or before the request was sent when the tool call had no time left. `deadlineMs` is the length of the deadline that expired: the tool call's own, or iCite's total deadline when that left less time. `icite_timed_out`: NIH iCite failed on every attempt the retry budget allowed, the last one by timing out — no answer within the per-request timeout, or an HTTP 504, 408, or 425 — and the call stopped there: retries ran out, or the next backoff would overrun the deadline. `icite_invalid_response`: NIH iCite returned a body that is not its JSON record list on the last attempt the retry budget allowed. `icite_unrequested_record`: NIH iCite answered with a record for a PMID the call did not request, or one whose PMID is not a PMID — the answer it gives this PMID list every time. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "icite_unreachable",
      -  "icite_invalid_response",
      -  "icite_unrequested_record"
      -]New value: +[
      +  "icite_unreachable",
      +  "icite_deadline_exceeded",
      +  "icite_timed_out",
      +  "icite_invalid_response",
      +  "icite_unrequested_record"
      +]
  2. Changed2 schema fields changedv2.12.2
    • addedInput schema / properties / includeClinicalCitations
      Added value: +{
      +  "default": false,
      +  "description": "Include `clinicalCitationPmids`: the PMIDs of the clinical articles citing each record. Off by default because the list is uncapped: a widely used clinical instrument is cited by thousands, at about 11 characters of JSON each — PMID 1202204 (the Mini-Mental State Examination) lists 9,969, adding about 109,000 characters to its record.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / records / items / properties / clinicalCitationPmids
      Added value: +{
      +  "description": "PMIDs of the clinical articles citing this one, in iCite's order, uncapped; pubmed_fetch_articles returns their records. Present only when `includeClinicalCitations` is set and iCite lists any.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed2 schema fields changedv2.12.0
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `icite_unreachable`: NIH iCite failed on every attempt the retry budget allowed — a network failure or an HTTP 5xx. `icite_invalid_response`: NIH iCite returned a body that is not its JSON record list on the last attempt the retry budget allowed, or a record for a PMID the call did not request. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `icite_unreachable`: NIH iCite failed on every attempt the retry budget allowed — a network failure or an HTTP 5xx. `icite_invalid_response`: NIH iCite returned a body that is not its JSON record list on the last attempt the retry budget allowed. `icite_unrequested_record`: NIH iCite answered with a record for a PMID the call did not request, or one whose PMID is not a PMID — the answer it gives this PMID list every time. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "icite_unreachable",
      -  "icite_invalid_response"
      -]New value: +[
      +  "icite_unreachable",
      +  "icite_invalid_response",
      +  "icite_unrequested_record"
      +]
  4. Addedv2.11.1

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: explains that RCR is field- and year-normalized with a median of 1.0, that iCite computes none for very recent papers and marks some provisional, that retractions are not flagged and metrics persist, and that over-limit PMIDs return in `overLimit` while unknown ones land in `unavailablePmids`. That is the kind of caveat an agent cannot infer from structured fields.

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?

Dense but front-loaded: purpose first, then metric definitions, then caveats and limits. A few sentences duplicate what the schema already states (the 200-PMID fetch cap and `overLimit`), which is minor waste in an otherwise efficient block.

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 two-parameter read tool with a full output schema and 100% schema coverage, the description supplies everything else an agent needs — metric semantics, known data gaps, pagination/limit behavior, and a cross-tool integrity check. Return field shapes are correctly left to the output schema.

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 both parameter descriptions are already detailed, including the includeClinicalCitations payload-size warning with a concrete example. The description restates 'set `includeClinicalCitations` for their PMIDs' and the 200/overLimit behavior without adding meaning beyond the schema, 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 ('Fetch NIH iCite citation metrics for PubMed articles') and enumerates exactly which metrics are returned, so an agent can distinguish this from pubmed_fetch_articles, pubmed_lookup_citation, and the other siblings without opening 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?

Gives concrete operational context: 1000 PMIDs per call with only the first 200 fetched, and an explicit alternative workflow — check pubmed_fetch_articles for retraction notices before relying on a record, since iCite does not flag retractions. Lacks an explicit 'do not use this when you only need X' exclusion, so not quite a 5.

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