Skip to main content
Glama

Añadir docente al equipo

add_staff

Adds a teacher to a classroom as a professor or administrator by email or user ID, with optional course and permission assignments.

Instructions

Solo administrador del aula. Añade a una persona docente (por correo o user_id) como profesor o administrador del aula. Nombrar administradores es solo de quien creó el aula (máximo 3 contando al creador). Opcional: permisos y cursos que podrá editar. Confirma antes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_staff"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoprofesor
emailNo
user_idNo
course_idsNoSolo para profesores: cursos que podrá editar
permissionsNoSolo para profesores: permisos que tendrá
classroom_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare destructiveHint=false, so the description carries most of the burden and does add value: authorization tiers, the administrator cap, the confirmation requirement, and the fact that permissions/courses are optional and professor-scoped. It does not say what happens if the email is unknown or whether an existing member is upgraded.

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?

Short, front-loaded sentences: authorization constraint first, then action, then limits, then optional fields, then the confirmation rule. No wasted wording, though the fragments are terse enough that the email/user_id alternation is only implied by the parenthetical.

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?

No output schema exists, so the description must stand alone, and it covers authorization, limits, optionality and the confirm step for a 6-parameter mutation. Gaps remain on role defaulting and classroom_id scoping, but nothing an agent needs to attempt the call is missing.

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 33%, yet the description adds genuine meaning for email vs user_id as alternative identifiers and clarifies that permissions and course_ids are optional and apply to profesores. It says nothing about the role default ('profesor') or what classroom_id must reference, so half the parameters remain undocumented.

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: 'Añade a una persona docente ... como profesor o administrador del aula', with the two intake mechanisms (correo / user_id). It is clearly distinct from list_staff, remove_staff and update_staff, though it never names a sibling explicitly.

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?

Gives real preconditions: only a classroom admin may call it, and only the classroom creator may appoint administradores, with a hard cap of 3 including the creator. It also instructs 'Confirma antes', i.e. confirm before executing. No explicit sibling routing, but the when/when-not conditions are concrete.

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