Skip to main content
Glama

Split PDF

split_pdf

Split a PDF into separate single-page PDF files and receive the results as one ZIP archive, supporting up to 200 pages.

Instructions

Puts every page of a PDF in its own PDF file. The result is one ZIP archive, with page-001.pdf, page-002.pdf and so on. Up to 200 pages. The file is uploaded to Conv2pdf and the call counts as one conversion.

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": {
      "input_path": "<input_path>"
    },
    "name": "split_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordNoPassword of the PDF, only if it asks for one to open. The result has no password.
input_pathYesPath of the file on this computer: absolute, or relative to the working directory of the server.
output_pathNoWhere to write the result. Optional: by default next to the input file, under a name that is not taken. An existing file is never overwritten.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the external upload to Conv2pdf, that a call consumes one conversion from quota, a hard limit of 200 pages, and the naming convention of the produced archive. These are exactly the operational facts an agent needs (cost, side effects, bounds) that openWorldHint alone does not convey. No contradiction with the declared hints.

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?

Four short sentences, each carrying distinct information: the transformation, the output format and page naming, the page limit, and the upload/quota cost. The core behavior is front-loaded and 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 three-parameter tool with no output schema, the description supplies what the schema cannot: the shape of the result (a ZIP of per-page PDFs), a size limit, the external-service dependency, and the quota cost. An agent can call this correctly and predict the outcome without further information.

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%, so input_path, output_path, and password are fully documented in the schema, including default target location and no-overwrite behavior. The description adds nothing about individual parameters, which is acceptable given the coverage but means it earns only the baseline.

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?

The description names a specific verb and resource ('Puts every page of a PDF in its own PDF file') and further specifies the output artifact as a single ZIP containing page-001.pdf, page-002.pdf, etc. This makes the operation unambiguous and distinct from neighboring tools like extract_pdf_pages or merge_pdfs, though it never explicitly names an alternative to contrast against.

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?

Usage is implied by the described transformation rather than stated as when-to-use guidance. There is no explicit statement about when to pick this over extract_pdf_pages, nor any preconditions or exclusions, so an agent must infer the choice from the operation itself. The 200-page cap and 'counts as one conversion' note give practical framing but not routing guidance.

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