humanpen-mcp

v1.8.0
io.github.humanpen/humanpen-mcp Checked 4 hours ago Published 9 days ago

Document-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…

ParameterTypeDescription
document_path *stringAbsolute path to the .docx or .pptx to rewrite
instructionsstringExtra requirements for this job
max_wordsintegerUpper word bound for the rewritten document (optional; omit for no limit). Same experimental caveat and exclusivity as min_words.
min_wordsintegerLower 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_pathstringWhere to write the result; defaults to beside the source
report_pathstringPath to a Turnitin/iThenticate AI report PDF; only its flagged passages are rewritten
segmentsarrayRewrite 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…
strategystringRewriting intensity; balanced is the usual first choice, aggressive rewrites more heavily
wait_secondsnumberHow 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.

ParameterTypeDescription
job_id *stringThe finished humanize job to continue (its job_id from humanize_document/check_job)
report_path *stringAbsolute path to the fresh Turnitin/iThenticate report for that job's result
instructionsstringExtra requirements for this job
output_pathstringWhere to write the result; defaults to beside the report
segmentsarrayPer-passage word control for the still-flagged passages (optional), same shape and experimental caveat as humanize_document.segments
strategystringRewriting intensity (default balanced, the recommended choice for a continuation)
wait_secondsnumberHow 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.

ParameterTypeDescription
document_path *stringAbsolute path to the .docx
style *stringTarget style: apa7, mla9, harvard, chicago_author_date, chicago_notes, ieee, vancouver, gbt7714, gbt7714_author_year, ama, acs, or oscola
instructionsstringExtra requirements for this job
output_pathstringWhere to write the result; defaults to beside the source
wait_secondsnumberHow 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.

ParameterTypeDescription
document_path *stringAbsolute path to the .docx
instructionsstringExtra requirements for this job
max_wordsintegerTarget word count for the whole document (or use segments)
modestringrewrite (default) condenses sentences in place; delete removes whole low-value sentences and keeps every other word verbatim
output_pathstringWhere to write the result; defaults to beside the source
segmentsarrayShorten 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_secondsnumberHow 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.

ParameterTypeDescription
document_path *stringAbsolute path to the document
target_lang *stringTarget language: zh, en, zh-tw, ja, ko, es, fr, pt, ru, de, pl or it
output_pathstringWhere to write the result; defaults to beside the source
source_langstringSource language, or auto to detect it (the default)
wait_secondsnumberHow 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.

ParameterTypeDescription
report_path *stringAbsolute path to the report PDF
include_segmentsbooleanInclude the flagged passage texts, which can be long (default false)
typestringWhich 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.

ParameterTypeDescription
job_id *stringThe job id an earlier call returned
document_pathstringThe original document, so a downloaded result can be named after it
output_pathstringWhere 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.

ParameterTypeDescription
limitintegerHow many to return (default 20)
offsetintegerHow many to skip, for the next page
typestringOnly 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.

ParameterTypeDescription
job_id *stringThe 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.

ParameterTypeDescription
job_id *stringThe failed or cancelled job to run again
document_pathstringThe original document, so the result is saved beside it and named after it
output_pathstringWhere to write the result
wait_secondsnumberHow 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.

ParameterTypeDescription
request *stringWhat the user wants done, in their words: the goal, the deliverables, any constraints
autonomyobjectLet it run unattended within a credit cap the user set; omit to stop for the user at every step
filesarrayAbsolute paths of input files (data, drafts, papers)
langstringThe language to write in, e.g. en or zh
titlestringA 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.

ParameterTypeDescription
project_id *stringThe 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.

ParameterTypeDescription
project_id *stringThe project id
after_seqintegerThe after_seq the last call returned (start_project, message_project, act_on_project or this)
wait_secondsnumberHow 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.

ParameterTypeDescription
action *stringOne of the allowed_actions get_project listed
project_id *stringThe project id
answersobjectanswer: question id -> answer
max_creditsintegerconfirm_plan, top_up, one_more_round: a higher credit cap for the whole project, agreed by the user
pause_idstringtop_up: the pause it continues
spec_versionintegerconfirm_plan: the plan version shown to the user
textstringfeedback: what to change
valuestringfeedback: the verdict
versionintegerfeedback: 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.

ParameterTypeDescription
project_id *stringThe project id
text *stringThe message, in the user's words
deliver_nowbooleanInterrupt the step the agents are on so they read it at once (urgent corrections only)
filesarrayAbsolute 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.

ParameterTypeDescription
directory *stringAbsolute path of the directory to save the zip in
project_id *stringThe project id
versionintegerThe 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.

ParameterTypeDescription
project_id *stringThe project id
title *stringThe 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.

ParameterTypeDescription
limitintegerHow many to return (default 20)
offsetintegerHow 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.

ParameterTypeDescription
project_id *stringThe project id