Skip to main content
Glama

Merge PDF

merge_pdf
Idempotent

Combine 2-20 PDF files into one PDF, in the order given. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "files": "<files>"
    },
    "name": "merge_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesThe files, each with file_url or file_base64

Output Schema

NameRequiredDescriptionDefault
pagesNo
file_nameYes
download_urlYesLink to download the result
expires_in_minutesYesThe link stops working after this time (or 3 minutes after the first download)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that files are processed on HuntPDF servers, deleted automatically, and that the download link is temporary. Those are real operational details an agent could not infer from readOnlyHint/openWorldHint alone. It does not describe the return payload, but an output schema exists to cover that.

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 short sentences, front-loaded with the core operation and limits, followed by the privacy and link-lifetime caveats. Every clause carries information; nothing is redundant.

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 single-parameter tool with full schema coverage, rich annotations, and an output schema, the description supplies the remaining pieces an agent needs: ordering semantics, count limits, server-side handling, and link expiry. No material gap remains.

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% and the single 'files' parameter is fully documented, so the schema baseline already applies. The description adds genuine meaning by stating the output preserves the input order, which the schema does not say, plus reinforcing the 2-20 element range.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (combine), resource (PDF files), and scope (2-20 files, in the order given), which makes it easy to distinguish from siblings like split_pdf or compress_pdf. It stops short of explicitly naming an alternative, so it lands just below the top mark.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no reference to alternatives such as split_pdf or extract_pdf_pages. The 2-20 file constraint implies a batching scenario but does not tell an agent when this tool is the right choice.

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.

Resources