Skip to main content
Glama

Delete items

delete_items
Destructive

Soft-deletes characters, looks, locations, props, episodes or scenes of one drama. Deleted items disappear from the drama and can be restored for 30 days with revert_revisions. Warns when a deleted item is still used by scenes. Call it only when the user has just asked to delete these exact items; never to tidy up, make room, or carry out an earlier request again. Each item names what you mean in expect, checked against the id: if they disagree nothing is deleted. Report what was deleted from the result's was, not from the request.

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": {
      "drama_id": "<drama_id>",
      "items": "<items>"
    },
    "name": "delete_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesWhat to delete: each item has its type (character, look, location, prop, episode, scene) and id. Deletes are soft and can be reverted.
drama_idYesThe drama id (drm_…), from list_dramas or create_drama.

Output Schema

NameRequiredDescriptionDefault
itemsYes
deletedYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Goes well past the annotations: it discloses that deletes are soft with a 30-day restore window, that a warning fires when a deleted item is still referenced by scenes, and that an `expect`/id mismatch aborts the whole operation. This is real behavioral context an agent cannot infer from destructiveHint=true and idempotentHint=false 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?

Purpose and scope come first, followed by recovery/warning behavior, then the strict invocation condition, then per-parameter semantics. Every sentence carries a distinct, non-redundant constraint; nothing is padding.

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, non-idempotent batch delete with an output schema, the description covers the mutation semantics, reversibility, precondition check, and a reporting instruction. Return-value shape is handled by the output schema, so nothing material is missing.

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 schema already documents drama_id, items, type, id, and expect. The description still adds meaning beyond it by explaining that `expect` is validated against the id and that a disagreement causes a no-op, plus instructing the agent to report from the result's `was` rather than the request.

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 ("soft-deletes") plus an explicit resource list (characters, looks, locations, props, episodes, scenes) scoped to "one drama". It also names the sibling that undoes this operation (revert_revisions), so an agent can place it precisely among the delete_* tools.

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?

Gives both a positive trigger ("only when the user has just asked to delete these exact items") and explicit exclusions ("never to tidy up, make room, or carry out an earlier request again"). The recovery path via revert_revisions is named as the 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.