Skip to main content
Glama

Export PubTator3 article annotations

export_pubtator3_article_annotations
Read-onlyIdempotent

Export BioC JSON article metadata, abstract excerpts, and PubTator3 entity annotations for 1 to 5 PubMed IDs to support biomedical curation and analysis.

Instructions

Export BioC JSON article metadata, abstract excerpts, and PubTator3 entity annotations for 1 to 5 PubMed IDs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pmids": "<pmids>"
    },
    "name": "export_pubtator3_article_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidsYesList of 1 to 5 numeric PubMed IDs (e.g. ["34270981"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description's real contribution is disclosing the payload contents (BioC JSON metadata, abstract excerpts, entity annotations), which matters since there is no output schema; it adds nothing about invalid/unknown PMIDs, missing articles, or empty results. Useful return-shape context, but no failure behavior.

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?

One sentence, front-loaded with the resource and output format, zero filler. It says exactly what goes in and what comes out in the fewest words necessary.

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?

For a one-parameter read-only export tool with full annotation coverage, the definition is essentially sufficient: it names the input bound, the identifier type, and what the response contains. The only gap is edge-case behavior (unknown PMIDs, partial results), which is minor given the tool's simplicity.

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% and the single parameter is documented in the schema with format and an example (["34270981"]). The description reinforces the numeric PubMed ID nature and the 1-5 bound, slightly beyond the schema but largely duplicative; baseline 3 is met, with a small credit for restating the identifier type in prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (export) and resource (BioC JSON article metadata, abstract excerpts, PubTator3 entity annotations) and scopes it to 1-5 PubMed IDs, which distinguishes it from the search/autocomplete/relations siblings. It stops short of explicitly naming a sibling to route the agent away from, so it lands at a solid 4 rather than 5.

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?

Usage is only implied: the PMID list and the 1-5 cap suggest targeted lookup of known articles rather than discovery, and the sibling tools (search_pubtator3_literature, autocomplete) would be the alternatives for finding IDs. The description never says when to choose this over those or what to do when you don't have PMIDs, so guidance is implied rather than stated.

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