Skip to main content
Glama

Borrar elementos del aula

delete_classroom_items
Destructive

Deletes multiple classroom items of one type, shows exactly what will be removed, and requires confirmation before an irreversible bulk deletion.

Instructions

Borra varios elementos del aula del mismo tipo: task (y sus entregas), meeting, resource, survey (y sus votos), period, grade_item (y sus notas), team, invite, forum_topic (y sus respuestas) o forum_reply. 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_classroom_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.7/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true; the description adds genuinely new behavioral context: the operation is irreversible, it cascades to dependent records (entregas, votos, notas, respuestas), and it surfaces what will be deleted before asking for confirmation. It stops short of stating permission requirements or whether partial failures can occur.

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 sentences, correctly front-loaded with what gets deleted, followed by the irreversibility/confirmation warning. The long kind enumeration is dense but earns its place because each entry carries cascade information, not just a type name.

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 destructive bulk tool with minimal annotations (only destructiveHint) and no output schema, the description covers the essentials an agent needs: irreversibility, cascading effects, and the confirmation gate. Remaining gaps are scale/error semantics — no batch-size limit and no mention of what happens if some ids are invalid.

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 description coverage is only 25%, so the description must compensate. It does add real meaning for `kind` by explaining the cascade consequences of each enum value (e.g. deleting a task also deletes its entregas) and reinforces `confirm` as a post-human-confirmation flag, but `classroom_id` is never explained and `ids` only implicitly covered by 'varios elementos'.

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 (borra) and resource (elementos del aula) and scopes it to bulk deletion of a single type ('varios elementos del aula del mismo tipo'), then enumerates all valid kinds with their cascade side effects. It is clearly distinguishable from generic listing/editing tools, though it never names the sibling delete_items, which an agent would need to compare against.

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 rather than stated: the 'mismo tipo' constraint and the per-kind cascade list tell the agent this is for homogeneous bulk deletion, and the confirmation requirement signals the destructive flow. There is no explicit when-to-use vs delete_items, no prerequisites (permissions, item ownership), and no guidance on what to do when items span multiple kinds.

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