Skip to main content
Glama

Delete job

delete_job
DestructiveIdempotent

Permanently delete one job. This cannot be undone — confirm with the user first. For several jobs use bulk_delete_jobs; to keep a job but take it off the active pipeline, move_job to ARCHIVED instead. Only whoever added the job, or an admin, may delete it — a job created automatically from email is anyone's on the profile (403 otherwise); a missing job is 404. Returns {deleted: 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": {
      "id": "<id>"
    },
    "name": "delete_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesJob id (UUID from list_jobs or get_job).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, but the description goes further: irreversibility plus a confirm-with-user instruction, an ownership/admin permission model, the special rule for email-created jobs, and concrete 403/404 failure semantics. That is real behavioral context an agent cannot get from the structured fields.

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?

Front-loaded with the destructive action and the confirmation requirement, then alternatives, then permissions, then the return shape. Dense punctuation but zero filler sentences; each clause carries distinct information.

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 a single-parameter destructive tool with no output schema, the definition covers purpose, safety warning, alternatives, authorization, error codes, and the return value ({deleted: id}). Nothing an agent needs in order to call it correctly 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 coverage is 100% and the id property already documents that the UUID comes from list_jobs or get_job, so the description adds no parameter meaning beyond the schema. The evaluation criteria place this at the baseline of 3.

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 ("Permanently delete one job") and immediately scopes it to a single record, distinguishing it from bulk_delete_jobs and move_job by name. An agent can pick this tool without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules: several jobs -> bulk_delete_jobs, keep-but-deactivate -> move_job to ARCHIVED, and a required confirmation step before invoking. The when-not-to-use cases are stated, not implied.

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.

Resources