Skip to main content
Glama

Lilia Editor

Start a bulk PDF import

start_bulk_import

Convert many PDFs at once (scanned notebooks, handwritten notes, papers), each into its own document, in the background: the author can leave and come back. Two ways: (1) send the PDFs you have as files (up to 5 per call, 10 MB each; call again with the same batchId to add more, up to 50); (2) send no files to get the link to Lilia's bulk drop page, where the author drops up to 50 PDFs of 95 MB each. Each page counts against the author's plan's monthly PDF pages. Then call bulk_import_status for progress: each file is read 10 pages at a time, and its document appears when it is finished.

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": "start_bulk_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoThe PDFs to convert. Omit to get the drop page's link instead.
batchIdNoAdd to this bulk import (from an earlier start_bulk_import); omit to start a new one.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds substantial operational context the agent cannot get elsewhere: asynchronous background execution, per-call (5) and per-batch (50) caps, 10 MB versus 95 MB size limits per mode, and that pages consume the author's monthly plan quota. It also implicitly clarifies the non-idempotent behavior flagged by idempotentHint, since reusing batchId appends rather than restarts.

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?

One front-loaded paragraph with the core action first, then the two modes, then the progress path. It is dense and slightly packed with parenthetical limits, but almost every clause carries decision-relevant information.

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 explain how to observe results via bulk_import_status and the 10-pages-at-a-time progress model. The one gap is that it never states what start_bulk_import itself returns (presumably the batchId needed for follow-up calls), which the agent must infer from the 'call again with the same batchId' phrasing.

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 adds real semantics beyond the schema: files omitted means a drop-page link is returned, batchId reuses an earlier import, and the 5-per-call/50-per-batch limits govern when to call again rather than what a single array means.

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 states a specific verb and resource ('Convert many PDFs at once ... each into its own document, in the background') and scopes it to batches, which cleanly separates it from single-document siblings like import_document or start_import.

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?

It gives explicit branch conditions: send files for direct upload, send none to get the drop-page link, and reuse batchId to extend an existing batch. It also routes progress checks to bulk_import_status, but never explicitly contrasts itself with the similarly named start_import sibling, leaving that inference to the agent.

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