pdf_merge
Merge multiple PDF files (in order) into one PDF. Returns base64 of the merged PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | PDF file contents as base64, in merge order (2+ files) |
Merge multiple PDF files (in order) into one PDF. Returns base64 of the merged PDF.
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | PDF file contents as base64, in merge order (2+ files) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does disclose two valuable behaviors: page order follows input order, and the result is returned as base64 rather than written to storage. It says nothing about size limits, encrypted/corrupt input handling, or failure behavior, which is a meaningful gap for a file-processing tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero waste, with the core operation stated first and the return contract second. Nothing to trim.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool, the description covers the operation, ordering, minimum input count, and the return shape (base64), so no output schema is needed. It is slightly incomplete on error/edge-case behavior, but an agent has enough to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single parameter already says "PDF file contents as base64, in merge order (2+ files)". The description's "in order" merely restates that, adding no syntax, sizing, or format detail beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource ("Merge multiple PDF files into one PDF") with two useful qualifiers: order is preserved and the output is returned as base64. It is clearly distinct from siblings like pdf_split or pdf_rotate, but it never names or contrasts a sibling explicitly, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the operation itself (combine 2+ PDFs into one), and "in order" hints at the merge-order contract. But there is no guidance on when to prefer this over pdf_split or pdf_text, no preconditions (e.g. all inputs must be valid, unencrypted PDFs), and no mention of limits.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.