An MCP server that provides access to PubMed articles through Entrez API.
Two tools with complete input schemas and descriptions, but significant gaps in output documentation and error guidance. search_pubmed has a detailed, LLM-optimized description (280+ chars) with clear examples and field expectations. get_paper_fulltext description is adequate but generic. Both tools lack documented output schemas, critical for agent planning and chaining. Parameter descriptions are present and typed, but no enum constraints or validation rules. Error handling is minimal; no recovery guidance for common failures (no results, PMC unavailability, API rate limits). Tool names follow verb_noun convention correctly. No tool annotations (readOnlyHint, destructiveHint) despite both being read-only operations.
Get full text of a PubMed article using its ID. This tool attempts to retrieve the complete text of the paper if available through PubMed Central. If the paper is not available in PMC, it will return a message explaining why and provide information about where the text might be available (e.g., through DOI). Example usage: get_paper_fulltext(pmid="39661433") Returns: - If successful: The complete text of the paper - If not available: A clear message explaining why (e.g., "not in PMC", "requires journal access")
Search PubMed for medical and life sciences research articles. You can use these search features: - Simple keyword search: "covid vaccine" - Field-specific search: - Title search: [Title] - Author search: [Author] - MeSH terms: [MeSH Terms] - Journal: [Journal] - Date ranges: Add year or date range like "2020:2024[Date - Publication]" - Combine terms with AND, OR, NOT - Use quotation marks for exact phrases Examples: - "covid vaccine" - basic search - "breast cancer"[Title] AND "2023"[Date - Publication] - "Smith J"[Author] AND "diabetes" - "RNA"[MeSH Terms] AND "therapy" The search will return: - Paper titles - Authors - Publication details - Abstract preview (when available) - Links to full text (when available) - DOI when available - Keywords and MeSH terms Note: Use quotes around multi-word terms for best results.
Output schemas not documented. LLMs cannot infer what fields search_pubmed returns (pmid, title, authors, abstract, doi, etc.) or what get_paper_fulltext returns (full_text, error_reason, doi_url). This forces agents to guess field names for downstream chaining and wastes tokens on exploratory calls.
No error recovery guidance. search_pubmed returns 'No results found' but does not suggest alternative queries or syntax fixes. get_paper_fulltext mentions PMC unavailability in description but tool does not return structured error codes or actionable next steps (e.g., 'Try DOI lookup' or 'Check journal access'). Agents cannot self-correct.
Missing tool annotations. Both tools are read-only (no side effects) but lack readOnlyHint annotation. This prevents agents from optimizing retry logic and caching strategies. Agents cannot distinguish safe-to-retry tools from destructive ones without explicit hints.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
No pagination or result limits documented for search_pubmed. max_results caps at 50, but description does not explain why or what happens if the user requests more. No next_cursor or offset mechanism for large result sets. Agents cannot iterate through hundreds of papers.
Parameter descriptions lack format/constraint details. 'pmid' in get_paper_fulltext has no description of expected format (numeric string? with leading zeros?). 'query' in search_pubmed mentions syntax examples but does not formally document PubMed query syntax rules or common mistakes (e.g., missing brackets for field tags).