Skip to main content
Glama

Undo a drop

undo_drop
Destructive

Take back an add_images drop: the images it added leave their collections, wherever they were moved since, and collections it started and left empty are deleted. An image it took out that no collection or pin holds is deleted after a day; send it again to sort it.

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": {
      "drop_id": "<drop_id>"
    },
    "name": "undo_drop"
  }
}

Input Schema

NameRequiredDescriptionDefault
drop_idYesdrop_id from add_images' answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes well beyond that by disclosing exact effects: images are removed from collections even after being moved, empty auto-created collections are deleted, and an orphaned image survives one day unless re-sent. That is precisely the side-effect detail an agent needs before invoking a destructive operation.

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?

Two dense sentences with the core action front-loaded and side effects following. The closing clause 'send it again to sort it' is slightly compressed and could be misread, costing a little clarity.

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?

Covers the undo semantics, collection cleanup, and the delayed-deletion edge case, which is ample for a one-parameter tool. It stops short of describing what a successful call reports back, and there is no output schema to fill that gap.

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% and the single drop_id parameter is already documented as coming from add_images' answer, so the description adds no parameter-specific meaning. Baseline 3 is appropriate when the schema carries the full burden.

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 ('take back') applied to a specific resource ('an add_images drop'), immediately tying it to the sibling that created the drop. An agent can distinguish it from add_images without opening either 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?

The description makes clear this is the inverse of add_images and should be used against a drop produced by it. It gives no explicit when-not-to-use guidance or mention of irreversibility trade-offs that might make an agent hesitate.

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