Skip to main content
Glama

Submit Async PrivaTools Job

privatools_submit_job

Submit asynchronous background jobs for heavy PDF operations such as merge, compress, grayscale, and PDF-to-text; completed artifacts expire within one hour.

Instructions

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.

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
optionsNoOptional operation-specific options object (e.g. { level: 'recommended' } for compress).
file_pathNoLocal path to a single PDF input file.
operationYesAsync operation slug (e.g. 'merge', 'compress', 'grayscale', 'pdf-to-text').
file_pathsNoLocal paths to multiple PDF input files, in order.
idempotency_keyNoOptional Idempotency-Key (1–128 visible ASCII chars) for safe retries. Auto-generated when omitted.

Output Schema

NameRequiredDescriptionDefault
okYes
jobYesAsynchronous job record returned by /api/v1/jobs.
headersYesRelevant X-* and HTTP response headers returned by PrivaTools.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the bar is lower, yet the description still adds real operational context: completed artifacts expire within one hour and can be cleaned up early via privatools_delete_job. That lifetime detail is not derivable from annotations or schema and directly shapes how an agent must handle results; only the post-submission polling path is left unstated.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and endpoint, then the expiry constraint and its remedy. Every clause carries information and nothing is repeated from the schema unnecessarily.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the artifact-expiry caveat is a valuable addition. But for an async tool the description never tells the agent what to do after submitting — that a job handle is returned and progress is checked via privatools_job_status — which is the key missing piece in the workflow.

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 all five parameters including the nested options object are already documented in structured form. The description only echoes the operation slugs already listed in the schema and adds no format, ordering, or retry semantics beyond it, which makes the baseline 3 appropriate.

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

Purpose4/5

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

The description gives a specific verb plus resource ('Submit an asynchronous background job') and even names the HTTP endpoint, then enumerates concrete supported operations (merge, compress, grayscale, pdf-to-text). It stops short of distinguishing itself from privatools_run_tool, so an agent cannot tell from the text alone why it would pick the async path over the sync runner.

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

Usage Guidelines3/5

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

The phrase 'for supported heavy/large operations' implies the selection criterion (heavy work goes async), and it names privatools_delete_job for early cleanup. However, there is no explicit statement about when NOT to use this tool, and the obvious alternative (privatools_run_tool) is never addressed despite being the most likely confusion point.

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