Skip to main content
Glama

Borrar elementos en bloque

delete_items
Destructive

Deletes up to 200 items of one type per call, including lessons, modules, themes, questions, flashcards, games and criteria. Shows what will be removed and asks confirmation; deletion is irreversible.

Instructions

Borra hasta 200 elementos del mismo tipo en una llamada. kind: exam_question, quiz_question, self_check, flashcard, scenario_criterion, game, lesson (con su quiz, tarjetas y juegos), module (con sus lecciones y evaluaciones) o theme. Irreversible: muestra qué se borra y pide confirmación.

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": {
      "kind": "<kind>",
      "ids": "<ids>",
      "confirm": "<confirm>"
    },
    "name": "delete_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
kindYes
confirmYestrue solo tras confirmarlo la persona
classroom_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds real value on top: a 200-item cap, cascade semantics (deleting a lesson removes its quiz, cards and games; a module removes its lessons and evaluations), and an irreversible/confirm-first flow. What is missing is the failure mode for partial or invalid ids.

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 operation and the batch limit, then the kind list, then the irreversibility warning. Dense but every clause carries information; the nested parentheticals for lesson and module are the only slightly heavy part.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema tool with four parameters, the description covers the danger profile and cascade behavior well. It still leaves classroom_id unexplained and says nothing about the response (e.g. which ids were deleted versus skipped), which matters given partial-failure risk on bulk deletes.

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 only 25%, and the description compensates well for kind (spelling out cascade effects the enum cannot express) and for confirm via the confirmation flow, plus the 200-item cap on ids. However, classroom_id is never mentioned in either schema or description, leaving one of four parameters entirely opaque.

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?

States a specific verb and resource with scope: deletes up to 200 items of a single kind in one call, and enumerates the nine valid kinds. It does not, however, distinguish itself from the sibling delete_classroom_items, which an agent could easily confuse with this tool.

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?

Usage is implied through the kind enumeration and the batching limit (all items must share one type), but there is no explicit when-to-use versus delete_classroom_items or edit_items, and no stated preconditions. The agent must infer the correct sibling choice.

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

Deploy Server

Other Tools