Skip to main content
Glama
litMcp

litMcp

by L1nze

Summarize Paper

summarize_paper

Generate grounded summaries of known library papers by reading bounded source-text windows; use offset cursors to continue until all stored text is read.

Instructions

Read bounded source windows for a grounded paper summary.

TRIGGER when asked to explain a known library paper. The tool returns source text and summary instructions; the outer model writes the summary. Continue with next_offset until complete, tracking every window read. complete only means the end of stored text, whose PDF extraction coverage is unknown. abstract_only=true cannot justify a full-paper summary. Offsets count Unicode characters, not PDF pages. Purely local by default. Explicit fetch_fulltext allows one stored paper's OA PDF extraction (100 pages, 100,000 chars, 60-second deadline); use_openalex_content_api explicitly permits the paid fallback. Output stays intact JSON within 12,000 characters, with accurate cursors.

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": {
      "work_id": "<work_id>"
    },
    "name": "summarize_paper"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNo
offsetNo
work_idYes
fetch_fulltextNo
use_openalex_content_apiNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the whole burden and does so unusually well: it discloses the pagination protocol (next_offset), the semantics of completion ("complete only means the end of stored text, whose PDF extraction coverage is unknown"), the cost/latency envelope (100 pages, 100,000 chars, 60-second deadline), and the opt-in nature of the paid API. These are exactly the caveats an agent needs before committing to a multi-window read.

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?

Front-loaded with purpose and trigger, then ordered into pagination, extraction, and output constraints; nearly every sentence carries operational weight. It is dense and telegraphic, and the stray "abstract_only" reference plus the fragment "complete only means the end of stored text" cost it a little clarity.

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 tool this complex (windowed reads, optional PDF extraction, paid fallback), the description covers paging, cost, data-completeness caveats, and output size, and the existing output schema means return-shape detail is not required. The gaps are how to obtain a valid work_id and what happens on failure or missing extraction.

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 coverage is 0%, so the description must document all five parameters. It handles offset (Unicode characters, not PDF pages), fetch_fulltext (single stored paper's OA PDF with hard limits), and use_openalex_content_api (explicit permission for the paid fallback) well, but work_id is never defined or its format given, and length is not mentioned at all. It also references "abstract_only=true", which is not in the schema, creating noise about a parameter that does not exist.

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?

"Read bounded source windows for a grounded paper summary" plus "TRIGGER when asked to explain a known library paper" states the resource and the exact situation, and it makes the crucial non-obvious point that the tool returns source text while the outer model writes the summary. It does not explicitly contrast itself with sibling search/library tools, so the agent must infer that a work_id must already exist.

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 trigger condition is explicit and the escalation path is spelled out: local by default, fetch_fulltext for a single stored OA PDF, use_openalex_content_api for the paid fallback. It also warns that abstract_only cannot justify a full-paper summary. It stops short of naming alternative tools for discovery or for non-library papers, leaving the agent to work that out.

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