descriptron-mcp
v0.1.0The Descriptron programs as tools for Claude and any other MCP client
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_programs
List the Descriptron programs that can be run. filter: substring to match in the name or summary (case-insensitive). package: "core" (CPU analysis), "vision" (GPU: detectors, SAM2-PAL, DINOLand, Florence-2 measurements) or "extra" (directories from DESCRIPTRON_MCP_TOOL_DIRS). include_libraries: also list helper modules that are imported, not run.
| Parameter | Type | Description |
|---|---|---|
filter | string | |
include_libraries | boolean | |
package | string |
program_help
Show a program's command-line options (its --help) and the top of its documentation. Always read this before run_program or start_job: every option is passed as a command-line argument, exactly as in a shell.
| Parameter | Type | Description |
|---|---|---|
name * | string |
run_program
Run a Descriptron program to completion and return the end of its output. name: program name from list_programs (a unique prefix is enough). args: command-line arguments as a list, e.g. ["--matrix_dir", "/data/m", "--output_dir", "/data/key"]. No shell is involved, so do not quote or escape. workdir: directory the program runs in (default: DESCRIPTRON_MCP_WORKDIR or the server's cwd). timeout_s: stop after this many seconds. Anything that may take longer than a few minutes should be started with start_job instead. Returns the exit code, the last lines of st…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
args | ||
tail_lines | integer | |
timeout_s | integer | |
workdir |
start_job
Start a long program in the background and return a job id at once. Use for run_full_pipeline_v2, sam2_pal_batch_v21, dinov3_landmark_transfer_v52, detector training and anything else that runs for more than a few minutes. The job keeps running if the client disconnects. Poll with job_status.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
args | ||
workdir |
job_status
State of a background job (running / finished / failed / cancelled / lost), the end of its log, and, once it has ended, the files it wrote.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
tail_lines | integer |
job_log
The last lines of a background job's combined output.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
tail_lines | integer |
cancel_job
Stop a running background job (and every process it started).
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
list_jobs
Background jobs started by this server, newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
list_files
List files in a directory, optionally recursively, filtered by a glob pattern like '*.csv'.
| Parameter | Type | Description |
|---|---|---|
directory * | string | |
max_items | integer | |
pattern | string | |
recursive | boolean |
read_text
Read a text file (reports, logs, data sheets, JSON, YAML taxon profiles), in chunks.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
max_chars | integer | |
start_char | integer |
read_table
Preview a CSV/TSV results table. columns: keep only these columns. where: keep rows whose column equals a value exactly, e.g. {"species": "acok"}. Reports the total and matching row counts.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
columns | ||
max_rows | integer | |
where |
coco_summary
Summarise a COCO annotation file: images, categories, annotations per category, polygon/RLE/keypoint counts, unannotated images and images with zero width/height (which silently rescale every coordinate downstream).
| Parameter | Type | Description |
|---|---|---|
path * | string |
view_image
Look at an image: a specimen photograph, micro-CT slice, mask, plate or figure. Any format Pillow reads (TIFF incl. 16-bit, PNG, JPEG). Downscaled so the longest side is at most max_side pixels; the original size is reported so coordinates can be scaled back.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
max_side | integer |
species_evidence
The measured evidence for one species: per feature n, min, max, mean and unit, with the range across all species beside it. matrix_dir: the Tier-1 matrix directory (output of biorag_key_feature_filter_v2, containing species_feature_summary.csv). species: the species code used in the matrix. tier: "key" or "description" to restrict; structure: one category, e.g. "paramere". Write treatments from these numbers only.
| Parameter | Type | Description |
|---|---|---|
matrix_dir * | string | |
species * | string | |
max_rows | integer | |
structure | string | |
tier | string |
audit_treatment
Independently audit a species treatment against the data (biorag_confabulation_checker_v2). The checker recomputes every species' n/min/max/mean from the per-specimen matrix, attributes each number to ONE feature from the words around it, re-derives every comparison, and checks Remarks against their sources. A correct number printed next to the wrong structure is an error. species: species code. treatment: {"diagnosis": str, "description": [{"section": str, "text": str}, ...], "sexual_dimorphism": str, "remarks": str, "citations": [{"value": "0.240–0.242…
| Parameter | Type | Description |
|---|---|---|
matrix_dir * | string | |
species * | string | |
taxon_profile * | string | |
treatment * | object | |
data_sheet | string | |
key_tree | string | |
localities | string |