mcp
v1.43.0Was this document edited, did its redactions hold, is it safe for a model to read — Tamperlens API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inspect_document
Inspect a document or image for fraud and tamper signals: revisions appended after the original save, metadata that disagrees with itself, editor fingerprints, signature coverage gaps, text still readable under a redaction box, unaccepted tracked changes whose deleted text is still recoverable, hidden text, hidden spreadsheet sheets, macros, and AI-generator or editor traces in images. Returns risk signals with the raw evidence behind each one — never a verdict on authenticity. Accepts PDF; Word, Excel and PowerPoint documents (.docx, .xlsx, .pptx and macro-enabled twins); and JPEG, PNG, Web…
| Parameter | Type | Description |
|---|---|---|
issuer | string | Optional issuer slug (e.g. 'chase') to additionally compare the document against a structural baseline of genuine documents from that institution. PDFs only — ignored for Office documents and images… |
path | string | Absolute path to the document on this machine — PDF, Office document or image. Max 10 MB. Give this OR url, not both. |
policy | object | Optional. Your own risk thresholds and signal rules; the response gains a verdict of accept/review/reject computed from them. Nothing about the report changes. |
url | string | http:/https: URL to fetch the document from. The fetch runs LOCALLY, over this machine's own network (not from the Tamperlens server), and only the bytes are sent on. Only http/https is accepted; redi… |
triage_document
CHEAP PRE-FLIGHT for document intake: is this file worth ingesting, and what does it cost to open? Reads structure, metadata, signatures and presence flags (revisions appended after the original, editor fingerprints, macros, JavaScript, embedded files, signature coverage) WITHOUT the expensive per-page content walk — a fraction of the I/O of `inspect_document`. Returns the risk band, the medium-or-high signals it CAN see, and the measured cost: bytes read, bytes expanded (decompressed) and the expansion ratio, so an agent can reject a decompression-heavy or high-risk file before committing t…
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the document on this machine — PDF, Office document or image. Max 10 MB. |
check_redaction
Check whether a PDF's redactions actually removed anything. Covering text with a black box hides it from a reader and removes nothing from the file, so the words stay extractable. This reads paint order to catch a plain drawn rectangle — which carries no redaction annotation at all and is the failure behind most published redaction leaks — and separately catches redaction marks that were never applied. Use this before a document is filed or released.
| Parameter | Type | Description |
|---|---|---|
path | string | Absolute path to the PDF on this machine. Max 10 MB. Give this OR url, not both. |
url | string | http:/https: URL to fetch the PDF from. The fetch runs LOCALLY, over this machine's own network (not from the Tamperlens server), and only the bytes are sent on. Only http/https; redirects re-checked;… |
compare_documents
Compare a candidate document against the original you already hold, and answer the question a single-file check cannot: is this the same file, unchanged? Reports byte identity (the only proof), revision ancestry when the candidate contains the original as a byte prefix, or a field-by-field structural diff when both were rewritten whole. Renders nothing and compares no pixels.
| Parameter | Type | Description |
|---|---|---|
candidatePath | string | Absolute path to the document being checked. Give this OR candidateUrl, not both. |
candidateUrl | string | http:/https: URL to fetch the document being checked from. Fetched LOCALLY over this machine's network (not from the Tamperlens server); http/https only, redirects re-checked, max 10 MB on the bytes r… |
originalPath | string | Absolute path to the document you trust. Give this OR originalUrl, not both. |
originalUrl | string | http:/https: URL to fetch the trusted document from. Fetched LOCALLY over this machine's network (not from the Tamperlens server); http/https only, redirects re-checked, max 10 MB on the bytes receive… |
inspect_case
Inspect several documents of ONE case together (for example three months of bank statements, or a payslip and the statement it was paid into) and report what one file at a time cannot show: inconsistencies BETWEEN them. Each document gets the same report inspect_document returns; on top, the case reports `same-file` (the identical file sent twice), `same-base-file` (different files that keep one base file's permanent /ID or its whole set of font subset tags, which is what editing one real statement into several months leaves behind) and `shared-creation-instant` (different files created in the…
| Parameter | Type | Description |
|---|---|---|
paths | array | Absolute paths to the documents on this machine. Max 10 MB each. Together with urls: 2 to 10 documents. In the result, documents are numbered paths first, then urls, in the order given. |
urls | array | http:/https: URLs to fetch documents from. Fetched LOCALLY over this machine's network (not from the Tamperlens server); http/https only, redirects re-checked, max 10 MB each on the bytes received. Nu… |