Skip to main content
Glama

Re:port Flow MCP

npm version License: MIT

正式な表示名: Re:port Flow MCP。パッケージおよび実装識別子: reportflow-mcp。レガシー検索エイリアス: ReportFlow MCP Server および ReportFlow。

概要

あなたの Re:port Flow テンプレートをPDFレポートに変換するMCP(Model Context Protocol)サーバーです。請求書、契約書、明細書など、デザインしたあらゆるものを、Claudeやその他のMCP互換AIエージェントから直接生成できます。

Related MCP server: PDF Tools AI MCP

機能

  • "Acme Corpに合計$300の請求書を作成して" のような自然言語のリクエストからPDFを生成

  • Re:port Flowのデザインとそのパラメータスキーマを、MCP リソースとしてAIに直接公開

  • 多数のPDFを一括生成し、単一のZIPとしてダウンロード

  • ユーザーが現在いるワークスペースフォルダに出力を保存(Claude Desktop / Claude Code / Cursor / VS Code すべて対応)

セットアップ

Re:port Flow MCP は2つの方法で動作します。お使いのクライアントに合わせて選択してください。

リモートサーバー(claude.ai / Webクライアント)— Streamable HTTP

Re:port Flow をホストされたエンドポイントに向けたカスタムコネクタとして追加します。

https://mcp.re-port-flow.com/mcp

Claude(claude.ai)で 設定 → コネクタ → カスタムコネクタを追加 に移動し、 上記のURLを貼り付けます。認証はOAuth経由でアプリ内で処理されます( 認証 を参照)。ローカルにインストールするものはありません。

ローカルサーバー(Claude Desktop / Claude Code / Cursor)— stdio via npx

設定ファイル(.mcp.json、claude_desktop_config.json、~/.cursor/mcp.json など)に以下を追加します:

{
  "mcpServers": {
    "reportflow": {
      "command": "npx",
      "args": ["-y", "reportflow-mcp"]
    }
  }
}

設定は以上です。環境変数もAPIキーも、管理するシークレットもありません。

VS Code(MCP対応ビルド)

.vscode/mcp.json にも同じJSONを配置します。

要件

  • リモート: カスタムHTTPコネクタをサポートするMCPクライアント(例:claude.ai)。ローカルインストール不要。

  • ローカル(stdio): Node.js 22以上(npxが自動取得)と、初回ログイン時に利用可能なブラウザが必要です。

  • Re:port Flow アカウント(どちらの場合も必要)。

対応プロトコルリビジョン

両方のトランスポート(stdio / Streamable HTTP)は、単一のエンドポイントから2世代のMCPプロトコルを提供します。

  • 2026-07-28(現行)— ステートレスなリクエスト単位のプロトコル。最新のクライアントは server/discover で検出します。セッションヘッダーは不要で、リクエストはプロトコルバージョンを _meta に含めます。

  • 2025年世代のリビジョン(2025-11-25、2025-06-18、2025-03-26、2024-11-05、2024-10-07)— 従来の initialize ハンドシェイク。既存クライアント(Claude Desktop、claude.aiカスタムコネクタ、Cursor、ChatGPT、n8nなど)との後方互換性のために維持されています。

バージョン選択は両トランスポートで自動的に行われます。最新クライアントは server/discover でプローブし、レガシークライアントは initialize を送信し続けます。どちら側でも設定は不要で、既存の接続はそのまま動作し続けます。

認証

リモート(claude.ai)

コネクタを追加すると、ClaudeがOAuthフローを実行してくれます: サインイン → ワークスペースを選択 → 同意。トークンはクライアント側で保持されるため、ローカルのキーチェーンやブラウザの操作は不要です。

ローカル(stdio)

MCPクライアントを再読み込みした後、AIに次のように依頼します:

Re:port Flow に認証してください

ブラウザウィンドウが開きます。サインイン → ワークスペースを選択 → 同意 で完了です。トークンはOSのキーチェーン(macOSキーチェーン / Windows Credential Manager / Linux libsecret)に保存され、chmod-0600 のファイルへのフォールバックもあり、自動的に更新されます。

使用例

以下の各例はそのまま貼り付けられるプロンプトです。AIが適切なツールを選択します。

1. 単一PDFの生成(一覧 → スキーマ → 生成)

請求書テンプレートを使用して、Acme Corp 宛ての合計$330のPDFを作成してください。

