Skip to main content
Glama
masa061580
by masa061580

get_citation_counts

Retrieve citation counts for PubMed IDs. Choose iCite for total counts including external citations, or PubMed for internal citations and citing PMIDs.

Instructions

Get citation counts for PMIDs. Default source is iCite (counts only, includes citations from outside PubMed). Set citing_source='pubmed' for elink-based PubMed-internal citations and to retrieve citing PMIDs (useful for backward snowballing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pmidsYesList of PubMed IDs (PMIDs), max 1000
citing_sourceNo'icite' (default, counts only) or 'pubmed' (elink, includes citing PMIDs)icite
include_citing_pmidsNoIf true and citing_source='pubmed', include the list of citing PMIDs
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It clearly states that iCite returns counts only and includes external citations, while pubmed uses elink and can return citing PMIDs. It also implies that include_citing_pmids is only effective with pubmed. It does not cover error handling or output format, but the core behavior is well disclosed.

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, no redundancy. The first sentence states the core purpose; the second explains the key parameter choice and its benefit. Every clause adds value and the information is front-loaded.

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 is relatively simple, has no output schema, and lacks annotations. The description covers the main use cases, the source distinction, and what to expect from each mode. It omits details like return structure or failure behavior, but these are less critical for a simple lookup tool and the description is otherwise adequate.

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%, so baseline is 3. The description adds meaning beyond the schema by explaining what 'icite' and 'pubmed' mean conceptually (external vs. internal citations, snowballing) and how they affect both the output and the include_citing_pmids parameter. This enriches the raw schema definitions.

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 opens with a specific verb and resource: 'Get citation counts for PMIDs.' It clearly distinguishes between the two sources (iCite vs. PubMed), which differentiates this tool from sibling tools like 'count' or 'fetch'. The purpose is unambiguous and actionable.

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 gives explicit guidance on which source to use: default iCite for broad counts, and citing_source='pubmed' when PubMed-internal citations or citing PMIDs are needed. It explains the trade-off and a concrete use case (backward snowballing), but it does not explicitly contrast with sibling tools, so it falls short of full when/when-not guidance.

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/masa061580/pubmed_mcp_server2'

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