Skip to main content
Glama
flafkus
by flafkus

download_pdf

Destructive

Compile an Overleaf project and save the resulting PDF to a specified local file or directory.

Instructions

Compile the project and copy the PDF to dest.

If dest ends with .pdf it is the file path; otherwise dest is treated as a directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destYesPath relative to OVERLEAF_OUTPUT_DIR (default: a per-user Downloads/overleaf-connect folder), ending in .pdf or naming a directory for output.pdf
projectYesProject id (24-char hex) or exact name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already signal non-read-only and destructive behavior; the description adds useful context by revealing that compilation happens as part of the operation and explaining how dest is interpreted. This goes beyond the schema and annotations without contradicting them.

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?

The description is compact and front-loaded: the first sentence states the core action, and the second sentence resolves a key ambiguity about dest. Every sentence earns its place.

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?

Given the two simple parameters, complete schema descriptions, and available annotations, the description covers the main behavior and destination semantics. It does not explicitly mention overwrite behavior, but the destructiveHint annotation already alerts the agent to that risk.

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 the parameters are already well documented. The description reinforces the dest path rule but does not add substantial semantic information beyond what the schema provides.

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 action ('Compile the project and copy the PDF to dest') and clearly identifies the resource and destination. The destination rule disambiguates file vs directory, which distinguishes it from sibling tools like compile_project or read_file.

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

Usage Guidelines3/5

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

The description implies the tool is used when a compiled PDF needs to be delivered to a destination, but it does not explicitly explain when to prefer this over compile_project or other siblings. The context is understandable but no alternative comparison is provided.

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