Skip to main content
Glama

Simple Document Processing MCP Server

text_splitter

Split large text files into smaller segments using line count or specified delimiter for efficient processing and organization within the Simple Document Processing MCP Server.

Instructions

Split text file by specified delimiter or line count

Input Schema

NameRequiredDescriptionDefault
inputPathYesPath to the input text file
outputDirYesDirectory where split files should be saved
splitByYesSplit method: by line count or delimiter
valueYesLine count (number) or delimiter string

Input Schema (JSON Schema)

{ "properties": { "inputPath": { "description": "Path to the input text file", "type": "string" }, "outputDir": { "description": "Directory where split files should be saved", "type": "string" }, "splitBy": { "description": "Split method: by line count or delimiter", "enum": [ "lines", "delimiter" ], "type": "string" }, "value": { "description": "Line count (number) or delimiter string", "type": "string" } }, "required": [ "inputPath", "outputDir", "splitBy", "value" ], "type": "object" }

You must be authenticated.

Other Tools from Simple Document Processing MCP Server

Related Tools

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/cablate/mcp-doc-forge'

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