AIは list_templates でデザインを一覧表示し、get_design_parameters でパラメータスキーマを取得し、値を入力して generate_pdf_sync を呼び出します。

  • リモート: ダウンロードURL(fileUrl)を返します。

  • ローカル: ファイルを保存し、その絶対パスも返します。

2. 複数PDFの一括生成

明細書テンプレートから、顧客ごとに1つのPDFを生成してください (Acme $100、Globex $250、Initech $80)。まとめて渡してください。

  • ローカル(stdio): generate_pdfs_sync がワークスペースに単一のZIPを書き込みます。

  • リモート: generate_pdfs_async がバッチを実行し、リクエストIDとダウンロードURLを返します。

3. 非同期生成後にダウンロード(ローカル)

契約書PDFをバックグラウンドで生成し、準備ができたらダウンロードしてください。

AIは generate_pdf_async を呼び出し(即座に requestId を返します)、その後 download_file で完成したPDFを保存します。バッチの場合は generate_pdfs_async → download_zip です。これらのダウンロードツールはstdio専用です。リモートサーバーでは、同期/非同期ツールがすでに fileUrl を返します。

ヒント — 自然言語パラメータ: Sampling対応クライアントでは、 "A社宛ての$1,000の請求書のパラメータをドラフトして" と依頼できます。 AIは生成前に suggest_params を呼び出して、 その要点を有効な params オブジェクトに変換します。

4. ゼロから始める(ギャラリー → コピー → 生成)

テンプレートがまだありません — Acme Corp の請求書PDFを作成してください。

list_templates が空の場合、AIは search_gallery_templates で公開テンプレートギャラリーを検索し、候補を表示して、copy_gallery_template で選択したテンプレートをワークスペースにコピーし、通常のフロー(get_design_parameters → generate_pdf_sync)を続行します。コピー先は常にOAuth同意画面で選択したワークスペースになります。AIが他のワークスペースを対象にすることはできません。

スラッシュコマンド

Command

目的

/generate_pdf

単一PDFを生成するためのステップバイステップの手順

/generate_pdfs

バッチPDF生成の手順

/reportflow_help

機能のクイックツアー

ファイルの保存先(ローカルモード)

出力場所は次の順序で決定されます:

  1. ユーザーからの明示的な指示(例:"デスクトップに保存して")

  2. 現在開いているワークスペースのルート(Claude Code / Cursor / VS Code)

  3. フォールバックとしてOSの一時ディレクトリ

リファレンス

ツール(AIが呼び出し)

ツール

目的

authenticate

初回 / 再認証

list_templates

利用可能なデザインを一覧表示

get_design_parameters

デザインのパラメータスキーマを取得

generate_pdf_sync / _async

PDFを1つ生成(同期はパスを返し、非同期はリクエストIDを返す)

generate_pdfs_sync / _async

複数のPDFを生成(ZIPを返す)

download_file / download_zip

非同期ツールによって生成された成果物をダウンロード

suggest_params

自然言語の概要をMCPサンプリング経由でparams JSONに変換(サンプリング対応クライアントが必要)

search / fetch

ChatGPTコネクタ規約ツール(単一の文字列引数)、クローズドワールド(openWorldHint: false)— これらは自分のワークスペースの内部テンプレートカタログのみを読み取り、Webにはアクセスしません。searchはテンプレートを名前で解決し、fetchはIDでテンプレートのパラメータスキーマを返します。list_templates / get_design_parametersの薄いラッパーであり、ChatGPT(Developer ModeなしのPlus/Proを含む)がテンプレートを発見・検査できるようにします。

search_gallery_templates

キーワード/カテゴリで公開テンプレートギャラリーを検索(認証不要)。ワークスペースにまだない候補テンプレートを返します — コピーされるまで、そのslugはPDF生成に使用できません。

get_gallery_template

slugで公開ギャラリーテンプレート1件の完全な詳細を取得(認証不要)

copy_gallery_template

書き込みツール。 ギャラリーテンプレートを承認済みのワークスペースにコピーします(ターゲットのワークスペースはアクセストークンによって固定されており、引数として渡すことはできません)。get_design_parameters / generate_pdf_syncで使用できるdesignId + versionを返します。呼び出しごとに新しいデザインを作成します — 以前のコピーを再利用することはありません。

リソース(AIコンテキストとして添付可能)

URI

内容

reportflow://designs

利用可能なデザインの一覧

reportflow://designs/{designId}/parameters

1つのデザインのパラメータスキーマ

