Skip to main content
Glama

get_full_text

Read-only

Fetch a paper's full body text as Markdown (methods, results, protocols, inline tables) — use for deep questions the abstract can't answer. Accepts a PMC ID (PMC5339222), a bioRxiv/medRxiv DOI (10.1101/…) or an arXiv ID (2401.12345). arXiv full text is available for most Creative Commons papers from May 2024 on; for other arXiv papers it returns the summary view and a link to the full text on arxiv.org.

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": {
      "id": "<id>"
    },
    "name": "get_full_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesarXiv ID, PMC ID, or 10.1101/… DOI.
offsetNoStart this many characters in, to read past an earlier cut (default 0).
max_charsNoReturn at most this many characters (default 24000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "description": "Return at most this many characters (default 24000).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Start this many characters in, to read past an earlier cut (default 0).",
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: arXiv full text only for most Creative Commons papers from May 2024 onward, with other arXiv papers returning a summary view plus an arxiv.org link. It does not mention truncation/cut behavior beyond the schema's offset/max_chars defaults.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core purpose, then ID formats, then the arXiv caveat. Dense but essentially waste-free; the arXiv sentence is long yet carries decision-relevant information about output fidelity.

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 does the needed work by naming the return format (Markdown body text) and describing the degraded summary-view case. For a three-parameter read tool this is nearly complete; only the practical consequence of the default 24000-character cut is unstated in prose.

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 the baseline is 3, but the description earns extra by giving concrete ID formats for the required parameter (PMC5339222, 10.1101/… DOI, 2401.12345) and noting arXiv/publisher distinctions that shape which ID is valid. The offset and max_chars semantics are left entirely to 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?

States a specific verb and resource ('Fetch a paper's full body text as Markdown') and enumerates the content returned (methods, results, protocols, inline tables). The clause 'use for deep questions the abstract can't answer' implicitly separates it from the abstract/metadata-level sibling, so an agent can route without opening a schema.

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 selection criterion — deep questions the abstract can't answer — and describes the fallback outcome when full text is unavailable. It stops short of naming an explicit alternative tool (e.g. get_paper or search_papers) or stating when not to call it at all.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources