Skip to main content
Glama

convert_ids

Convert between PubMed IDs, PMCIDs, manuscript IDs, and DOIs using the PMC ID Converter. Supports up to 200 IDs, auto-detects type or allows explicit specification.

Instructions

Convert between PubMed IDs, PMCIDs, Author Manuscript IDs, and DOIs via the PMC ID Converter API.

ids accepts up to 200 comma-separated IDs, all of the same type. Type is auto-detected from format unless idtype is set explicitly. Only returns results for articles present in PMC. Set versions=True to include manuscript/version history in the response.

Examples: convert_ids(ids="23193287") convert_ids(ids="3531190", idtype="pmcid") convert_ids(ids="10.1093/nar/gks1195", idtype="doi")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
idtypeNo
versionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full burden. It discloses key behaviors: auto-detection of ID type, limit of 200 comma-separated IDs of same type, only PMC articles returned, and the versions flag. However, it does not mention error handling (e.g., invalid IDs) or potential empty responses, leaving minor gaps.

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 short paragraphs and three examples. Every sentence adds value - no fluff. The purpose is front-loaded, constraints follow, and examples solidify understanding. Efficiently structured for quick comprehension.

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?

Given the tool's moderate complexity (3 parameters, output schema present), the description covers input constraints, behavior, and an optional feature. Minor gaps exist: no mention of error cases or mixed-type handling, but the output schema likely covers return format. Overall, sufficiently complete for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It thoroughly explains each parameter: ids (comma-separated, up to 200, same type), idtype (auto-detected, optional explicit setting), and versions (booleans for manuscript history). Examples further clarify usage, adding significant value beyond the schema.

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 converts between four specific ID types (PubMed IDs, PMCIDs, Author Manuscript IDs, DOIs) via the PMC ID Converter API. The verb 'Convert' and the resource specification make the purpose unambiguous and distinct from sibling tools like fetch_records and get_summaries.

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

Usage Guidelines3/5

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

The description includes examples that show typical usage, and it notes that results are only returned for articles present in PMC, implying a limitation. However, it does not explicitly compare to siblings or provide guidance on when to use this tool versus other similar tools (e.g., fetch_records). Some contextual tips are implied but not formalized.

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/dam2452/pubmed-mcp'

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