reportflow://errors

Content Service からのエラーメッセージのカタログ

reportflow://server-info

サーバー機能の概要

プロンプト(スラッシュコマンドレシピカード)

/generate_pdf, /generate_pdfs, /reportflow_help — 引数を渡すと、AIが準備されたワークフローに従います。

トラブルシューティング

症状

修正方法

re-authentication required を含むエラー

AIに次のように頼みます:"Re:port Flow で再認証してください"

npx がパッケージを見つけられない

npm cache clean --force を実行してから再試行

Linuxでキーチェーンが利用できない

$XDG_STATE_HOME/reportflow-mcp/ の下のchmod-0600ファイルに自動的にフォールバックします

SSH / リモートシェル経由でブラウザを開けない

ローカルマシンで一度だけ認証してください;その後はキャッシュされたトークンがリモートホストで機能します

プライバシー

Re:port Flow MCP はシンクライアントです:お客様のリクエストを自分自身の Re:port Flow アカウントに転送し、生成された PDF を返します。お客様のデータを第三者に販売または共有することはありません。 認証トークンはローカルに保存され(OSキーチェーン、または chmod-0600 ファイルへのフォールバック)、Re:port Flow 自身のサービスにのみ送信されます — OAuthログイン中、および認証済みAPI呼び出しのたびに Bearer 資格情報として(テンプレートの一覧表示、PDFの生成またはダウンロード)。 第三者と共有されることは決してありません。

完全なプライバシーポリシー(収集される情報、保持期間、取り扱い方法)については、lp.re-port-flow.com を参照してください。

セキュリティ

ホスト型エンドポイントは Host ヘッダーを検証し(DNSリバインディング保護)、構造的に無効な Origin ヘッダーを 403 Forbidden で拒否します。これは MCP Streamable HTTP 仕様のセキュリティ要件に従っています。認証はBearerトークンのみです — cookieはなく、CORSが資格情報を許可することもありません。完全なポリシーとその脅威モデルは docs/security.md に文書化されています(日本語)。

サポート

ヘルプが必要ですか、バグを見つけましたか、それともディレクトリレビューの質問がありますか?

ライセンス

MIT — LICENSE を参照してください。

リンク

Available Tools

10 tools
authenticateAInspect

ReportFlow への OAuth2 認証を行います。ブラウザが起動し、ログイン・ワークスペース選択・consent を経てトークンを keychain (または XDG file) に保存します。他のツールが認証エラーを返したら、まずこのツールを呼んでください。force=true で既存トークンを破棄して再認証します。

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNo既存トークンを破棄して再認証する場合 true

TDQS

A4.7/5.0
Behavior5/5

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

Describes the full authentication flow (browser launch, login, workspace selection, consent, token storage) and aligns with annotations (destructiveHint=false, openWorldHint=true). Adds valuable behavioral context beyond annotations.

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 concise sentences front-loading the main action, with no wasted words. Efficiently structured.

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?

For a simple one-parameter tool with no output schema, the description fully covers the authentication process, usage context, and parameter behavior. Complete and sufficient.

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%, and the description's mention of force parameter essentially paraphrases the schema's description. Minimal additional value beyond what schema provides.

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 performs OAuth2 authentication to ReportFlow, including browser launch, token storage, and distinct action from siblings which handle downloads and PDF generation.

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?

Explicitly instructs to call this tool first when other tools return authentication errors, and explains when to use force=true for re-authentication. Provides clear context for usage.

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

download_fileA
Idempotent
Inspect

generate_pdf_asyncで生成した単一PDFファイルをダウンロードします。requestIdとfileIdを指定し、ローカルファイルパスを返します。outputDir を指定するとそのディレクトリに、未指定の場合は現在の作業ディレクトリに保存します。

ParametersJSON Schema
NameRequiredDescriptionDefault
requestIdYesgenerate_pdf_asyncで返されたrequestId(UUID)
fileIdYesgenerate_pdf_asyncのfiles[].fileId
fileNameNo保存ファイル名(省略時はfileId.pdf)
outputDirNo出力先ディレクトリ (相対/絶対)。未指定時はクライアントのワークスペース (Roots) または現在の作業ディレクトリに保存。ユーザーが場所を指定した場合のみセットすること。

TDQS

A4.6/5.0
Behavior4/5

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

The description discloses that files are saved locally, returns the file path, and handles directory selection. Annotations already indicate idempotency, and the description adds context about default behavior. 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?

Two sentences, front-loaded with the action, no extraneous information. Efficient and complete.

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?

The description covers the prerequisite, parameters, output, and directory behavior. No output schema needed; the return value is explained. Complete given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value by explaining the default directory behavior (current working directory) not present in schema. All 4 parameters are well-covered.

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 downloads a single PDF file generated by generate_pdf_async, specifying the required parameters and return value. It distinguishes from the sibling download_zip.

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?

The description explains that this tool is used after generate_pdf_async and describes the optional outputDir. It does not explicitly exclude cases where download_zip might be preferred, but provides clear context.

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

download_zipA
Idempotent
Inspect

generate_pdfs_asyncで生成したZIPファイルをダウンロードします。requestIdを指定し、ローカルのZIPファイルパスを返します。outputDir を指定するとそのディレクトリに、未指定の場合は現在の作業ディレクトリに保存します。

ParametersJSON Schema
NameRequiredDescriptionDefault
requestIdYesgenerate_pdfs_asyncで返されたrequestId(UUID)
fileNameNo保存ファイル名(省略時はrequestId.zip)
outputDirNo出力先ディレクトリ (相対/絶対)。未指定時はクライアントのワークスペース (Roots) または現在の作業ディレクトリに保存。ユーザーが場所を指定した場合のみセットすること。

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already provide idempotentHint=true and non-destructive nature. The description adds that it saves to a directory and returns a local path, which is useful but not extensive. 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?

Two sentences, front-loaded with the action, no unnecessary words. Every sentence adds value.

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 simple download tool, the description covers how to use it, what to specify, and what it returns. No output schema, but the return is implied. Could mention that it overwrites existing files, but not essential.

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 coverage is 100%, but the description adds context beyond schema: it explains the behavior of outputDir (saves to current directory if unspecified). This adds value, though fileName is not mentioned.

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 downloads a ZIP file generated by generate_pdfs_async, specifies requestId, and returns a local path. This distinguishes it from siblings like download_file.

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?

The description ties the tool to a specific prior tool (generate_pdfs_async), giving clear context. However, it does not explicitly mention when not to use or list alternatives beyond that association.

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

generate_pdf_asyncAInspect

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

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

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

TDQS

A4.1/5.0
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.

generate_pdfs_asyncAInspect

複数のパラメータセットでPDFを一括非同期生成します。即座にrequestIdとfiles情報を返します。ZIPダウンロードはdownload_zipツールを使用してください。

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

ParametersJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionYesデザインバージョン番号
contentsYesPDF生成コンテンツの配列(複数ファイル)

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false (write operation) and destructiveHint=false. The description adds behavioral context: 'Immediately returns requestId and files information,' clarifying the async nature and immediate response. It does not contradict annotations.

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 concise, front-loaded with the primary function, and contains no unnecessary words. The important warning section is separate and clearly marked. Every sentence adds value.

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?

Given the tool's complexity (multiple PDFs async), the description covers key aspects: async behavior, immediate return, prerequisite steps, and referral to another tool for ZIP. It lacks detail on the response structure beyond 'requestId and files information,' but this is adequate given no output schema. Annotations and schema fill remaining gaps.

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 coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining that the 'params' field should be structured based on get_design_parameters, and it highlights the required 'fileName' and 'params' fields. This guidance is crucial for correct parameter usage.

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 purpose: 'Generates multiple PDFs asynchronously with multiple parameter sets.' It specifies the verb 'generate', the resource 'multiple PDFs', and the asynchronous mode. It also distinguishes from siblings by explicitly mentioning the download_zip tool for ZIP downloads and implying sync versions exist.

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 usage guidelines: before calling, use get_design_parameters to check required parameters, ask the user for missing values, and never generate placeholders. It also directs the user to download_zip for ZIP downloads, offering clear when-to-use versus alternative tools.

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

generate_pdfs_syncAInspect

複数のパラメータセットでPDFを一括同期生成し、ZIPファイルとして返します。生成完了後にZIPファイルのローカルパスを返します。outputDir を指定するとそのディレクトリに、未指定の場合はクライアントのワークスペース (Roots) または OS 一時ディレクトリに保存します。zipFileName で出力 ZIP のファイル名を指定可能 (デフォルト download.zip)。

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

ParametersJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionYesデザインバージョン番号
contentsYesPDF生成コンテンツの配列(複数ファイル)
outputDirNo出力先ディレクトリ (相対/絶対)。未指定時はクライアントのワークスペース (Roots) または現在の作業ディレクトリに保存。ユーザーが場所を指定した場合のみセットすること。
zipFileNameNo出力 ZIP のファイル名 (省略時は download.zip)

TDQS

A4.4/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint=false, destructiveHint=false), the description details synchronous generation, local path return, output directory logic, and shareType mapping. It also warns about not fabricating parameter values, adding behavioral context.

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 two paragraphs: first explains functionality and output, second is an important usage note. Every sentence adds value, no redundancy, key information is front-loaded.

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?

The description covers the tool's core purpose, requirements, output, and configuration options. It could mention potential limitations like file size or error handling, but for its complexity it is sufficiently complete.

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 coverage is 100%, but the description adds value by explaining shareType codes and their response mapping, default output directory behavior, and that 'params' should be obtained via get_design_parameters. This goes beyond the raw schema definitions.

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 explicitly states the tool generates multiple PDFs synchronously from parameter sets and returns a ZIP file. It distinguishes from siblings like generate_pdf_sync (single) and generate_pdfs_async (async) by specifying '一括同期生成' (batch sync generation).

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?

The description provides clear prerequisites: always call get_design_parameters first and ask the user for missing values. It warns against using placeholder values. However, it does not explicitly contrast with async tools or state when NOT to use this tool.

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

generate_pdf_syncAInspect

デザインIDとパラメータを指定してPDFを生成します。応答にダウンロード URL が含まれるため、本ツール 1 回の呼び出しで結果提示が完結します (別途ダウンロード用ツールを呼ぶ必要はありません)。

  • stdio モード (Claude Desktop / Code): ローカルに保存し絶対パスも返します。outputDir で保存先を指定できます (未指定時はクライアントのワークスペース Roots または OS 一時ディレクトリ)。

  • HTTP モード (claude.ai / n8n 等): サーバー側には保存しません。includePreview=true を指定すると inline preview 用のバイナリも併せて返します (claude.ai が PDF preview をサポートしていない現状ではデフォルト false 推奨)。

【重要】呼び出し前に必ず get_design_parameters でデザインの必要パラメータ構造を確認し、ユーザーから必要な値を聞き出すこと。プレースホルダー値・架空の値を勝手に生成しないこと。

ParametersJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionYesデザインバージョン番号
contentYesPDF生成コンテンツ
outputDirNo出力先ディレクトリ (相対/絶対)。未指定時はクライアントのワークスペース (Roots) または現在の作業ディレクトリに保存。ユーザーが場所を指定した場合のみセットすること。
includePreviewNotrue 指定時のみ EmbeddedResource (application/pdf, base64 blob) を応答に含める。claude.ai は現状 PDF resource を inline 表示しないため、通常は省略 (false) で fileUrl のみを利用するのが効率的。

TDQS

A4.8/5.0
Behavior5/5

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

Description adds significant behavioral context beyond annotations: synchronous generation, download URL in response, local save for stdio, no server save for HTTP, optional inline preview. No contradictions with annotations (readOnlyHint=false, destructiveHint=false).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with bullet points for modes and warnings. Front-loaded key info. Slightly verbose but each part adds value. Could be marginally shorter but still effective.

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?

Covers all aspects: pre-condition (check parameters), post-condition (download URL, local save), mode-specific details, parameter constraints. No output schema, but response description is sufficient. Comprehensive for a complex tool with nested object.

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 coverage is 100%, but description adds critical context: outputDir default behavior, includePreview only when needed, params must come from get_design_parameters, shareType codes mapping. Enhances understanding 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?

The description clearly states the tool generates a PDF synchronously with a download URL. It distinguishes from async siblings and download tools, and explains mode-specific behavior (stdio vs HTTP). The purpose is 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?

Explicitly instructs to call get_design_parameters first, ask user for values, and avoid placeholder/fake data. Also provides when to use includePreview and outputDir. Differentiates from async tools and download tools.

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

get_design_parametersA
Read-onlyIdempotent
Inspect

デザインテンプレートのパラメータ構造を取得します。帳票生成に必要なパラメータの型・構造を確認できます。

ParametersJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionNoバージョン番号(省略時は最新版)

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already provide readOnlyHint and idempotentHint, so the description adds context about what specific information is retrieved (types/structures). No additional behavioral traits beyond annotations.

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 concise sentences with front-loaded key information. No extraneous words.

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?

