Skip to main content
Glama

Agent Data Hub

PubMed biomedical literature search (36M+ citations)

search_pubmed
Read-onlyIdempotent

Search PubMed (U.S. National Library of Medicine) with plain keywords or PubMed query syntax, by relevance or newest, optional publication-year range. Returns PMID, title, authors, journal, publication date, article types, DOI, PMC id with free full-text link, and PubMed URL. Use for medical, clinical, drug and life-science evidence lookup. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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
sortNorelevance (default) or date
limitNoResults 1–25 (default 10)
queryYesKeywords or PubMed syntax, e.g. GLP-1 obesity randomized trial
to_yearNoLatest publication year (optional)
from_yearNoEarliest publication year (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent, non-destructive behavior, so the safety profile is covered. The description adds genuinely useful non-schema context: the return field set and the pricing/rate-limit rule ($0.002 per call, first 10 calls/day free). It says nothing about result caps, error behavior, or ranking caveats.

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, then query syntax, then return fields, then domain use and cost. Four dense sentences with little waste, though the return-field enumeration is long and could be compressed.

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?

No output schema exists, so spelling out returned identifiers is appropriate and mostly sufficient. A few gaps remain for a search tool: no statement on maximum result window beyond the schema's 1–25, no note on empty-result or rate-limit failure behavior.

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 the baseline is 3; the description slightly exceeds it by glossing sort as 'by relevance or newest' and framing from_year/to_year as an optional publication-year range, confirming intent rather than just restating names.

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 (U.S. National Library of Medicine)'), scopes it with '36M+ citations', and enumerates returned fields. The domain sentence ('medical, clinical, drug and life-science evidence lookup') implicitly separates it from siblings like search_arxiv or search_papers, though no sibling is named.

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 clear when-to-use context via the domain sentence and specifies query style ('plain keywords or PubMed query syntax') plus sort choice. It stops short of explicit exclusions or naming an alternative tool for non-biomedical literature, which keeps it below a 5.

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.

Resources