# Iteration Layer

Composable content processing APIs for document extraction, image transformation, programmatic image generation, document generation, and sheet generation.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add iterationlayer/iterationlayer

# Browse available tools
npx -y @smithery/cli@latest tool list iterationlayer/iterationlayer

# Get full schema for a tool
npx -y @smithery/cli@latest tool get iterationlayer/iterationlayer convert_document_to_markdown

# Call a tool
npx -y @smithery/cli@latest tool call iterationlayer/iterationlayer convert_document_to_markdown '{}'
```

## Direct MCP Connection

Endpoint: `https://iterationlayer--iterationlayer.run.tools`

## Tools (6)

- `convert_document_to_markdown` — Convert a document or image to clean markdown. Returns name, mime_type, markdown, and description (images only). Suppor…
- `extract_document` — Extract structured data from documents using AI. Define a schema with typed fields (text, number, date, boolean, enum, …
- `transform_image` — Transform and manipulate images with a pipeline of up to 30 sequential operations. Operations: resize, crop, extend, tr…
- `generate_image` — Generate images from layer compositions. Layer types: solid-color, gradient, text (with Markdown bold/italic), image, q…
- `generate_document` — Generate PDF, DOCX, PPTX, or EPUB documents from a structured document definition. Content blocks: paragraph (with rich…
- `generate_sheet` — Generate XLSX, CSV, or Markdown spreadsheets from structured tabular data. Define columns and rows with optional cell f…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get iterationlayer/iterationlayer <tool-name>
```

## Prompts (88)

- `compress_image_for_email` (file_url, width, height, max_file_size_in_bytes) — Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.
- `compress_image_to_target_size` (file_url, max_file_size_in_bytes) — Compress an image to fit within a specific file size in bytes using quality-first compression.
- `convert_contract_to_markdown` (file_url) — Convert a contract PDF to clean markdown for clause extraction or LLM analysis.
- `convert_document_for_knowledge_base` (file_url) — Convert external documents — specs, contracts, reports — to markdown for knowledge base ingestion.
- `convert_document_for_rag_ingestion` (file_url) — Convert a document to clean markdown suitable for chunking and embedding in a RAG pipeline.
- `convert_image_format` (file_url, output_format, quality) — Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.
- `convert_invoice_to_markdown` (file_url) — Convert a PDF invoice to clean markdown for LLM processing or document pipelines.
- `convert_resume_to_markdown` (file_url) — Convert a resume PDF to clean markdown for LLM parsing or candidate pipelines.
- `document_to_markdown_pipeline` (file_url) — Convert PDF, DOCX, HTML, or image documents to clean, structured Markdown.
- `extract_academic_paper_metadata` (file_url) — Extract title, authors, abstract, and citation info from academic papers.
- `extract_article_text` (file_url) — Extract clean article content — title, author, date, and body text — from PDFs, Word docs, and web pages.
- `extract_carrier_invoices_to_spreadsheet` (file_url_1, file_url_2, file_url_3) — Extract line-level charges from multiple carrier invoices, then generate an XLSX freight cost tracker in a single pipel…
- `extract_contract_clause_data` (file_url) — Extract parties, dates, and clauses from a contract into structured JSON for legal review workflows.
- `extract_contracts_to_register` (file_url_1, file_url_2, file_url_3) — Extract key terms from multiple signed contracts and build a structured XLSX contract register tracking parties, dates,…
- `extract_customs_declaration` (commercial_invoice_url, packing_list_url, bill_of_lading_url) — Merge a commercial invoice, packing list, and bill of lading into a unified customs declaration.
- `extract_customs_declarations_to_spreadsheet` (file_url_1, file_url_2, file_url_3) — Extract HS codes, declared values, and duty amounts from customs declaration documents, then generate an XLSX import du…
- `extract_invoice_data` (file_url) — Extract vendor name, line items, totals, and dates from invoice documents.
- `extract_invoices_to_spreadsheet` (file_url_1, file_url_2, file_url_3) — Extract structured data from multiple invoice PDFs in one call, then pipe the results directly into an XLSX accounts pa…
- `extract_medical_record` (file_url) — Extract patient details, diagnoses, and medications from a medical record into structured JSON for healthcare workflows.
- `extract_multi_invoice_data` (file_url_1, file_url_2) — Extract structured data from multiple invoice files in a single API call using an array schema.
- `extract_product_catalog_entry` (file_url) — Extract product name, SKU, price, and specifications from a catalog document into structured JSON for e-commerce workfl…
- `extract_property_appraisal` (file_url) — Extract appraised value, property details, and comparable sales from a property appraisal report into structured JSON.
- `extract_purchase_order_and_generate_confirmation` (file_url) — Extract line items and delivery details from a customer purchase order PDF, then generate a formatted order confirmatio…
- `extract_real_estate_listing` (file_url) — Extract property address, price, room count, and features from a listing document into structured JSON for MLS and prop…
- `extract_receipt_data` (file_url) — Extract merchant, date, line items, tax, and total from receipts.
- `extract_receipts_to_expense_report` (file_url_1, file_url_2, file_url_3) — Extract merchant, date, amount, and category from receipt photos and PDFs in one call, then generate an XLSX expense re…
- `extract_rental_application` (file_url) — Extract applicant details, employment history, income, and references from a rental application form into structured JS…
- `extract_rental_applications_to_spreadsheet` (file_url_1, file_url_2, file_url_3) — Extract applicant details from rental application PDFs and generate a side-by-side XLSX for comparing income, employmen…
- `extract_resume_data` (file_url) — Extract candidate name, contact details, work history, and skills from resumes.
- `extract_supplier_catalog_to_spreadsheet` (file_url) — Extract every product from a supplier catalog PDF — SKUs, names, prices, MOQs — and generate a ready-to-import XLSX in …
- `generate_aplus_content_banner` (dark_color, lighter_color, cover_image, series_name, book_title, author_name, genre) — Generate an Amazon A+ Content banner image for book marketing with cover art, title, and branding.
- `generate_billing_statement` (customer_name, company_name) — Generate an XLSX billing statement with a merged company header, subscription line items, overages, credits, and subtot…
- `generate_book_cover_spreads` (page_count, cover_image, isbn) — Generate print-ready book cover spreads with back cover, spine, and front cover in a single image.
- `generate_certificate_image` (recipient_name, course_title, completion_date) — Generate a professional certificate image with recipient name, course title, and completion date for digital sharing, s…
- `generate_docx_contract` (client_name, provider_name) — Generate an editable DOCX service agreement with parties, terms, and payment schedule.
- `generate_email_banner` (brand_colors, logo_url, campaign_headline, supporting_text) — Generate a personalized email banner image with text, logo, and brand colors.
- `generate_employee_offer_letter` (candidate_name, company_name) — Generate a professional offer letter PDF with role, compensation, start date, and company details.
- `generate_employee_report` — Generate an XLSX employee report with departments, salaries, hire dates, and currency formatting.

---
*Response truncated. Use `npx -y @smithery/cli@latest` for complete data.*
