Skip to main content
Glama

Delete image

delete_image
DestructiveIdempotent

Delete an image from BasePic. Needs the delete_key returned when it was uploaded or created by edit_image. Its links stop working.

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

Input Schema

NameRequiredDescriptionDefault
idYesImage id returned by upload_image or edit_image (e.g. "vqSvesFU")
delete_keyYesThe delete_key returned for this image by upload_image, edit_image or POST /api/v1/images

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / delete_key / description
      Added value: +"The delete_key returned for this image by upload_image, edit_image or POST /api/v1/images"
  2. First observed

TDQS

A3.8/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, so the safety profile is largely covered. The description nonetheless adds real consequences beyond that: the operation is irreversible in effect because "Its links stop working," and it requires a credential (delete_key) that cannot be recovered from the image id alone.

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 sentences: what it does, what credential it needs, and the side effect. Nothing is repeated and the destructive consequence is stated up front with no filler.

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 full schema coverage and no output schema, the description covers the credential prerequisite and the user-visible side effect. Only the failure mode (what happens with a wrong or stale delete_key) is left unstated.

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 both id and delete_key are already documented with examples in the input schema, including where the delete_key originates. The description's mention of the delete_key source restates the schema rather than adding format, scope, or failure semantics, making 3 the correct baseline.

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 names a specific verb and resource ("Delete an image from BasePic") and the destructive verb cleanly separates it from get_image, edit_image and upload_image. It stops short of explicitly routing the agent away from a sibling, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

The description supplies a hard precondition — the delete_key from upload_image or edit_image — which implies you can only delete images you created. However it never states when to prefer deletion over alternatives, nor any when-not conditions such as ownership or retry situations.

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