Skip to main content
Glama

Permisos y cursos de un profesor

update_staff

Updates a classroom teacher's permissions and editable courses, replacing existing lists; use it to adjust staff access and editing rights.

Instructions

Solo administrador del aula. Cambia los permisos (accesos, activacion, alumnos, soporte, contenido, herramientas, comercio) y/o los cursos que puede editar un profesor del aula. permissions reemplaza la lista completa; course_ids también ([] quita todos). Confirma antes.

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>"
    },
    "name": "update_staff"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
course_idsNo
permissionsNo
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?

The annotation set only carries destructiveHint=false, so the description has to do the heavy lifting, and it does: it discloses that permissions replaces the entire list, that course_ids also replaces, and that an empty array removes all courses. That replace-not-merge semantic is exactly the kind of context annotations cannot express. It stops short of saying whether an omitted field leaves the existing value untouched, and "Confirma antes" does not say what the confirmation covers.

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?

Three short sentences, front-loaded with the access restriction and the destructive replacement rule before the confirmation note; every sentence carries information. The closing "Confirma antes" is slightly under-specified about what is being confirmed, which is the only loose thread.

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 four-parameter mutation tool with no output schema and only a single non-destructive annotation, the definition covers the riskiest behavior (full-list replacement and emptying) well. It is still incomplete on classroom_id scoping, on the no-op semantics of omitted fields, and on the expected result of the call, which the agent would otherwise have to guess.

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 0%, so the description must compensate for four undocumented parameters. It covers two of them well: the seven permission values are enumerated in prose and the replacement semantics of permissions/course_ids are explained. user_id is only implied by "un profesor del aula" and classroom_id is never mentioned at all, leaving a real gap.

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?

"Cambia los permisos ... y/o los cursos que puede editar un profesor del aula" names a specific verb plus the exact resource being modified, so an agent can distinguish this from add_staff / remove_staff / list_staff. The resource is narrow enough (a teacher's permissions and editable courses) that it does not overlap with the update_classroom / update_course siblings, though no sibling is named explicitly.

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?

"Solo administrador del aula" gives a clear precondition (classroom-admin role) and "Confirma antes" instructs confirmation prior to execution. What is missing is any explicit routing: nothing says when to use this versus add_staff/remove_staff, nor what happens when only one of the two optional fields is supplied. Usage is implied rather than spelled out.

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