Skip to main content
Glama

Retirar a un docente del aula

remove_staff
Destructive

Remove a teacher or administrator from a classroom team with confirmation; their account and courses stay intact.

Instructions

Solo administrador del aula. Retira a un profesor (o, solo quien creó el aula, a un administrador) del equipo. No borra su cuenta ni sus cursos. 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": {
      "user_id": "<user_id>",
      "confirm": "<confirm>"
    },
    "name": "remove_staff"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYestrue solo tras confirmarlo la persona
user_idYes
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?

The annotations only flag destructiveHint=true, so the description carries most of the load; it adds that the account and the user's courses are preserved and that a confirmation step is required. That is genuinely useful scoping for a destructive action. It still doesn't say whether the removal is reversible or how to re-add someone, which would round out the behavior.

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?

Four short sentences, with the permission gate front-loaded before the action and the side-effect clarification. The closing 'Pide confirmación' partly restates the required confirm parameter, but it still signals a two-step flow, so the cost is small.

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?

With no output schema, three parameters, and a destructive hint as the only annotation, the description covers who may act, what is removed, what is preserved, and that confirmation is needed. Missing only return/error behavior and the distinction from remove_member, both minor against this complexity level.

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 33%: only confirm is documented, and user_id and classroom_id have no description. The description partly compensates by explaining that confirmation is required ('Pide confirmación') and that eligibility depends on the caller's role relative to the classroom. It adds nothing about user_id format or whether classroom_id is optional or inferred.

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 states a specific verb and resource: it removes a teacher (or, for the classroom creator only, an administrator) from the team. It also distinguishes the action from account deletion, which prevents a costly misread. The only gap is that the sibling remove_member is never mentioned, so the agent gets no explicit routing between two similarly named removal tools.

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 gives real authorization context: classroom administrator by default, and only the classroom creator may remove an administrator. It does not say when this tool should be chosen over remove_member, nor what happens on failure, so usage remains implied rather than explicit.

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