Skip to main content
Glama

get_full_text

Read-only

Retrieve full text from open-access PubMed Central articles with sections, figure/table captions, and reference counts; flags retracted articles and requires a PMC record.

Instructions

Get the full text of an open-access article from PubMed Central. Returns article sections, figure/table captions, and reference count. Flags the article if PubMed marks it as retracted. Only works for articles available in PMC.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_full_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
pmidNoPubMed ID
pmcidNoPubMed Central ID (e.g., PMC1234567)
sectionsNoFilter to specific section titles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, non-destructive, open-world), and the description adds real behavioral context: the returned payload (sections, figure/table captions, reference count), a retraction flag, and the PMC availability precondition. It does not mention size/truncation behavior for very long articles, which is the main remaining gap.

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 short sentences: purpose first, then what is returned, then the hard constraint. Every sentence carries distinct information with no repetition.

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?

With no output schema, the description correctly summarizes the return shape and flags retraction status, which is the key correctness signal for citation use. It is nearly complete; only the pmid-vs-pmcid selection rule and any length limits are unaddressed.

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?

Schema description coverage is 100%, so pmid, pmcid, and sections are already documented in the schema, giving a baseline of 3. The description adds nothing about how pmid and pmcid interact or that at least one identifier must be supplied (required count is 0), so it does not exceed the baseline.

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 and resource ('Get the full text of an open-access article from PubMed Central') and scopes it with 'Only works for articles available in PMC'. The contrast with get_abstract is implied by 'full text' but no sibling is named explicitly, keeping it short of a 5.

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?

Gives a clear applicability condition ('open-access', 'available in PMC') that tells the agent when this tool will fail, but names no alternative such as get_abstract for paywalled or non-PMC records, so routing for out-of-scope cases is left to inference.

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