Skip to main content
Glama

pictify_render_pdf

Generate PDF documents from templates with variable data for invoices, certificates, receipts, contracts, and reports. Programmatically create professional documents by substituting template variables with your data.

Instructions

Generate a single-page PDF from a saved template with variable substitutions. Common use cases: invoices, certificates, receipts, contracts, reports, event tickets, shipping labels, and any document that needs to be generated programmatically. WORKFLOW: Call pictify_get_template_variables first to discover available variables and their types, then call this tool with the appropriate variable values. Supports standard page sizes (A4, Letter, Legal, etc.) — use pictify_list_pdf_presets to see all options. Returns the hosted PDF URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateIdYesThe template UID to render as a PDF. Use pictify_list_templates to find available templates.
variablesNoTemplate variables as key-value pairs (e.g., { title: 'Invoice #001', amount: '$1,000', date: '2024-03-09' }). Use pictify_get_template_variables to discover available variable names and types.
presetNoPDF page size preset (e.g., 'A4', 'Letter', 'Legal'). Use pictify_list_pdf_presets to see all available presets with their dimensions. If not specified, uses the template's default dimensions.
titleNoPDF document title metadata — appears in the browser tab when the PDF is opened
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: the tool generates PDFs (mutating/creating operation), returns a hosted PDF URL (output format), supports standard page sizes, and works with templates. However, it doesn't mention potential side effects like rate limits, authentication requirements, or whether the PDF is permanently hosted vs temporary.

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 efficiently structured: first sentence states core purpose, second lists common use cases, third provides workflow guidance, fourth mentions page size support with sibling reference, and fifth specifies return value. Every sentence adds value with zero waste, and it's appropriately sized for a 4-parameter tool.

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 tool with 4 parameters, 100% schema coverage, but no annotations or output schema, the description provides good context: purpose, workflow, sibling references, and return format. It could be more complete by addressing authentication needs or error conditions, but covers the essential usage context well given the schema support.

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 schema already documents all 4 parameters thoroughly. The description adds minimal additional parameter semantics beyond what's in the schema (e.g., mentioning 'variable substitutions' relates to the 'variables' parameter). Baseline 3 is appropriate when schema does the heavy lifting.

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 clearly states the specific action ('Generate a single-page PDF from a saved template with variable substitutions') and distinguishes it from sibling tools like 'pictify_render_multi_page_pdf' (multi-page) and 'pictify_render_template' (likely renders to other formats). It identifies the resource (template) and transformation (PDF generation with variable substitution).

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?

The description provides explicit workflow guidance: 'Call pictify_get_template_variables first to discover available variables and their types, then call this tool with the appropriate variable values.' It also references 'pictify_list_pdf_presets' for preset options and distinguishes from batch rendering (sibling 'pictify_batch_render'). This gives clear when-to-use and prerequisite information.

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

Install Server

Other Tools

Latest Blog Posts

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/pictify-io/mcp'

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