Skip to main content
Glama

pubmed_search

Search PubMed to find real papers before citing; returns PMID, title, journal, year, DOI, and query translation.

Instructions

Search PubMed and return matching papers with PMID, title, journal, year and DOI.

Use this to find real papers before citing anything. The result includes query_translation, which shows how PubMed expanded the query.

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": "pubmed_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNorelevance
queryYesPubMed query. Field tags work, e.g. 'CRISPR[ti] AND review[pt]'.
max_yearNoLatest publication year.
min_yearNoEarliest publication year.
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
hitsYes
queryYes
total_countYes
query_translationNoHow PubMed actually interpreted the query (MeSH expansion etc.).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral load; it does disclose the return shape and the notable `query_translation` field that reveals how PubMed expanded the query. However, it says nothing about rate limits (a well-known PubMed constraint), pagination behavior, or what happens on zero matches, which matter for an unannotated network tool.

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?

Three short sentences, purpose and return fields front-loaded, followed by the citation-workflow cue and the one non-obvious output detail. Nothing is padded or restated from the title.

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?

An output schema exists, so return values need not be explained, and the description still covers the essentials for a 5-parameter search tool. The main shortfall is the absence of any note on rate limiting or the 50-result ceiling implicit in the schema, which an agent calling an unannotated external API would benefit from knowing.

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 60%: `query` and the year bounds are documented in the schema, while `sort` and `max_results` have only titles and a regex/default. The description adds no parameter-level meaning at all, mentioning neither sort order, result caps, nor the effect of year filters, so it neither compensates for the gap nor detracts.

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 PubMed") and enumerates the returned fields (PMID, title, journal, year, DOI), which distinguishes it from a fetch-by-ID sibling. It stops short of explicitly naming when to prefer it over pubmed_fetch or verify_references, but the search-versus-retrieve distinction is legible.

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?

"Use this to find real papers before citing anything" gives concrete when-to-use guidance tied to the citation workflow, which is the main decision an agent faces here. It offers no explicit exclusions or pointer to the sibling tools for subsequent retrieval or verification, so it is clear context without full routing guidance.

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