Skip to main content
Glama

pubmed_record

Retrieve a single structured citation record by PMID or DOI, returning metadata such as title, authors, journal, abstract, and identifiers—not full text or cross-source search.

Instructions

Return one structured PubMed record by PMID or DOI.

Metadata only (title, authors, journal, year/volume/issue/pages, abstract, DOI, PMCID) — no full text and no cross-source literature search; use paper-search for that. Pass exactly one identifier.

Args: pmid: PubMed id, e.g. "23903748". doi: DOI, e.g. "10.1038/nature12373".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pubmed_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiNo
pmidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the important behavioral boundary: metadata-only, no full text, no cross-source search, one identifier only. It does not state what happens on an invalid/unknown PMID, on a DOI with no PubMed entry, or which identifier wins if both are supplied despite the "exactly one" rule, so error semantics remain undisclosed.

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?

Scope and the key exclusion are front-loaded in the first three lines, then a short Args block adds per-parameter examples. Every sentence contributes either scope, an exclusion, or a parameter fact; nothing is filler.

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?

For a two-parameter lookup with no annotations and no output schema, the description enumerates the returned metadata fields (title, authors, journal, year/volume/issue/pages, abstract, DOI, PMCID), which compensates for the absent output schema. The only real gap is undefined behavior on missing/extra/invalid identifiers.

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 description coverage is 0% and both properties are nullable with no required list, so the description adds substantial value: it names each parameter's meaning, supplies a concrete example value for each, and imposes the mutual-exclusivity constraint the schema cannot express. It stops short of stating precedence or the failure mode when zero or two identifiers are given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ("Return one structured PubMed record") plus the two identifier types that select it, and it explicitly bounds the tool to single-record retrieval rather than a search. An agent can distinguish this from literature-search tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states negative scope ("no full text and no cross-source literature search") and names the alternative to use instead ("use paper-search for that"), then adds an invocation rule: "Pass exactly one identifier." When-to-use, when-not-to-use, and the alternative are all explicit.

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