Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PRIVATOOLS_API_KEYNoOptional PrivaTools API key sent in the X-API-Key header when set.
PRIVATOOLS_API_URLNoBase URL for the PrivaTools v1 API. Defaults to https://api.privatools.me/api/v1.
PRIVATOOLS_MCP_DEBUGNoSet to 1 to log diagnostics to stderr.
PRIVATOOLS_API_TIMEOUT_MSNoPer-request HTTP timeout in milliseconds. Defaults to 120000.
PRIVATOOLS_MCP_ALLOWED_DIRSNoOptional path-delimiter-separated directory allowlist for reads and writes.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Stateless MCP server for the PrivaTools file processing API. Use privatools_list_tools and privatools_describe_tool to discover operations, upload field names, and options. Use privatools_run_tool for synchronous operations (writes binary outputs to disk without overwriting unless overwrite: true, or returns JSON directly). Use privatools_submit_job to submit asynchronous background jobs, privatools_job_status to poll status or download artifacts, and privatools_delete_job to cancel a running job or delete a server-side artifact immediately.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
privatools_list_toolsA

Search and filter PrivaTools /api/v1 operations by keyword query, category, or mode (sync/async). Uses the live /api/v1 catalog (or OpenAPI spec) with an automatic offline fallback.

privatools_describe_toolA

Inspect the exact endpoint, HTTP method, accepted file upload fields, form/query parameters, constraints, cost, async support, and response media types for a PrivaTools operation slug or alias.

privatools_run_toolA

Execute any synchronous PrivaTools /api/v1/ file or document tool against local file(s) and parameters. Binary outputs are written directly to disk (without overwriting unless overwrite: true) and concise metadata + X-* headers are returned; JSON-returning tools return their JSON response directly. See the full OpenAPI specification at https://api.privatools.me/api/v1/openapi.json and MCP documentation at https://privatools.me/mcp.

privatools_submit_jobA

Submit an asynchronous background job (POST /api/v1/jobs) for supported heavy/large operations such as 'merge', 'compress', 'grayscale', or 'pdf-to-text'. Completed job artifacts expire automatically within one hour and can be removed early with privatools_delete_job.

privatools_job_statusA

Poll an asynchronous job's status (action: 'status') or download its completed artifact to output_path (action: 'download'). Read-only on the server — use privatools_delete_job to cancel or delete a job.

privatools_delete_jobA

Permanently delete a completed PrivaTools asynchronous job's server-side artifact or cancel a queued/running job (DELETE /api/v1/jobs/{job_id}).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 6 tools

Disambiguation4/5

The three discovery/execution tools (list, describe, run) are clearly separated by purpose, and job tools cover submit/status/delete distinctly. Minor overlap exists between privatools_run_tool and privatools_submit_job for the same operations (sync vs. async), and privatools_job_status bundles two actions (status poll and artifact download), but descriptions make the boundaries readable.

Naming Consistency5/5

Every tool uses the same privatools_<verb>_<noun> snake_case convention (list_tools, describe_tool, run_tool, submit_job, delete_job, job_status). The pattern is predictable and the shared prefix groups the server's tools cleanly.

Tool Count5/5

Six tools is well-scoped for an API-proxy server: three for discovery/inspection/execution and three for async job lifecycle. No tool feels redundant or missing from the count perspective.

Completeness4/5

The surface covers discovery, inspection, synchronous execution, and the full async job lifecycle (submit, poll/download, cancel/delete). The only notable gap is a list-jobs operation to enumerate outstanding jobs without a known job_id, which is a minor workaround rather than a dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues