humanpen-mcp
v1.8.0Document-level AI humanizer for .docx/.pptx: whole file, selected passages, or flagged text.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
humanize_document Humanize a document
Rewrite a .docx or .pptx so it reads as human-written and scores lower on AI detectors, keeping meaning, citations, tables and layout. Optionally pass a Turnitin/iThenticate AI report, or passages of your own (segments), to rewrite only those. If a fresh report still flags the result, run this tool again on the rewritten file with that new report - only the still-flagged passages are touched, and balanced remains the right strategy for the second pass. Saves the result next to the source and returns its path. COSTS CREDITS at 100 per 1,000 words processed (10 minimum) - say so and get agreemen…
| Parameter | Type | Description |
|---|---|---|
document_path * | string | Absolute path to the .docx or .pptx to rewrite |
instructions | string | Extra requirements for this job |
max_words | integer | Upper word bound for the rewritten document (optional; omit for no limit). Same experimental caveat and exclusivity as min_words. |
min_words | integer | Lower word bound for the rewritten document (optional; omit for no limit). Experimental - a word limit noticeably weakens AI-rate reduction, so omit unless the user requires a length. Cannot combine w… |
output_path | string | Where to write the result; defaults to beside the source |
report_path | string | Path to a Turnitin/iThenticate AI report PDF; only its flagged passages are rewritten |
segments | array | Rewrite only these passages (optional), each copied exactly from the document, with its own min_words/max_words if wanted. Alone they set the scope; with report_path, take them from read_detection_rep… |
strategy | string | Rewriting intensity; balanced is the usual first choice, aggressive rewrites more heavily |
wait_seconds | number | How long to wait before returning a job id (default 55) |
free_rehumanize Re-humanize a job's still-flagged passages for free
Continue a finished humanize job for FREE. Upload a fresh detection report for that job's result; only the passages it still flags are rewritten, at no credit cost. The server enforces strict limits: one free continuation per job, a per-day cap, the report must be of THAT job's own result (>=90% match) and show >=20% AI, and the result must still exist (kept ~7 days). If a limit is not met it returns a clear reason - relay it and stop; do not retry or silently fall back to a paid job. Pass the job_id a prior humanize_document (or check_job) returned.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The finished humanize job to continue (its job_id from humanize_document/check_job) |
report_path * | string | Absolute path to the fresh Turnitin/iThenticate report for that job's result |
instructions | string | Extra requirements for this job |
output_path | string | Where to write the result; defaults to beside the report |
segments | array | Per-passage word control for the still-flagged passages (optional), same shape and experimental caveat as humanize_document.segments |
strategy | string | Rewriting intensity (default balanced, the recommended choice for a continuation) |
wait_seconds | number | How long to wait before returning a job id (default 55) |
fix_citations Convert citation format
Rewrite a .docx's in-text citations and reference list into one target style, leaving the body text alone. Saves the result next to the source and returns its path. COSTS CREDITS at 5 per 1,000 words processed (10 minimum) - say so and get agreement first.
| Parameter | Type | Description |
|---|---|---|
document_path * | string | Absolute path to the .docx |
style * | string | Target style: apa7, mla9, harvard, chicago_author_date, chicago_notes, ieee, vancouver, gbt7714, gbt7714_author_year, ama, acs, or oscola |
instructions | string | Extra requirements for this job |
output_path | string | Where to write the result; defaults to beside the source |
wait_seconds | number | How long to wait before returning a job id (default 55) |
condense_document Condense a document
Shorten a .docx, keeping meaning, structure and citations: the whole document to max_words, or only chosen passages (segments), each to its own budget. Saves the result next to the source and returns its path. COSTS CREDITS at 20 per 1,000 words processed (10 minimum) - say so and get agreement first.
| Parameter | Type | Description |
|---|---|---|
document_path * | string | Absolute path to the .docx |
instructions | string | Extra requirements for this job |
max_words | integer | Target word count for the whole document (or use segments) |
mode | string | rewrite (default) condenses sentences in place; delete removes whole low-value sentences and keeps every other word verbatim |
output_path | string | Where to write the result; defaults to beside the source |
segments | array | Shorten only these passages, each to its own budget, instead of max_words. A paragraph is the smallest unit: each passage is widened to its whole paragraph. |
wait_seconds | number | How long to wait before returning a job id (default 55) |
translate_document Translate a document
Translate a document into another language while keeping its layout, tables, images and formulas. Takes .docx, .pdf, .pptx, .xlsx, .epub, .html and .txt. Saves the result next to the source and returns its path. COSTS CREDITS at 10 per 1,000 words processed (10 minimum) - say so and get agreement first.
| Parameter | Type | Description |
|---|---|---|
document_path * | string | Absolute path to the document |
target_lang * | string | Target language: zh, en, zh-tw, ja, ko, es, fr, pt, ru, de, pl or it |
output_path | string | Where to write the result; defaults to beside the source |
source_lang | string | Source language, or auto to detect it (the default) |
wait_seconds | number | How long to wait before returning a job id (default 55) |
read_detection_report Read an AI-detection report
Read a Turnitin or iThenticate AI Writing report PDF: returns the overall AI percentage and the flagged passages. Free - reads the file without starting a job. Pass the same report to humanize_document to rewrite only what was flagged.
| Parameter | Type | Description |
|---|---|---|
report_path * | string | Absolute path to the report PDF |
include_segments | boolean | Include the flagged passage texts, which can be long (default false) |
type | string | Which product exported it; omit to identify it from the file |
check_job Check a job
Look up a job by id, and download its result if it has finished. Use this after a tool returned before the job was done.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job id an earlier call returned |
document_path | string | The original document, so a downloaded result can be named after it |
output_path | string | Where to write the result |
list_jobs List jobs
List this account's document jobs, newest first, with their status and credits - to find a job id for check_job, cancel_job or retry_job. Free.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to return (default 20) |
offset | integer | How many to skip, for the next page |
type | string | Only jobs of this kind |
cancel_job Cancel a job
Cancel a document job that is still queued or running. Its reserved credits are returned - a cancelled job is never charged - and retry_job can run it again later. Free.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job to cancel |
retry_job Retry a job
Run a failed or cancelled document job again with the same settings, from its stored source (kept about 7 days). Pass document_path to wait and save the result there, as the other tools do. COSTS CREDITS like the original job - say so and get agreement first.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The failed or cancelled job to run again |
document_path | string | The original document, so the result is saved beside it and named after it |
output_path | string | Where to write the result |
wait_seconds | number | How long to wait before returning (default 55) |
get_credit_balance Check the credit balance
How many credits the account has. Per 1,000 words processed: humanize 100 credits, citation fixes 5, condensing 20, translation 10, with a 10-credit minimum per job. Worth checking before a large document.
start_project Start a research project
Hand a research, data analysis or writing task to HumanPen's cloud agents, with local files as its input: they scope it with the user, propose a plan, do the work, have it reviewed and deliver files. COSTS CREDITS once a plan is confirmed (charged by use; there is no price up front): show the user the plan and get their agreement before act_on_project confirm_plan, unless they set autonomy with a max_credits. Needs an API key with "Research projects" ticked.
| Parameter | Type | Description |
|---|---|---|
request * | string | What the user wants done, in their words: the goal, the deliverables, any constraints |
autonomy | object | Let it run unattended within a credit cap the user set; omit to stop for the user at every step |
files | array | Absolute paths of input files (data, drafts, papers) |
lang | string | The language to write in, e.g. en or zh |
title | string | A name for the project; one is made from the request if omitted |
get_project Look at a research project
Where a research project stands: its state (queued, working, input_required, completed, failed, cancelled, rejected), what it needs from the user, the scoping questions or the plan, the agents' last message, deliveries, credits used, and the actions allowed now. Free.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id start_project returned |
wait_for_project Wait for a research project
Wait until a research project needs the user or has finished (its state is no longer queued or working), up to wait_seconds, then say where it stands as get_project does. Free. If it is still working, call it again with the after_seq it returns.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id |
after_seq | integer | The after_seq the last call returned (start_project, message_project, act_on_project or this) |
wait_seconds | number | How long to wait (default 55, at most 240) |
act_on_project Act on a research project
Take one of the project's allowed_actions, with the ids it names: confirm_plan (spec_version; starts the paid work - only once the user agreed to the plan; it is charged by what it uses), answer (answers: question id -> answer), top_up (pause_id; max_credits raises a credit cap that ran out), one_more_round, accept_as_is, pause, resume, cancel, feedback (version, value), deliver_now (the agents read the waiting messages at once, interrupting the step they are on). COSTS CREDITS for confirm_plan, top_up, one_more_round and the scoping answers.
| Parameter | Type | Description |
|---|---|---|
action * | string | One of the allowed_actions get_project listed |
project_id * | string | The project id |
answers | object | answer: question id -> answer |
max_credits | integer | confirm_plan, top_up, one_more_round: a higher credit cap for the whole project, agreed by the user |
pause_id | string | top_up: the pause it continues |
spec_version | integer | confirm_plan: the plan version shown to the user |
text | string | feedback: what to change |
value | string | feedback: the verdict |
version | integer | feedback: the delivered version |
message_project Message a research project
Write to a project's agents, with local files if any: answer in the user's own words, add context, or after a delivery ask for changes (a new round). While they work, they read it after the step they are on (usually seconds); deliver_now hands it over at once, interrupting that step. COSTS CREDITS: the turns it starts are charged by use.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id |
text * | string | The message, in the user's words |
deliver_now | boolean | Interrupt the step the agents are on so they read it at once (urgent corrections only) |
files | array | Absolute paths of files to add with it |
download_delivery Download a research project delivery
Save a delivered version of a research project (the latest unless version is given) as a zip in a directory, and return its path. Free.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Absolute path of the directory to save the zip in |
project_id * | string | The project id |
version | integer | The delivered version; the latest by default |
rename_project Rename a research project
Give a research project a new name, the one the user chose; it shows wherever the project is listed. Free.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id |
title * | string | The new name |
list_projects List research projects
List this account's research projects, newest first, with their state and what each needs from the user - to find a project id, for instance of a project started in another conversation. Free.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to return (default 20) |
offset | integer | How many to skip, for the next page |
delete_project Delete a research project
Delete a research project for good: work under way stops, and the project with its files and deliveries is deleted; credits held for it are settled by what was used. Only when the user asked to delete this project - it cannot be undone.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id |