Skip to main content
Glama

Imagelato Image Processing

Delete a processed image batch

delete_batch
DestructiveIdempotent

Use this when the user wants to permanently delete one Imagelato processed-image batch and its associated files. Returns the deleted batch's id, slug and project. Its original, main output and every resized or converted file are erased and the batch.deleted webhook fires, with no undo. Not for removing a resize preset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdYesExact batch id to permanently delete; obtain it

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / batchId / description
      Previous value: -"Exact batch id to permanently delete; obtain it from list_batches or get_batch"New value: +"Exact batch id to permanently delete; obtain it"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantial detail beyond them: the original, main output, and every resized/converted file are erased, the batch.deleted webhook fires, and there is no undo. It also states the return payload (id, slug, project), which is exactly the kind of operational context an agent needs before an irreversible call.

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?

Three tight sentences with zero filler: trigger first, then consequences, then the exclusion. The irreversible nature is front-loaded and nothing is repeated from the schema or annotations.

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, the description covers trigger, blast radius, side effects (webhook), reversibility, and return shape. Even though an output schema exists, the extra mention of the returned fields is harmless, and nothing an agent needs to call this 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?

Only one parameter exists and schema description coverage is 100%, so the schema already documents batchId fully. The description adds the notion of operating on exactly one batch but no format, sourcing, or syntax detail beyond what the schema provides, which is the expected baseline here.

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) and resource (one Imagelato processed-image batch and its associated files), and explicitly carves out what it is not for ('Not for removing a resize preset'). This lets an agent distinguish it from get_batch and list_batches 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 Guidelines4/5

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

Opens with an explicit trigger ('Use this when the user wants to permanently delete...'), giving clear context for invocation. It also supplies a when-not clause about resize presets, though it names the excluded action rather than a sibling tool to use instead, so routing is slightly less complete than a fully explicit alternative.

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