Skip to main content
Glama

delete_image

DestructiveIdempotent

Permanently deletes an uploaded image after explicit user approval, while completed models remain. The action is non-recoverable.

Instructions

Permanently delete an uploaded image after explicit user approval. Completed models remain. Non-recoverable.

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>",
      "confirm": "<confirm>"
    },
    "name": "delete_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint and idempotentHint, so the safety profile is partly covered. The description adds genuinely new behavioral context: the action is irreversible ('Non-recoverable'), requires human approval, and leaves completed models intact. It does not say what happens on a missing or invalid id, but the core risk profile is well disclosed.

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 short, front-loaded sentences with no filler; the permanence warning and the scope constraint each earn their place. The most important fact, irreversible deletion, leads.

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?

For a two-parameter destructive tool with no output schema, the description covers irreversibility, the approval gate, and the scope of what survives. The remaining gap is parameter-level guidance, which matters for a destructive call but is partially mitigated by the schema's strict const and pattern constraints.

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

Parameters2/5

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

Schema description coverage is 0% for both required parameters, so the description carries the burden of explaining them and does not: neither the 'id' nor the 'confirm' guard is mentioned. The schema's const 'DELETE' and id pattern are largely self-explanatory, but the definition adds no meaning about which identifier is expected or how the confirmation interacts with the approval requirement.

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 gives a specific verb and resource ('Permanently delete an uploaded image') and scopes it by noting 'Completed models remain,' which separates its effect from the model-deletion sibling. It stops short of naming an alternative tool explicitly, so an agent must infer routing from the resource noun alone.

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?

'After explicit user approval' is a concrete precondition for invocation, and 'Completed models remain' clarifies the boundary of the operation. There is no explicit when-not guidance or named alternative for deleting models or other assets, so the agent gets clear context but no exclusions.

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