Skip to main content
Glama

PubMed Biomedical Literature MCP

Search PubMed biomedical literature

search_pubmed
Read-onlyIdempotent

Search NCBI PubMed biomedical literature by keyword, boolean expression, or MeSH terms. Returns total match count, query translation, and matching PubMed IDs (PMIDs).

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
sortNoOptional sort order ("relevance", "pub_date", "Author", or "JournalName").
queryYesPubMed search query or MeSH expression (e.g. "CRISPR Cas9[Title]" or "mRNA vaccine oncology").
retmaxNoNumber of PMIDs to return (1 to 50). Default 10.
max_dateNoOptional latest publication date (YYYY or YYYY/MM/DD).
min_dateNoOptional earliest publication date (YYYY or YYYY/MM/DD).
retstartNoPagination offset (0 to 10000). Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the bar is lower. The description does add real value by disclosing the return payload (total match count, query translation, PMIDs only — no abstracts), which steers the agent toward the get_* siblings for content; it says nothing about result caps or rate limits.

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, front-loaded with the core action and then the return shape. No redundant or filler wording.

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 a rich 6-parameter schema and no output schema, the description covers the essentials: what to search and what comes back. It stops short of explaining pagination/sorting semantics or result-size limits, but nothing critical to a correct first call 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 every parameter including the sort enum and date formats is already documented. The description adds only the general notion of boolean expressions as a valid query style, which is marginal over the schema's MeSH example.

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?

States a specific verb and resource ('Search NCBI PubMed biomedical literature') plus the accepted query forms (keyword, boolean, MeSH). An agent can distinguish this discovery tool from the get_* siblings simply by reading it, though no sibling is named explicitly.

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 rather than stated: the mention of returning PMIDs suggests this is the entry point before calling get_article_abstract or get_article_summary, but the description never says so and gives no when-not-to-use conditions or prerequisites.

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.