Skip to main content
Glama

merge_pdfs

Merge multiple PDFs into a single PDF. Returns a downloadable URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdfsYesBase64-encoded PDF files (2 to 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It only states the output ('downloadable URL') and does not mention safety, whether original files are modified, order of merging, limitations, or error handling. This is minimal 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 a single concise sentence that front-loads the action and outcome. Every word earns its place, with no repetitive or extraneous content.

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?

Given the tool's simplicity (one parameter, no output schema), the description covers the basic purpose and result. However, it omits important contextual details such as how the merge order is determined, any file size limits beyond the stated range, and whether any side effects occur. This is sufficient for a basic tool but leaves some gaps.

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?

The input schema fully describes the single parameter 'pdfs' as 'Base64-encoded PDF files (2 to 50),' which is clear and complete. The description itself adds no additional parameter-level meaning beyond the schema, so the baseline score 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?

The description clearly states the tool merges multiple PDFs into a single PDF and returns a downloadable URL, which is a specific action and outcome. This unambiguously distinguishes it from sibling tools like watermark_pdf or generate_pdf.

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?

The description implies usage for merging PDFs but does not explicitly state when to use it over alternatives or mention any exclusion criteria. There is no guidance such as 'use watermark_pdf for watermarks,' so the usage context is only implicit.

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