Skip to main content
Glama

Pubmed Format Citations

pubmed_format_citations
Read-only

Generate formatted citations for PubMed articles in APA, MLA, BibTeX, RIS, or Vancouver styles. Provide one or more PubMed IDs to retrieve citations in your chosen format.

Instructions

Get formatted citations for PubMed articles in one or more styles (apa, mla, bibtex, ris, vancouver). Pass a single style as a string or multiple as an array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmidsYesPubMed IDs to cite
formatNoCitation format(s) to generate — single style as a string or multiple as an array. Allowed values: apa, mla, bibtex, ris, vancouver.apa

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
citationsYesCitations per article
totalSubmittedYesNumber of PMIDs submitted for citation formatting
totalFormattedYesNumber of PMIDs successfully formatted
unavailablePmidsNoRequested PMIDs that did not return article metadata
noticeNoOptional guidance when no citations were produced — points to discovery tools. Absent when at least one citation was produced.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, covering safety. The description adds that multiple styles can be requested, which is a behavioral detail beyond annotations. No contradictions.

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?

Two sentences with no waste: first states purpose, second gives parameter usage. Front-loaded and efficient.

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?

Output schema exists (though not shown), so return format is covered. Description explains input parameters and invocation pattern. Could mention error handling or rate limits, but overall sufficient for a simple tool.

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%, but the description adds clarifying usage: 'Pass a single style as a string or multiple as an array,' reinforcing the anyOf schema. This goes beyond the schema descriptions.

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 description clearly states the tool gets formatted citations for PubMed articles, specifying the verb 'Get' and resource 'formatted citations'. It lists possible styles, making the purpose distinct from sibling tools like searching or fetching full text.

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?

The description implies usage for when citations in specific formats are needed, but it does not explicitly state when to use this tool over alternatives like pubmed_lookup_citation. However, the context is clear enough given sibling tool names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/pubmed-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server