Skip to main content
Glama
pubverify-mcp

pubverify-mcp

search_pubmed

Search PubMed via NCBI E-utilities using MeSH and Boolean queries with year filters, returning PMIDs, DOIs, authors, abstracts, MeSH terms, and retraction/erratum flags.

Instructions

Search PubMed (MEDLINE) via NCBI E-utilities with MeSH/Boolean queries and year range filters. Returns PMID, PMCID, DOI, authors, journal, dates, abstract, MeSH terms, retraction status, and erratum flags.

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": {
      "query": "<query>"
    },
    "name": "search_pubmed"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order: 'relevance' or 'pub+date'.relevance
limitNoMaximum records to return (1-100, default 10).
queryYesPubMed query string (supports MeSH tags and Boolean operators).
year_toNoOptional end publication year (inclusive).
year_fromNoOptional start publication year (inclusive).
exclude_errataNoFilter out Published Erratum / Corrigendum records.
include_abstractNoInclude full abstracts (set false for compact scans).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does meaningful work: it discloses the returned payload (PMID, PMCID, DOI, authors, journal, dates, abstract, MeSH terms, retraction status, erratum flags) and that read operations can be compacted via suppressing abstracts. What it omits is operational behavior — NCBI E-utilities rate limits, API-key requirements, and how results beyond the limit of 100 are retrieved.

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?

Two sentences, zero filler. The capability statement comes first and the return-value inventory second, which is exactly the order an agent needs to decide and then call.

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 7-parameter search tool with no output schema and no annotations, the payload enumeration compensates well for the missing output schema. However, pagination beyond the 100-record cap, expected error modes, and NCBI access constraints are unaddressed, leaving real gaps for an agent planning multi-step retrieval.

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 every parameter is already documented, and the description's mentions of MeSH/Boolean support and 'year range filters' largely restate what the schema says. The references to retraction status and erratum flags give indirect context for exclude_errata and include_abstract, but no syntax examples or edge-case semantics are added. 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 gives a specific verb and resource — 'Search PubMed (MEDLINE) via NCBI E-utilities' — and enumerates the supported query modes (MeSH, Boolean, year range) and returned fields. It is clearly distinct from siblings like fetch_pmc_fulltext or format_citations, but it never explicitly contrasts itself with search_author_papers or search_scholarly_source.

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 only implied by the domain name: an agent can infer 'use this for PubMed/biomedical literature queries.' There is no statement of when to prefer a sibling search tool, no note on when the API is inappropriate (e.g., non-biomedical topics), and no prerequisites such as an NCBI API key.

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