Skip to main content
Glama
pdf4me
by pdf4me

split_pdf

Split a PDF by specific pages, sequences, or recurring intervals. Use action options to extract custom page ranges or divide documents into separate files.

Instructions

Split a PDF via PDF4me SplitPDF (/api/v2/SplitPdf). split_action supports RecurringSplitAfterPage, SplitAfterPage, SplitSequence, SplitRanges. Provide split_action_number for first two, split_sequence for SplitSequence, split_ranges for SplitRanges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNo
file_namingNoNameAsPerOrder
split_actionYes
split_rangesNo
pdf_file_pathYes
split_sequenceNo
request_doc_nameNo
split_action_numberNo
Behavior2/5

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

No annotations exist, so the description must disclose behavioral traits. It fails to mention output behavior, file creation, authorization, or side effects. It only states the operation and parameter mapping, which is insufficient for a mutation tool.

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 with no filler, immediately states purpose and then enumerates the action-specific parameters. Efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations or output schema and 8 parameters, this description is too sparse. It omits what the tool returns, how output files are named, and any prerequisites, and it ignores sibling tool differentiation.

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 schema provides no descriptions (0% coverage). The description explains that split_action_number is needed for the first two actions, split_sequence for SplitSequence, and split_ranges for SplitRanges, adding essential semantics. However, it leaves output_dir, file_naming, and request_doc_name entirely undefined, so it only partially compensates.

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 clearly states 'Split a PDF via PDF4me SplitPDF' and enumerates the specific split modes, establishing it as a PDF splitting tool. It does not explicitly distinguish it from sibling tools like split_pdf_by_text or split_pdf_by_barcode, but the API reference adds specificity.

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?

No guidance is provided for when to choose this tool over alternatives such as split_pdf_by_text or extract_pages_from_pdf. It does give clear instructions for parameter selection based on split_action, but that is operational rather than contextual.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pdf4me/pdf4me-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server