Skip to main content
Glama

Render PDF asynchronously

render_async

Queue one PDF render and return immediately with { jobId, status: 'queued' } instead of waiting for the document. Choose this over render_pdf when blocking is not acceptable — a heavy template, a large data set, or a turn where you have other work to do — and poll get_job with the returned jobId until status is 'completed' (the finished render, including its download URL, arrives on the job) or 'failed'. Choose render_pdf when a single document is small enough that waiting a few seconds is fine and you want the URL in one call, and render_batch when you have many documents to make at once. Same template, data and page options as render_pdf, and the same one render from the monthly quota — the quota is checked when the job is accepted, so an over-quota call fails here with 402 rather than silently queueing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesData used to populate the template.
nameNoYour own label for this document. Echoed back on the job result and stored on the render, so list_renders can be grepped by it later.
pdf_aNoConvert the output to a PDF/A archival conformance level.
formatNoPaper size. Defaults to a4.
marginNoCSS lengths, e.g. { top: '20mm', bottom: '20mm' }.
metadataNoPDF document properties written into the file's metadata dictionary.
templateYesTemplate slug (e.g. 'invoice') or template UUID. Same values render_pdf accepts.
watermarkNoDraws your own diagonal watermark over every page. Unrelated to the free-plan Kamy watermark, which is applied regardless — see get_account.watermarkPolicy.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations are minimal (readOnlyHint=false, destructiveHint=false, openWorldHint=false). The description adds substantial behavioral context: non-blocking return, need to poll get_job, quota checked at job acceptance, 402 error on over-quota, and that the job result contains the finished render. This far exceeds what annotations alone provide, with no contradictions.

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 a single paragraph but is densely informative and front-loaded with the core behavior. Every sentence provides essential information: return format, when to use alternatives, polling, quota, and parameter equivalence. There is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (async, polling, quota, multiple alternatives), the description is remarkably complete. It explains the return value, polling mechanism, quota behavior, and even mentions that the finished render arrives on the job result. No output schema exists, but the description adequately covers what the agent needs to know.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by stating that parameters are the same as render_pdf, explaining the 'name' field is echoed back, and clarifying the watermark behavior relative to the free-plan watermark. This extra context justifies a 4.

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 tool's core function: 'Queue one PDF render and return immediately with { jobId, status: "queued" } instead of waiting for the document.' It specifies the verb (queue), resource (PDF render), and asynchronous behavior. It also distinguishes itself from sibling tools like render_pdf and render_batch, making the purpose unambiguous.

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 guidance on when to use this tool versus alternatives: 'Choose this over render_pdf when blocking is not acceptable... and poll get_job... Choose render_pdf when... and render_batch when...' It also addresses quota implications and failure modes, leaving no ambiguity about appropriate usage.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with detailed descriptions that differentiate similar tools (e.g., render_pdf vs render_async vs render_batch, create_signature_request vs create_envelope). No two tools overlap in a way that would cause confusion.

Naming Consistency5/5

All tool names follow a consistent lower_snake_case verb_noun pattern (e.g., attest_artifact, convert_document, list_renders). No mixing of conventions or ambiguous verb choices.

Tool Count4/5

47 tools is high but reflects the broad scope of the platform (document generation, signing, auditing, scheduling, webhooks, verification). Some informational tools could be merged, but the count is still reasonable for the domain.

Completeness3/5

The tool set covers the core document lifecycle well but has notable gaps: no tool to delete renders, no tool to void/cancel signature requests, and no CRUD for templates (only list and schema). The inability to pause schedules via MCP is also a gap.

Resources