Skip to main content
Glama
PDF Tools MCP Server

PDF Tools MCP Server

by h-ucchi

split_pdf

Split a PDF into separate single-page files by providing the input file path and an output directory.

Instructions

PDFを1ページずつのファイルに分割する

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

Input Schema

NameRequiredDescriptionDefault
input_pathYes分割するPDFファイルのパス
output_dirYes分割したファイルの出力先フォルダ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the transformation itself. It does not say whether existing files in output_dir are overwritten, what naming convention the split files get, whether the source PDF is preserved, or what directory depth is used.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the granularity detail is the most useful piece of information and it appears first. Its brevity is appropriate, though the space saved could have carried one clause of usage guidance.

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?

For a two-parameter, single-purpose tool with a fully documented schema, the description is minimally sufficient to call the tool correctly. However, with no annotations and no output schema, an agent cannot learn where the output files land or how they are named, which matters for a file-producing tool.

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% and both parameters carry Japanese descriptions ('分割するPDFファイルのパス', '分割したファイルの出力先フォルダ'), so the schema already does the work. The description adds nothing about path format or folder requirements, making the baseline 3 correct.

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 and resource ('PDFを分割する') and adds a precise granularity constraint ('1ページずつのファイルに'), which tells the agent the output unit is a single page per file. It does not differentiate itself from siblings like extract_pages, 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.

Usage Guidelines2/5

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

There is no guidance on when to choose this over extract_pages or exclude_pages, and no stated prerequisites (file existence, output_dir state). Usage is only implied by the operation name itself.

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