Skip to main content
Glama

Bulk delete jobs

bulk_delete_jobs
DestructiveIdempotent

Permanently delete many jobs at once. Cannot be undone — confirm with the user first. For a single job use delete_job. A member deletes only jobs they added or that were created automatically from email; an admin may delete any. Ids outside those rules or the caller's profiles are skipped silently rather than failing the call. Returns {count} of jobs actually deleted.

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": {
      "ids": "<ids>"
    },
    "name": "bulk_delete_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesIds of the jobs to delete (UUIDs from list_jobs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds irreversibility, the required confirmation, the permission tiers, and the crucial fact that out-of-scope ids are skipped silently instead of erroring. What's missing is any hint about partial-failure reporting beyond the count, and how it relates to idempotent semantics. That extra context earns a high score.

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?

Four compact sentences, front-loaded with the destructive action and the warning, then the alternative, then the eligibility rules, then the return value. No sentence is filler.

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 one-parameter destructive bulk tool with no output schema, the description covers permanence, confirmation, permission scoping, silent skipping, and the {count} return value. Nothing an agent needs to invoke it safely 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%, so the single 'ids' array is already fully documented, including the UUID format and the list_jobs origin. The description adds only indirect meaning (that some ids may be silently skipped) rather than syntax or constraints. Baseline 3 applies.

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 ('Permanently delete') plus resource ('many jobs at once') and scope ('many'), and explicitly names the sibling delete_job as the single-item alternative. The agent can distinguish it from the bulk_update/duplicate siblings without opening a 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?

Explicitly routes the single-item case to delete_job and prescribes a user confirmation step before calling. It also states the permission model (member vs admin) that determines which ids are eligible, which is exactly the pre-call guidance an agent needs.

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