Skip to main content
Glama

PrivaTools

Submit Async PrivaTools Job

privatools_submit_job
Idempotent

Submit an asynchronous background job for supported heavy operations ('merge', 'compress', 'grayscale', 'pdf-to-text'). Works anonymously out of the box (returning an unguessable capability job_id, subject to per-IP concurrency limits and 1-hour artifact retention) or with an optional X-API-Key / Authorization: Bearer header for key-scoped /api/v1 quotas. Accepts https:// URLs or base64 PDF inputs. Poll progress with privatools_job_status and clean up with privatools_delete_job. Full OpenAPI documentation: https://api.privatools.me/api/v1/openapi.json

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>"
    },
    "name": "privatools_submit_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoMultiple PDF input files (url or base64) in order.
optionsNoOptional operation-specific options object (e.g. {'level': 'recommended'} for compress).
file_urlNoSingle PDF input file as a public https:// URL.
filenameNoOptional PDF filename (e.g. 'input.pdf').
file_urlsNoMultiple PDF input files as public https:// URLs, in order.
operationYesAsync operation slug (e.g. 'merge', 'compress', 'grayscale', 'pdf-to-text').
file_base64NoSingle PDF input file encoded as base64 (max 25 MiB decoded).
idempotency_keyNoOptional Idempotency-Key (1-128 visible ASCII chars) for safe retries. Auto-generated when omitted.

Output Schema

NameRequiredDescriptionDefault
okYes
jobYes
headersYes
locationYes
idempotency_keyYes
idempotency_replayedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations by disclosing the anonymous-first auth model, unguessable capability job_id semantics, per-IP concurrency limits, 1-hour artifact retention, and the API-key path for higher /api/v1 quotas. These are exactly the operational facts an agent needs before firing off a job, and nothing here conflicts with readOnlyHint=false, openWorldHint=true, idempotentHint=true, or destructiveHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then auth/quota behavior, then lifecycle pointers, then the doc URL — a sensible ordering. The parenthetical clauses are dense but each carries real information; only the OpenAPI link is arguably filler given the schema is fully documented.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with nested objects, the description covers auth modes, retention, limits, input formats, and the job lifecycle. Return-value explanation is unnecessary since an output schema exists, so nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds the useful framing that inputs are either https:// URLs or base64 PDFs, but it does not clarify the relationship between the redundant single-vs-array input fields (file_url vs file_urls vs files) or what the free-form 'options' object accepts per operation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Submit an asynchronous background job') and enumerates the supported operations ('merge', 'compress', 'grayscale', 'pdf-to-text'). It is immediately distinguishable from siblings like privatools_job_status and privatools_delete_job, which are named in the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent downstream ('Poll progress with privatools_job_status and clean up with privatools_delete_job'), which is clear lifecycle guidance. The phrase 'for supported heavy operations' implies this is for long-running work versus a synchronous alternative, but it never explicitly contrasts with privatools_run_tool or states when-not to use async submission.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.