Skip to main content
Glama

Crypto & Web Data API for Agents

PubMed search: biomedical papers by topic, author or journal

science_pubmed
Read-only

PubMed search: biomedical papers by topic, author or journal. Searches 37M+ PubMed citations and returns title, authors, journal, publication date, PMID, DOI and link, most relevant first (or newest with sort=date). Supports PubMed query syntax such as cancer[Title] AND 2025[dp]. Price $0.020 per call (x402: USDC on Base or Solana).

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": {
      "q": "<q>"
    },
    "name": "science_pubmed"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query (PubMed syntax supported)
txNoAlternative to the X-Payment-Tx header
sortNorelevance or daterelevance
limitNoHow many papers to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered and the description is not required to restate it. It does add genuine behavior beyond the structured fields: the returned fields (title, authors, journal, date, PMID, DOI, link), the default relevance ordering, the syntax support, and notably the cost model ($0.020 per call via x402 USDC on Base or Solana), which an agent needs before invoking a paid endpoint.

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 sentences, front-loaded with the resource and corpus, followed by return shape and ordering, then pricing last where it belongs. No sentence is padding and nothing is buried mid-paragraph.

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 no output schema, the description correctly spends words on return fields and ordering, and it discloses cost, which is critical for a paid endpoint. Completeness is only slightly short: pagination/no-pagination behavior beyond limit=20 and how sibling science sources differ are left unstated.

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 exceeds it by showing concrete PubMed query syntax ('cancer[Title] AND 2025[dp]'), which is meaning the terse schema hint 'PubMed syntax supported' does not convey. It also clarifies that sort=date means newest rather than merely repeating the enum values. The payment parameter 'tx' and the limit default receive no elaboration beyond the schema.

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 ('PubMed search: biomedical papers by topic, author or journal') and quantifies scope ('37M+ PubMed citations'), so an agent knows exactly what corpus it is querying. It does not, however, differentiate itself from plausible siblings like science_papers or science_europepmc, leaving that choice to the model's own inference.

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: the title tells an agent this is for biomedical literature lookup, and the description notes 'most relevant first (or newest with sort=date)', which guides ranking choice. There is no explicit when-to-use versus when-not, no mention of prerequisites, and no routing to alternative tools when PubMed is the wrong source.

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