Skip to main content
Glama

generate_pdf_async

Generate PDF documents asynchronously by providing a design ID and content parameters. Returns a request ID for tracking, with file download handled separately.

Instructions

デザインIDとパラメータを指定してPDFを非同期生成します。即座にrequestIdとfiles情報を返します。ファイルのダウンロードはdownload_fileツールを使用してください。

【重要】呼び出し前に必ず get_design_parameters でデザインの必要パラメータ構造を確認し、ユーザーから必要な値を聞き出すこと。ユーザーが指定していないパラメータがある場合は、本ツールを呼ぶ前にユーザーに必ず確認すること。プレースホルダー値・架空の値を勝手に生成しないこと。パラメータが一切提供されていない場合も、まずユーザーに値を尋ねること。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionYesデザインバージョン番号
contentYesPDF生成コンテンツ
Behavior3/5

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

Annotations are minimal (readOnlyHint false, etc.). Description adds that it's async and returns immediately, but lacks details on side effects, idempotency, or error behavior.

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?

Two efficient paragraphs: first states purpose, second gives critical usage guidelines. No redundancy, front-loaded with key info.

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

Completeness3/5

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

Returns requestId and files info are mentioned but not detailed. No output schema, so description could elaborate further on response format or error handling. Links to download_file and get_design_parameters partially compensates.

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 covers all parameters with detailed descriptions. Description adds crucial guidance to check parameter structure with get_design_parameters, adding value beyond schema.

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?

Description clearly states the tool asynchronously generates PDF with design ID and parameters, returns requestId and files info, and distinguishes from sibling tools like download_file and synchronous variants.

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

Usage Guidelines4/5

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

Provides explicit pre-conditions: must call get_design_parameters, ask user for missing values, avoid placeholder values. Does not mention alternative generation tools (synchronous, batch) that could be compared.

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/re-port-flow/reportflow-mcp'

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