Skip to main content
Glama
pubmed-mcp-server

pubmed-mcp-server

by cyanheads

Pubmed Lookup Citation

pubmed_lookup_citation
Read-only

Find PubMed IDs (PMIDs) from partial bibliographic citations such as journal, year, volume, page, and author. Use structured citation matching when free-text search is unreliable.

Instructions

Look up PubMed IDs from partial bibliographic citations. Useful when you have a reference (journal, year, volume, page, author) and need the PMID — deterministic citation matching, more reliable than free-text search for structured references. Each citation must include at least journal or a four-digit year (ECitMatch primary-keys on journal+volume+page; author-only or volume-only inputs guarantee no match); more fields = better match accuracy.

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": {
      "citations": "<citations>"
    },
    "name": "pubmed_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationsYesCitations to look up, 1–25, each matched independently. More fields = better match accuracy.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
resultsNoMatch results, one per input citation
totalMatchedNoNumber of citations with PMID matches
totalWarningsNoNumber of matched citations that carry at least one warning
totalSubmittedNoNumber of citations submitted

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: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, the next backoff would overrun the total deadline, or the call made one attempt without retrying because the previous call to the same E-utility had failed on every attempt. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — no connection, no answer within the per-request timeout, an HTTP 5xx other than 501 and 504, or a backend failure NCBI reported in its response — and the call stopped there: retries ran out, the next backoff would overrun the total deadline, the Retry-After NCBI named outlasts the time left or the 30-second backoff cap, or the call made one attempt without retrying because the previous call to the same E-utility had failed on every attempt. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The deadline for the NCBI call expired before NCBI answered successfully — mid-request, while queued, during a retry backoff, or before the next request could be sent. That deadline is the total NCBI request deadline, or the time the tool call had left when that was shorter; `deadlineMs` names its length. `ncbi_timed_out`: NCBI answered HTTP 504 (gateway timeout), 408 (request timeout), or 425 (too early) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON), or a well-formed document that is not the answer the request asked for (no result element, or an ESearch result with no numeric count). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "queue_full",
      -  "ncbi_unreachable",
      -  "ncbi_rate_limited",
      -  "ncbi_deadline_exceeded",
      -  "ncbi_invalid_response",
      -  "ncbi_resource_not_found"
      -]New value: +[
      +  "queue_full",
      +  "ncbi_unreachable",
      +  "ncbi_rate_limited",
      +  "ncbi_deadline_exceeded",
      +  "ncbi_timed_out",
      +  "ncbi_invalid_response",
      +  "ncbi_resource_not_found"
      +]
  2. Changed1 schema field changedv2.12.1
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, or the next backoff would overrun the total deadline. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, the next backoff would overrun the total deadline, or the call made one attempt without retrying because the previous call to the same E-utility had failed on every attempt. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
  3. Changed7 schema fields changedv2.10.20
    • changedInput schema / properties / citations / items / description
      Previous value: -"Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match."New value: +"Citation to match against PubMed. Must include at least journal or a four-digit year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match."
    • changedInput schema / properties / citations / items / properties / authorName / description
      Previous value: -"Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break."New value: +"Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Must contain a visible character, and cannot contain a pipe (\"|\") or a line break."
    • changedInput schema / properties / citations / items / properties / firstPage / description
      Previous value: -"First page number. Cannot contain a pipe (\"|\") or a line break."New value: +"First page number. Must contain a visible character, and cannot contain a pipe (\"|\") or a line break."
    • changedInput schema / properties / citations / items / properties / journal / description
      Previous value: -"Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break."New value: +"Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Must contain a visible character, and cannot contain a pipe (\"|\") or a line break."
    • changedInput schema / properties / citations / items / properties / volume / description
      Previous value: -"Volume number. Cannot contain a pipe (\"|\") or a line break."New value: +"Volume number. Must contain a visible character, and cannot contain a pipe (\"|\") or a line break."
    • changedInput schema / properties / citations / items / properties / year / description
      Previous value: -"Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break."New value: +"Publication year as four digits (e.g., \"1991\")."
    • changedInput schema / properties / citations / items / properties / year / pattern
      Previous value: -"^[^|\\r\\n]*$"New value: +"^[ \\t]*\\d{4}[ \\t]*$"
  4. Changed8 schema fields changedv2.10.19
    • removedInput schema / properties / citations / anyOf
      Removed value: -[
      -  {
      -    "description": "Up to 25 citations, each matched independently.",
      -    "items": {
      -      "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      -      "properties": {
      -        "authorName": {
      -          "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      -          "pattern": "^[^|\\r\\n]*$",
      -          "type": "string"
      -        },
      -        "firstPage": {
      -          "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      -          "pattern": "^[^|\\r\\n]*$",
      -          "type": "string"
      -        },
      -        "journal": {
      -          "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      -          "pattern": "^[^|\\r\\n]*$",
      -          "type": "string"
      -        },
      -        "key": {
      -          "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      -          "type": "string"
      -        },
      -        "volume": {
      -          "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      -          "pattern": "^[^|\\r\\n]*$",
      -          "type": "string"
      -        },
      -        "year": {
      -          "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      -          "pattern": "^[^|\\r\\n]*$",
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "maxItems": 25,
      -    "minItems": 1,
      -    "type": "array"
      -  },
      -  {
      -    "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      -    "properties": {
      -      "authorName": {
      -        "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      -        "pattern": "^[^|\\r\\n]*$",
      -        "type": "string"
      -      },
      -      "firstPage": {
      -        "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      -        "pattern": "^[^|\\r\\n]*$",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      -        "pattern": "^[^|\\r\\n]*$",
      -        "type": "string"
      -      },
      -      "key": {
      -        "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      -        "type": "string"
      -      },
      -      "volume": {
      -        "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      -        "pattern": "^[^|\\r\\n]*$",
      -        "type": "string"
      -      },
      -      "year": {
      -        "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      -        "pattern": "^[^|\\r\\n]*$",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • changedInput schema / properties / citations / description
      Previous value: -"Citations to look up — an array of up to 25, or a single citation object. More fields = better match accuracy."New value: +"Citations to look up, 1–25, each matched independently. More fields = better match accuracy."
    • addedInput schema / properties / citations / items
      Added value: +{
      +  "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      +  "properties": {
      +    "authorName": {
      +      "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      +      "pattern": "^[^|\\r\\n]*$",
      +      "type": "string"
      +    },
      +    "firstPage": {
      +      "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      +      "pattern": "^[^|\\r\\n]*$",
      +      "type": "string"
      +    },
      +    "journal": {
      +      "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      +      "pattern": "^[^|\\r\\n]*$",
      +      "type": "string"
      +    },
      +    "key": {
      +      "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      +      "type": "string"
      +    },
      +    "volume": {
      +      "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      +      "pattern": "^[^|\\r\\n]*$",
      +      "type": "string"
      +    },
      +    "year": {
      +      "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      +      "pattern": "^[^|\\r\\n]*$",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / citations / maxItems
      Added value: +25
    • addedInput schema / properties / citations / minItems
      Added value: +1
    • addedInput schema / properties / citations / type
      Added value: +"array"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities failed on every attempt the retry budget allowed — retries ran out, or the next backoff would overrun the total deadline. `ncbi_rate_limited`: NCBI answered HTTP 429 (too many requests) and the call stopped on it — retries ran out, the next backoff would overrun the total deadline, or the Retry-After NCBI named outlasts the time left or the 30-second backoff cap. `ncbi_deadline_exceeded`: The total NCBI request deadline expired before NCBI answered successfully — mid-request, while queued, or during a retry backoff. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "queue_full",
      -  "ncbi_unreachable",
      -  "ncbi_deadline_exceeded",
      -  "ncbi_invalid_response",
      -  "ncbi_resource_not_found"
      -]New value: +[
      +  "queue_full",
      +  "ncbi_unreachable",
      +  "ncbi_rate_limited",
      +  "ncbi_deadline_exceeded",
      +  "ncbi_invalid_response",
      +  "ncbi_resource_not_found"
      +]
  5. Changed7 schema fields changedv2.10.18
    • addedInput schema / properties / citations / anyOf
      Added value: +[
      +  {
      +    "description": "Up to 25 citations, each matched independently.",
      +    "items": {
      +      "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      +      "properties": {
      +        "authorName": {
      +          "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      +          "pattern": "^[^|\\r\\n]*$",
      +          "type": "string"
      +        },
      +        "firstPage": {
      +          "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      +          "pattern": "^[^|\\r\\n]*$",
      +          "type": "string"
      +        },
      +        "journal": {
      +          "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      +          "pattern": "^[^|\\r\\n]*$",
      +          "type": "string"
      +        },
      +        "key": {
      +          "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      +          "type": "string"
      +        },
      +        "volume": {
      +          "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      +          "pattern": "^[^|\\r\\n]*$",
      +          "type": "string"
      +        },
      +        "year": {
      +          "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      +          "pattern": "^[^|\\r\\n]*$",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "maxItems": 25,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      +    "properties": {
      +      "authorName": {
      +        "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      +        "pattern": "^[^|\\r\\n]*$",
      +        "type": "string"
      +      },
      +      "firstPage": {
      +        "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      +        "pattern": "^[^|\\r\\n]*$",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      +        "pattern": "^[^|\\r\\n]*$",
      +        "type": "string"
      +      },
      +      "key": {
      +        "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      +        "type": "string"
      +      },
      +      "volume": {
      +        "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      +        "pattern": "^[^|\\r\\n]*$",
      +        "type": "string"
      +      },
      +      "year": {
      +        "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      +        "pattern": "^[^|\\r\\n]*$",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / citations / description
      Previous value: -"Citations to look up. More fields = better match accuracy."New value: +"Citations to look up — an array of up to 25, or a single citation object. More fields = better match accuracy."
    • removedInput schema / properties / citations / items
      Removed value: -{
      -  "description": "Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match.",
      -  "properties": {
      -    "authorName": {
      -      "description": "Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break.",
      -      "pattern": "^[^|\\r\\n]*$",
      -      "type": "string"
      -    },
      -    "firstPage": {
      -      "description": "First page number. Cannot contain a pipe (\"|\") or a line break.",
      -      "pattern": "^[^|\\r\\n]*$",
      -      "type": "string"
      -    },
      -    "journal": {
      -      "description": "Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break.",
      -      "pattern": "^[^|\\r\\n]*$",
      -      "type": "string"
      -    },
      -    "key": {
      -      "description": "Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here.",
      -      "type": "string"
      -    },
      -    "volume": {
      -      "description": "Volume number. Cannot contain a pipe (\"|\") or a line break.",
      -      "pattern": "^[^|\\r\\n]*$",
      -      "type": "string"
      -    },
      -    "year": {
      -      "description": "Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break.",
      -      "pattern": "^[^|\\r\\n]*$",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / citations / maxItems
      Removed value: -25
    • removedInput schema / properties / citations / minItems
      Removed value: -1
    • removedInput schema / properties / citations / type
      Removed value: -"array"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `queue_full`: Local NCBI request queue is at capacity. `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `queue_full`: The local NCBI request queue shed the call — the queue is full, or the call cannot start before its total deadline (for example behind the cooldown that follows an NCBI 429). `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler."
  6. Changed11 schema fields changedv2.10.12
    • changedInput schema / properties / citations / items / properties / authorName / description
      Previous value: -"Author name, typically \"lastname initials\" (e.g., \"mann bj\")"New value: +"Author name, typically \"lastname initials\" (e.g., \"mann bj\"). Cannot contain a pipe (\"|\") or a line break."
    • addedInput schema / properties / citations / items / properties / authorName / pattern
      Added value: +"^[^|\\r\\n]*$"
    • changedInput schema / properties / citations / items / properties / firstPage / description
      Previous value: -"First page number"New value: +"First page number. Cannot contain a pipe (\"|\") or a line break."
    • addedInput schema / properties / citations / items / properties / firstPage / pattern
      Added value: +"^[^|\\r\\n]*$"
    • changedInput schema / properties / citations / items / properties / journal / description
      Previous value: -"Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\")"New value: +"Journal title or ISO abbreviation (e.g., \"proc natl acad sci u s a\"). Cannot contain a pipe (\"|\") or a line break."
    • addedInput schema / properties / citations / items / properties / journal / pattern
      Added value: +"^[^|\\r\\n]*$"
    • changedInput schema / properties / citations / items / properties / key / description
      Previous value: -"Arbitrary label to track this citation in results. Auto-assigned if omitted."New value: +"Arbitrary label to track this citation in results. Auto-assigned if omitted. Echoed back unchanged and never sent to NCBI, so any character is accepted here."
    • changedInput schema / properties / citations / items / properties / volume / description
      Previous value: -"Volume number"New value: +"Volume number. Cannot contain a pipe (\"|\") or a line break."
    • addedInput schema / properties / citations / items / properties / volume / pattern
      Added value: +"^[^|\\r\\n]*$"
    • changedInput schema / properties / citations / items / properties / year / description
      Previous value: -"Publication year (e.g., \"1991\")"New value: +"Publication year (e.g., \"1991\"). Cannot contain a pipe (\"|\") or a line break."
    • addedInput schema / properties / citations / items / properties / year / pattern
      Added value: +"^[^|\\r\\n]*$"
  7. Changed6 schema fields changedv2.10.4
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "results",
      +      "totalMatched",
      +      "totalSubmitted",
      +      "totalWarnings"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `queue_full`: Local NCBI request queue is at capacity. `ncbi_unreachable`: NCBI E-utilities is unreachable after all retry attempts. `ncbi_deadline_exceeded`: Total request deadline expired before NCBI returned a response. `ncbi_invalid_response`: NCBI returned a body that could not be parsed (invalid XML/JSON). `ncbi_resource_not_found`: NCBI returned a structured \"not found\" error for the requested ID(s). Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "queue_full",
      +            "ncbi_unreachable",
      +            "ncbi_deadline_exceeded",
      +            "ncbi_invalid_response",
      +            "ncbi_resource_not_found"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "results",
      -  "totalMatched",
      -  "totalSubmitted",
      -  "totalWarnings"
      -]
  8. Changed1 schema field changedv2.9.1
    • changedInput schema / properties / citations / items / description
      Previous value: -"Citation to match against PubMed. Must include at least one bibliographic field (journal, year, volume, firstPage, or authorName)."New value: +"Citation to match against PubMed. Must include at least journal or year — ECitMatch primary-keys on journal+volume+page, so author-only or volume-only inputs guarantee no match."
  9. Addedv2.7.6
  10. Removedv2.7.4
  11. Addedv2.3.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description instead adds genuine behavioral context the annotations cannot: deterministic ECitMatch matching, the journal+volume+page primary key, and the heuristic that more fields improve accuracy. It does not mention NCBI rate limiting, error/partial-match reporting, or batching behavior, which keeps it short of a 5.

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 purpose and the comparison, then the hard precondition, then the accuracy tip — a sensible priority order in three sentences. Minor waste from restating what the schema already says about the journal/year requirement and 'more fields = better match accuracy' (which also appears in the items description), and the nested parentheses make it denser than necessary.

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

Completeness4/5

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

With an output schema present, return-value explanation is unnecessary, and the description covers the decision inputs (when to prefer it, validity constraints, accuracy levers) well for a single-array-parameter tool. What is missing is failure-mode context: what the result looks like when nothing matches, and whether unmatched citations are reported per item.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning beyond field docs: it explains which fields actually drive matching (journal+volume+page primary key), the minimum viable input (journal or four-digit year), and the accuracy/permissiveness tradeoff of adding fields. It does not tie the 1–25 array cap or the `key` echo behavior into prose, though both are documented in the schema.

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 (look up PubMed IDs / PMIDs) and a specific input type (partial bibliographic citations), and explicitly contrasts itself with free-text search for structured references. An agent can tell this apart from pubmed_search_articles and pubmed_format_citations 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 Guidelines5/5

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

Names the triggering situation ('when you have a reference — journal, year, volume, page, author — and need the PMID') and the alternative it beats ('more reliable than free-text search for structured references'). It also supplies an explicit when-not: author-only or volume-only inputs guarantee no match, so the agent knows which calls to avoid.

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