Skip to main content
Glama

fh_pubmed_fetch_articles

Fetch title, first author, year, publication types, retraction status, and library level for up to 200 PubMed IDs in one call.

Instructions

Title, first author, year, publication types, retracted and library level for up to 200 PubMed IDs in one call. Faster and far smaller than asking PubMed: known papers come from disk, the rest in one request, stored for every later call; rows as arrays in columns order, ~120 characters a paper. Level "not found": PubMed has no such record. For abstract or full text: fh_library_read.

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": {
      "pmids": "<pmids>"
    },
    "name": "fh_pubmed_fetch_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidsYesPubMed IDs, "30955454" or "pmid:30955454", up to 200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.9/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 does well: it discloses a disk-backed cache ("known papers come from disk... stored for every later call"), the approximate payload size (~120 characters a paper), and the row-as-array output shape. It does not cover ordering guarantees, partial-failure behavior, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and front-loaded: the return payload leads, then performance rationale, then output format, then the escape hatch to fh_library_read. Every clause carries information, though the semicolon-chained style and shorthand like "rows as arrays in columns order" take a beat to parse.

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?

There is no output schema, so the description must explain return values and it does — field list, array-of-arrays shape, and size per paper. It stops short of stating the exact column ordering unambiguously, which an agent needs to map array positions to fields.

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 100% for the single pmids parameter, including the "pmid:" prefix form and the 200 cap, so the schema already does the work. The description restates the batch size but adds no format or normalization detail beyond it, making 3 the correct baseline.

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 names the exact resource (PubMed IDs) and enumerates the returned fields — title, first author, year, publication types, retracted and library level — plus a hard batch limit of 200. It does not explicitly contrast with fh_pubmed_search_articles, so an agent must infer that this is a fetch-by-ID rather than a search tool.

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?

It gives a clear redirect for the common adjacent need: "For abstract or full text: fh_library_read." It also defines the "not found" outcome so the agent knows how to interpret a miss. The gap is that it never states when to prefer this over the sibling search tool for discovery versus lookup.

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