For a simple read-only tool with two parameters and comprehensive annotations, the description fully covers necessary context. No output schema needed as return is straightforward.

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 coverage is 100% with clear descriptions for both parameters. Description does not add meaning beyond what the schema provides, so baseline of 3 is appropriate.

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 retrieves parameter structure of design templates. It specifically uses verb 'get' and resource 'design template parameters', distinguishing it from sibling tools like generate_pdf_* or list_templates.

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

Usage Guidelines3/5

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

Implies usage for inspecting parameter structure before form generation, but does not explicitly state when to use or alternatives. No exclusions or when-not-to-use guidance.

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

list_templatesA
Read-onlyIdempotent
Inspect

ワークスペース内のデザイン一覧を取得します。各デザインのID・名称・最新バージョン・サムネイルURLを返します。取得したidをdesignIdとしてPDF生成ツールやget_design_parametersに使用します。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint true, indicating safe, idempotent behavior. The description adds value by specifying the exact return fields (ID, name, version, thumbnail URL) and the purpose of the output, which is not covered by annotations.

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?

Description is extremely concise: two sentences, no filler. First sentence states the core function and output, second sentence provides usage guidance. Perfectly front-loaded and efficient.

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 no parameters and no output schema, the description fully covers what the tool does, what it returns, and how to use the result. No missing information for an agent to correctly invoke and utilize the tool.

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?

Tool has zero parameters, so schema coverage is 100%. Baseline score of 4 applies as the description does not need to add parameter information.

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 retrieves a list of designs in the workspace and specifies the returned fields (ID, name, version, thumbnail URL). It also explains how to use the IDs with downstream tools, differentiating its purpose from siblings.

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?

Description explains that the obtained ID should be used as designId for PDF generation and get_design_parameters. It provides clear context for when to use the tool, though it does not explicitly list when not to use it or mention alternatives.

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

suggest_paramsA
Read-only
Inspect

自然文の要件と designId からクライアント AI(Sampling)を使って generate_pdf_sync の params JSON を組み立てます。サーバー側 API キー不要。Sampling 未対応クライアントでは利用不可です。生成された params は内容確認のうえユーザーの承認を得てから generate_pdf_sync に渡してください。

ParametersJSON Schema
NameRequiredDescriptionDefault
designIdYesデザインID(UUID形式)
versionNoバージョン番号(省略時は最新版)
descriptionYes帳票の内容を自然文で記述(例: "請求書、宛先A社、合計1万円")

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true. The description adds context about client-side AI (Sampling), no server API key needed, and the need for user approval, enhancing transparency beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph that conveys essential information efficiently, though it could be slightly more structured for easier parsing.

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?

Given no output schema, the description explains the output purpose. It covers prerequisites (Sampling), workflow (user approval), and usage context, making it fairly complete for a utility tool.

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 covers all parameters with descriptions. The description does not add significant new semantics beyond implying description is natural language, so baseline score applies.

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 assembles params JSON for generate_pdf_sync using natural language and designId via Sampling. It distinguishes from sibling tools like generate_pdf_sync and is specific about its role.

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 explicitly states it is not usable on clients without Sampling support and instructs to get user approval before passing to generate_pdf_sync, providing clear usage context.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updatesv0.1.0
    • First observedauthenticate
    • First observeddownload_file
    • First observeddownload_zip
    • First observedgenerate_pdf_async
    • First observedgenerate_pdf_sync
    • First observedgenerate_pdfs_async
    • First observedgenerate_pdfs_sync
    • First observedget_design_parameters
    • First observedlist_templates
    • First observedsuggest_params

TDQS

A4.4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clear, distinct purpose. Authentication is separate, sync vs async generators are clearly labeled, download tools are paired with async generators, and the helper tools (list_templates, get_design_parameters, suggest_params) are unique. No overlap.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case. Variations like generate_pdf_async vs generate_pdf_sync are systematic and predictable, making it easy to understand the tool's function from its name.

Tool Count5/5

10 tools is an ideal size for this domain. It covers authentication, template exploration, parameter retrieval, PDF generation (sync/async, single/batch), downloading results, and smart param suggestion—all essential without unnecessary bloat.

Completeness5/5

The tool set provides a complete workflow for generating PDFs from templates: authenticate, list templates, get parameters, generate (sync or async, single or batch), and download. The inclusion of suggest_params adds convenience. No obvious gaps for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers