Skip to main content
Glama

delete_generations

DestructiveIdempotent

Permanently delete one or more of your generations before their download window closes: each one's download URL stops working, and its images, its prompt.json and the full-resolution source kept for edit_set and export_set are removed from Logospell's servers. Call it only when the user asks to delete generations: it cannot be undone, the credits they cost are not refunded, and a deleted generation can no longer be edited or exported. Only the API key that made a generation can delete it. A set that grew over several calls has one id per call (list_recent_generations and get_generations show them); pass them all to delete the whole set in one call. Ids that are not found are reported without failing the call, which fails only when nothing was deleted. Up to 50 ids per call. Without this, every generation is removed automatically when its download window closes. Costs no credits.

Input Schema

NameRequiredDescriptionDefault
generationsYesThe ids of the generations to delete: the random segment of each one's download URL, as list_recent_generations returns it. A set that grew over several calls has one id per call; pass them all to delete the whole set.

Output Schema

NameRequiredDescriptionDefault
deletedYesThe ids that were deleted.
notFoundNoIds that were not found for this API key or whose download window had closed; nothing was deleted for them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive/idempotent/not-readOnly, but the description adds substantial context: what is destroyed (download URL, images, prompt.json, full-resolution source for edit_set/export_set), that it cannot be undone, that credits are not refunded, the API-key ownership requirement, the 50-id cap, the not-found-ids-do-not-fail semantics, and that it costs no credits.

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

Conciseness4/5

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

Front-loaded with the action and its permanence, then details; every clause carries new information. It is a single dense run-on paragraph, which makes it harder to scan than a segmented form, but there is little wasted text.

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 destructive one-parameter tool with an output schema already describing returns, the description covers everything an agent needs: irreversible effects, auth scoping, batching limits, partial-failure behavior, and cost.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so the baseline is 3, and the description goes beyond it by defining the id format ('the random segment of each one's download URL'), explaining the multi-call set case, and stating the 50-ids-per-call limit that the schema does not encode.

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 or more of your generations') plus the scope constraint (before the download window closes). It is clearly distinguishable from delete_references and from the automatic expiry mentioned later.

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 says when to call it ('only when the user asks to delete generations') and supplies the implicit alternative — if you do nothing, generations are removed automatically when the download window closes. It also names list_recent_generations and get_generations as the way to obtain the ids.

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