Skip to main content
Glama

Pubmed Convert Ids

pubmed_convert_ids
Read-only

Convert between article identifiers (DOI, PMID, PMCID). Accepts up to 50 IDs of a single type per request. Only resolves articles indexed in PubMed Central — for articles not in PMC, use pubmed_search_articles instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesArticle identifiers to convert. All IDs must be the same type. DOIs: "10.1093/nar/gks1195", PMIDs: "23193287", PMCIDs: "PMC3531190" (the "PMC" prefix is optional — bare digits like "3531190" are also accepted).
idTypeYesThe type of IDs being submitted. Required so the API can unambiguously resolve them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
recordsNoConversion results, one per input ID
totalConvertedNoNumber of IDs successfully converted
totalSubmittedNoNumber of IDs submitted

TDQS

A4.7/5.0
Behavior5/5

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

Given the annotations (readOnlyHint=true, openWorldHint=true), the description adds critical behavioral context: it only resolves PMC-indexed articles, imposes a batch limit, and requires a single ID type. These are non-obvious constraints that affect outcomes and are not derived from the annotations alone. It also names a concrete alternative for unsupported cases, increasing transparency about the tool's boundaries.

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?

The description is concise (two sentences) and front-loads the core purpose before diving into constraints and alternatives. Every clause earns its place: purpose, scope, batch limit, and redirection. No fluff or repetition, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters and full schema documentation, the description covers all necessary behavioral context: what the tool does, its limitations (PMC-only, 50 IDs, single type), and when to use an alternative. The presence of an output schema covers return values. Nothing essential is missing for an agent to select and invoke this tool correctly.

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?

The schema already provides 100% coverage with detailed descriptions for both parameters, including examples and the optional 'PMC' prefix note. The description's statement about 'single type' and batch size largely reiterates the schema's maxItems and 'All IDs must be the same type.' While the description does add no harmful ambiguity, it provides minimal additional parameter-level meaning beyond what the schema already encodes.

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 begins with a clear verb-resource pair ('Convert between article identifiers (DOI, PMID, PMCID)') and immediately differentiates the tool from siblings by scoping to PMC-indexed articles. It also specifies batch limits and the single-type rule, making the tool's purpose unambiguous and distinct from sibling tools like pubmed_search_articles.

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?

The description explicitly states when to use this tool (for PMC-indexed articles) and when not to, naming the alternative: 'for articles not in PMC, use pubmed_search_articles instead.' It also mentions the 50-ID limit and the single-type requirement, providing clear usage context. This goes beyond a basic when-to-use and covers exclusions.

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.

TDQS

A4.2/5.0
Disambiguation4/5

The tools constitute a well-designed set targeting distinct workflow steps: searching (pubmed_search_articles, pubmed_europepmc_search), fetching (pubmed_fetch_articles, pubmed_fetch_fulltext, pubmed_europepmc_fetch), ID conversion (pubmed_convert_ids), related articles (pubmed_find_related), citations (pubmed_format_citations, pubmed_lookup_citation), MeSH lookup (pubmed_lookup_mesh), and spelling (pubmed_spell_check). While search and fetch tools in PubMed vs Europe PMC overlap somewhat, the descriptions explicitly differentiate them (local PubMed vs broader Europe PMC with preprints/patents), so ambiguity is minor.

Naming Consistency5/5

All tools follow a consistent `pubmed_` prefix followed by verb_noun pattern: `search_articles`, `fetch_articles`, `lookup_citation`, `format_citations`, `convert_ids`, `find_related`, etc. The verbs are all lowercase snake_case, and the pattern is uniform across the entire set, even for the Europe PMC variants (`pubmed_europepmc_search`, `pubmed_europepmc_fetch`).

Tool Count5/5

11 tools makes for a well-scoped server. Each tool serves a clearly distinct purpose within the biomedical literature retrieval domain: searching, fetching metadata/full-text, ID conversion, citation formatting/lookup, MeSH exploration, related-articles, and spell-check. No tool feels redundant or trivial; the count is appropriate for the domain's complexity.

Completeness5/5

The tool set provides comprehensive coverage of the core PubMed/PMC workflow: search with full query syntax, fetch metadata and full text, convert identifiers across DOI/PMID/PMCID, find related articles, format citations, and explore MeSH vocabulary. Notable gaps like more advanced search history management or batch operations exist but are not essential to the domain's core purpose. The fallback logic (e.g., europepmc_fetch for non-PMC records, fulltext fallback chain) fills potential dead ends.