Skip to main content
Glama
Xuanyu0610

PubMed MCP Server

by Xuanyu0610

pubmed_extract_info

Read-onlyIdempotent

Extract targeted sections like authors, abstract, keywords, or DOI from a PubMed article. Retrieve only needed structured data to save tokens while getting key article details.

Instructions

Extract specific structured sections from a PubMed article. Use when you need only certain aspects (author details, structured abstract, keywords, DOI) rather than the full record. More token-efficient than get_details for targeted extraction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmidYesPubMed article ID.
sectionsNoWhich sections to extract.
Install Server

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered and the description does not need to repeat it. The description adds the token-efficiency observation and the scoping of sections, but does not disclose any deeper behavioral details such as output shape, error behavior, or section-level edge cases. This is adequate but not rich.

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?

Three sentences with no filler: the purpose is front-loaded, the usage condition follows immediately, and the efficiency advantage is stated once. Every sentence contributes a distinct piece of guidance.

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?

The tool has only two parameters, the schema covers both fully, and the annotations cover read-only and idempotent behavior. The description is sufficient for deciding when to call it. It falls slightly short of 5 because there is no output schema and the description does not describe the exact structure or format of the extracted sections, which would be useful for this kind of extraction tool.

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 input schema has 100% coverage, with clear descriptions for 'pmid' and enumerated 'sections'. The description mentions examples of sections ('author details, structured abstract, keywords, DOI) that overlap with those enum values, but adds little meaning beyond what the schema already provides. Baseline 3 is appropriate.

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 uses a specific verb ('Extract') with a clear resource ('specific structured sections from a PubMed article') and a concrete scope ('only certain aspects...rather than the full record'). It also differentiates from pubmed_get_details by naming the token-efficiency angle, so an agent can distinguish it immediately.

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 explicitly says to use this tool 'when you need only certain aspects' and contrasts it with 'the full record'. It also names the alternative tool, pubmed_get_details, and the condition under which this one is preferable ('targeted extraction'), giving an agent actionable selection criteria.

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

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

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