Skip to main content
Glama

Lilia Editor

Start a file import

start_import

Import a file (.tex, an Overleaf project .zip, .docx, .md, .lml, a .pdf, or a scanned page as .jpg or .png) the author has, without it passing through this conversation: returns a link to Lilia's drop page. Give the author the link; they drop the file there (signed in to Lilia). Then call import_status with the importId to get the new document. The link works for 30 minutes. A PDF or an image uses the author's plan's monthly PDF pages (an image counts as one). When you have the file yourself, import_document does it.

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_import"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover the generic safety flags; the description adds the substantive behavior: the call returns a drop-page link rather than the file, the link expires after 30 minutes, the author must be signed in to Lilia, and PDF/image imports consume the plan's monthly PDF pages (an image counts as one). Those are exactly the operational facts an agent cannot infer from the annotations.

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 dense paragraph, but it is front-loaded with the purpose and format list before the workflow and cost details. Every sentence carries information; the only mild cost is that the expiry and quota facts sit at the end rather than being visually separated.

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 zero-parameter tool with no output schema, the description covers the return value (a link), its lifetime, the auth requirement, the quota impact, and the next step. The one loose end is how the agent obtains the importId to pass to import_status — presumably from the result, but unstated.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly adds no parameter noise, though it does reference the importId that import_status later consumes without stating where that value comes from.

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 (import) and resource (a file the author has), enumerates the supported formats (.tex, .zip, .docx, .md, .lml, .pdf, .jpg, .png), and names the key mechanism — the file never passes through the conversation, a drop-page link is returned instead. It also explicitly contrasts with import_document for the case where the agent already holds the file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use this when the author has the file and you don't, use import_document when you have the file yourself. It also prescribes the follow-up step (call import_status with the importId) and the author-facing instruction (give them the link, they must be signed in to Lilia).

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