Skip to main content
Glama

Auto-Snap MCP

directory_to_pdf

Convert all images in a directory into a single PDF document. Specify the image directory, output path, optional title, and file pattern for streamlined PDF creation.

Instructions

Convert all images in a directory to a PDF document. Args: image_dir: Directory containing images output_path: Path for the output PDF file title: Optional title for the PDF document pattern: File pattern to match (default: all files) Returns: JSON string with conversion results.

Input Schema

NameRequiredDescriptionDefault
image_dirYes
output_pathYes
patternNo*
titleNo

Input Schema (JSON Schema)

{ "properties": { "image_dir": { "title": "Image Dir", "type": "string" }, "output_path": { "title": "Output Path", "type": "string" }, "pattern": { "default": "*", "title": "Pattern", "type": "string" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Title" } }, "required": [ "image_dir", "output_path" ], "title": "directory_to_pdfArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PovedaAqui/auto-snap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server