Skip to main content
Glama

Delete PrivaTools Async Job

privatools_delete_job
DestructiveIdempotent

Permanently delete a completed asynchronous job's server-side artifact or cancel a queued/running job by job ID, freeing stored results and stopping active work.

Instructions

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

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": {
      "job_id": "<job_id>"
    },
    "name": "privatools_delete_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID returned by privatools_submit_job to cancel or delete.

Output Schema

NameRequiredDescriptionDefault
okYes
headersYesRelevant X-* and HTTP response headers returned by PrivaTools.
deletionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint, idempotentHint, and readOnlyHint=false, so the safety bar is largely met. The description adds meaningful context beyond them: the operation is permanent, it targets a server-side artifact, and the effect differs by job state (delete vs cancel). What happens to jobs in other states is not covered.

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?

One tightly written sentence with the destructive behavior and both state branches front-loaded, plus the endpoint for reference. No redundant or filler wording.

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

Completeness4/5

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

With an output schema present, annotations covering the safety profile, and a fully documented single parameter, the description covers nearly everything an agent needs to call it correctly. The only gap is the undefined behavior for jobs in other terminal states such as failed.

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% and the single job_id parameter already documents that it comes from privatools_submit_job. The description only echoes the job_id in the endpoint path and adds no format or sourcing detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource ("Permanently delete a completed PrivaTools asynchronous job's server-side artifact or cancel a queued/running job") and even names the HTTP route. It does not explicitly distinguish itself from siblings such as privatools_job_status or privatools_submit_job, so it stops short of a 5.

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?

The state-based condition is clear: for completed jobs it deletes the artifact, for queued/running jobs it cancels. That gives an agent actionable context for when each behavior fires. It lacks an explicit alternative or precondition workflow (e.g., check privatools_job_status first), which keeps it from a 5.

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