tooldash-mcp
v1.0.2Offline PDF and text tools: merge, extract pages, inspect, clean text.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pdf_info Inspect a PDF
Report the page count, per-page dimensions and document metadata of a local PDF. Read-only: the file is never modified. Call this before merging or extracting so page numbers are known to be valid.
| Parameter | Type | Description |
|---|---|---|
path * | string | The PDF to inspect. Absolute, or relative to the client's working directory. |
merge_pdfs Merge PDFs
Combine two or more local PDFs into a single file, in the order given. Runs entirely on this machine with pdf-lib — nothing is uploaded and no URL is fetched. Refuses to overwrite an existing output unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
inputPaths * | array | The PDFs to merge, in the order they should appear in the result. |
outputPath * | string | Where to write the merged PDF. Absolute, or relative to the client's working directory. |
overwrite | boolean | Replace outputPath if a file is already there. |
extract_pdf_pages Extract PDF pages
Write a selection of pages from a local PDF into a new file, leaving the original untouched. Pages are 1-based and may be given as a list and ranges, e.g. "1-3,7,10-12". Order is preserved, so "3,1" produces a two-page file in that order.
| Parameter | Type | Description |
|---|---|---|
inputPath * | string | The PDF to take pages from. Absolute, or relative to the client's working directory. |
outputPath * | string | Where to write the extracted pages. Absolute, or relative to the client's working directory. |
pages * | string | 1-based page selection, e.g. "1-3,7,10-12". Ranges may descend ("5-1"). |
overwrite | boolean | Replace outputPath if a file is already there. |
clean_text Clean and normalize text
Normalize messy text: collapse repeated spaces, strip trailing whitespace and invisible characters, unify line endings, and optionally collapse blank lines, convert smart punctuation to ASCII, or remove URLs. Runs entirely offline — nothing is uploaded and no network call is made.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to clean. |
collapseBlankLines | boolean | Collapse runs of two or more blank lines into a single blank line. |
normalizeQuotes | boolean | Replace curly quotes, en/em dashes and ellipsis characters with their ASCII equivalents. |
removeUrls | boolean | Strip every http/https URL from the text. Note: this removes ALL URLs — the server is offline and cannot tell a working link from a dead one. |